Subject: Re: CVS commit: basesrc/usr.sbin
To: Andrew Brown <atatat@atatdot.net>
From: None <itojun@iijlab.net>
List: source-changes
Date: 01/11/2002 15:33:55
>>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