Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
8ffd9a9b
Commit
8ffd9a9b
authored
Sep 07, 2018
by
Ondřej Surý
Browse files
Remove PR_SET_DUMPABLE check as it is available since Linux 2.3.20
parent
8e4cc152
Pipeline
#4720
passed with stages
in 9 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bin/named/unix/os.c
View file @
8ffd9a9b
...
...
@@ -444,7 +444,7 @@ named_os_changeuser(void) {
named_main_earlyfatal
(
"setuid(): %s"
,
strbuf
);
}
#if defined(
PR_SET_DUMPABLE
)
#if defined(
HAVE_SYS_CAPABILITY_H
)
/*
* Restore the ability of named to drop core after the setuid()
* call has disabled it.
...
...
@@ -454,8 +454,7 @@ named_os_changeuser(void) {
named_main_earlywarning
(
"prctl(PR_SET_DUMPABLE) failed: %s"
,
strbuf
);
}
#endif
#if defined(HAVE_SYS_CAPABILITY_H)
linux_minprivs
();
#endif
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment