mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 14:30:00 -04:00
call named_os_changeuser() when setting minimal privileges on linux
This commit is contained in:
parent
29f699d669
commit
38cf56ac38
1 changed files with 1 additions and 0 deletions
|
|
@ -488,6 +488,7 @@ void
|
|||
named_os_minprivs(void) {
|
||||
#if defined(HAVE_SYS_CAPABILITY_H)
|
||||
linux_keepcaps();
|
||||
named_os_changeuser();
|
||||
linux_minprivs();
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue