1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/sbin/dhclient
Ed Schouten 708925463e Run the privileged dhclient process in its own session.
In the MPSAFE TTY branch, I noticed PTY's to be leaked, because
dhclient's privileged process was run inside the session of, say, the
login shell. Make sure we call setsid() here.

Approved by:	philip (mentor), brooks
2008-06-30 20:23:49 +00:00
..
alloc.c
bpf.c When sending packets directly to the DHCP server, use a socket and send 2008-04-15 22:48:56 +00:00
clparse.c
conflex.c
convert.c
dhclient-script Use the -n flag to route(8) when calling "route get". Otherwise we hang 2008-06-09 20:03:35 +00:00
dhclient-script.8
dhclient.8
dhclient.c Run the privileged dhclient process in its own session. 2008-06-30 20:23:49 +00:00
dhclient.conf
dhclient.conf.5
dhclient.leases.5
dhcp-options.5
dhcp.h
dhcpd.h
dhctoken.h
dispatch.c Teach dhclient(8) about net80211 link (association) status. 2007-12-05 17:13:45 +00:00
errwarn.c
hash.c
inet.c
Makefile
options.c
packet.c
parse.c
privsep.c
privsep.h
tables.c
tree.c
tree.h