user: log message
authorRobert Swiecki <robert@swiecki.net>
Sun, 1 Oct 2017 14:13:17 +0000 (16:13 +0200)
committerRobert Swiecki <robert@swiecki.net>
Sun, 1 Oct 2017 14:13:17 +0000 (16:13 +0200)
user.c

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;
        }