]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
call named_os_changeuser() when setting minimal privileges on linux
authorEvan Hunt <each@isc.org>
Tue, 11 Sep 2018 03:17:41 +0000 (20:17 -0700)
committerEvan Hunt <each@isc.org>
Tue, 11 Sep 2018 03:17:41 +0000 (20:17 -0700)
bin/named/unix/os.c

index fc58d0273762baf84e23413503cd711b62a6b6dc..b1ac3b7773d3f72c74836d1a474cd14713481735 100644 (file)
@@ -488,6 +488,7 @@ void
 named_os_minprivs(void) {
 #if defined(HAVE_SYS_CAPABILITY_H)
        linux_keepcaps();
+       named_os_changeuser();
        linux_minprivs();
 #endif
 }