View | Details | Raw Unified | Return to bug 223327
Collapse All | Expand All

(-)/usr/src/sbin/dhclient/dhclient.c (+2 lines)
Lines 504-509 Link Here
504
	if (cap_rights_limit(routefd, &rights) < 0 && errno != ENOSYS)
504
	if (cap_rights_limit(routefd, &rights) < 0 && errno != ENOSYS)
505
		error("can't limit route socket: %m");
505
		error("can't limit route socket: %m");
506
506
507
	pidfile_close(pidfile);
508
507
	if (chroot(_PATH_VAREMPTY) == -1)
509
	if (chroot(_PATH_VAREMPTY) == -1)
508
		error("chroot");
510
		error("chroot");
509
	if (chdir("/") == -1)
511
	if (chdir("/") == -1)

Return to bug 223327