Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc/usr.sbin



>>Modified Files:
>>      basesrc/usr.sbin/faithd: faithd.c
>>      basesrc/usr.sbin/route6d: route6d.c
>>      basesrc/usr.sbin/rtadvd: rtadvd.c
>>      basesrc/usr.sbin/rtsold: rtsold.c
>>
>>Log Message:
>>daemon(3) has to be called before opening file descriptors.
>>noticed by markus@openbsd, sync with kame
>
>this has the "side effect" of requiring that absolute paths to config
>files be used at all times, since daemon(3) changes the working
>directory.  is this "acceptable" behavior?

        in general, yes, if you move daemon(3) carelessly you will get the
        sideeffect.
        for the above change, "file descriptors" are network sockets,
        and there shouldn't be a problem.

itojun



Home | Main Index | Thread Index | Old Index