projects
/
platform
/
upstream
/
nsjail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02951e0
)
user: log message
author
Robert Swiecki
<robert@swiecki.net>
Sun, 1 Oct 2017 14:13:17 +0000
(16:13 +0200)
committer
Robert Swiecki
<robert@swiecki.net>
Sun, 1 Oct 2017 14:13:17 +0000
(16:13 +0200)
user.c
patch
|
blob
|
history
diff --git
a/user.c
b/user.c
index e8f7016f2fd20ea45f4263d588971e65dd824cb6..e42c1cb451c850a4e8619db856cb23afa5e91dc6 100644
(file)
--- a/
user.c
+++ b/
user.c
@@
-269,7
+269,7
@@
bool userInitNsFromChild(struct nsjconf_t * nsjconf)
/* Make sure all capabilities are retained after the subsequent setuid/setgid */
if (prctl(PR_SET_SECUREBITS, SECBIT_KEEP_CAPS | SECBIT_NO_SETUID_FIXUP, 0UL, 0UL, 0UL) ==
-1) {
- PLOG_W("prctl(PR_SET_
KEEPCAPS, 1UL
)");
+ PLOG_W("prctl(PR_SET_
SECUREBITS, SECBIT_KEEP_CAPS | SECBIT_NO_SETUID_FIXUP
)");
return false;
}