diff options
author | Shawn Routhier <sar@isc.org> | 2015-07-15 14:14:39 -0700 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2015-07-15 14:14:39 -0700 |
commit | 7a6c9368c9a507ebe1464609b1c1d1ba88423b02 (patch) | |
tree | a28cad4d151ace51d4253ea47289cd17654421ab /includes/dhcpd.h | |
parent | 45c332f037bf54134df5335ba9c888aea0c24d4d (diff) | |
download | isc-dhcp-7a6c9368c9a507ebe1464609b1c1d1ba88423b02.tar.gz |
[master] Add fchown to the paranoia patch
Add code to fchown the lease file to the paranoia patch to avoid
having issues with a file that the server can't manipulate.
Diffstat (limited to 'includes/dhcpd.h')
-rw-r--r-- | includes/dhcpd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/dhcpd.h b/includes/dhcpd.h index 916e18eb..4e75421e 100644 --- a/includes/dhcpd.h +++ b/includes/dhcpd.h @@ -2040,6 +2040,11 @@ extern const char *path_dhcpd_pid; extern int dhcp_max_agent_option_packet_length; extern struct eventqueue *rw_queue_empty; +#if defined (PARANOIA) +extern uid_t set_uid; +extern gid_t set_gid; +#endif + int main(int, char **); void postconf_initialization(int); void postdb_startup(void); |