freebsd-dev/usr.sbin/rpc.lockd
Caleb St. John badcfbacf3 rpc.lockd: Unconditionally close fds as daemon
When lockd is configured with a debug level of > 0 and foreground == 0,
the process is daemonized with a truth noclose argument to daemon().
This doesn't seem to be the desired behavior because that prevents
stdout and stderr from being closed, however, stdout and stderr aren't
used anywhere else. Furthermore, the man pages state that with a higher
debug level it will use the syslog facilities to do so.

Submitted by:	Caleb St. John
Discussed with:	rmacklem
MFC after:	3 days
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D29415
2021-03-26 14:05:33 -04:00
..
kern.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
lock_proc.c
lockd_lock.c userland: Fix several typos and minor errors 2017-12-27 03:23:01 +00:00
lockd_lock.h
lockd.c rpc.lockd: Unconditionally close fds as daemon 2021-03-26 14:05:33 -04:00
lockd.h
Makefile
Makefile.depend
rpc.lockd.8 Add and document options to allow rpc.lockd and rpc.statd to run in the 2019-11-22 16:53:30 +00:00
test.c