2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

121 Commits

Author SHA1 Message Date
Brian Wellington
79e873be59 The reordering of code in the last change broke linux, since the determination
of whether we could call setuid() was moved after the check.
2000-07-03 18:28:38 +00:00
David Lawrence
202991557a 299. [cleanup] Get the user and group information before changing the
root directory, so the administrator does not need to
			keep a copy of the user and group databases in the
			chroot'ed environment.  Suggested by Hakan Olsson.
2000-07-01 00:48:06 +00:00
Michael Graff
15197aefa1 workaround for NetBSD - close FDs before dup2(). 2000-06-28 16:26:40 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Brian Wellington
7777118507 (#260) Running named as a non-root user failed on Linux kernels new enough to
support retaining capabilities after setuid().
2000-06-16 07:35:54 +00:00
David Lawrence
de8661e517 grp.h is required for initgroups() prototype on IRIX. 2000-05-14 13:52:53 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Andreas Gustafsson
e5afb85e52 added a missing '#ifdef HAVE_LINUXTHREADS' 2000-04-11 20:29:37 +00:00
Bob Halley
134ba0e08a Linux PR_SET_KEEPCAPS support 2000-04-11 18:51:19 +00:00
Bob Halley
077daa2122 Prevent capability.h from #including <linux/fs.h>. When a 2.3 <linux/fs.h> is
included, we get conflicts between <string.h> and <linux/string.h> that
make the compilation fail.  This change also eliminates compiler warnings when
os.c is compiled on a system with a 2.2 <linux/capability.h>.
2000-03-28 19:46:53 +00:00
Michael Graff
ed0b018ee0 minor reformatting issue; no functional change made. 2000-03-28 00:10:02 +00:00
Bob Halley
7d98a1783f update copyrights 2000-02-03 22:29:57 +00:00
Mark Andrews
e63f7c6f55 lint 2000-02-02 00:58:15 +00:00
Bob Halley
5e4b7294d8 remove CAP_SYS_RESOURCE 2000-02-01 20:17:32 +00:00
Bob Halley
9ee5efde7d pid file support 2000-01-29 01:38:09 +00:00
Bob Halley
2dfd6bca9a add chroot and changeuser; revise linux privs 2000-01-28 20:09:14 +00:00
Bob Halley
2aa67e804d add ns_os_deamonize() 2000-01-26 21:12:33 +00:00
Bob Halley
4344875f60 Fix linux privilege dropping. 1999-10-31 02:05:31 +00:00
Bob Halley
dce6dc45b1 linux_dropprivs() seems to be broken; disable for now 1999-10-30 03:38:52 +00:00
Bob Halley
1fc4929aa6 syslog support 1999-10-25 18:59:38 +00:00
Bob Halley
9b2267b5ba add 1999-10-23 01:08:57 +00:00