/[base]
ViewVC logotype

Revision 325741


Jump to revision: Previous Next
Author: oshogbo
Date: Sun Nov 12 08:54:23 2017 UTC (6 years, 7 months ago)
Changed paths: 1
Log Message:
dhclient(8) should not close stdio using daemon(3) function.

dhclient(8) is chrooted so opening /dev/null always will fail.
In capability world this is also annoying because we getting error that
open(2) is not permitted in Capsicum. dhclient(8) is closing stdio by
precaching fd to /dev/null before chroot.
This is done few lines below daemon(3) function so let's not try to do that
in daemon(3) function.

Reviewed by:	cem@
Differential Revision:	https://reviews.freebsd.org/D12826


Changed paths

Path Details
Directoryhead/sbin/dhclient/dhclient.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27