nsjail.c: LOG_F -> LOG_W for disable_clone_newuser
authorRobert Swiecki <robert@swiecki.net>
Mon, 25 Sep 2017 10:01:44 +0000 (12:01 +0200)
committerRobert Swiecki <robert@swiecki.net>
Mon, 25 Sep 2017 10:01:44 +0000 (12:01 +0200)
contain.h
nsjail.c

index edba108..31c8714 100644 (file)
--- a/contain.h
+++ b/contain.h
@@ -26,7 +26,7 @@
 
 #include "common.h"
 
-bool containSetupFD(struct nsjconf_t *nsjconf, int fd_in, int fd_out, int fd_err);
+bool containSetupFD(struct nsjconf_t * nsjconf, int fd_in, int fd_out, int fd_err);
 bool containContain(struct nsjconf_t *nsjconf);
 
 #endif                         /* NS_CONTAIN_H */
index 8cf3979..796dd92 100644 (file)
--- a/nsjail.c
+++ b/nsjail.c
@@ -172,7 +172,7 @@ int main(int argc, char *argv[])
                LOG_F("Couldn't parse cmdline options");
        }
        if (nsjconf.clone_newuser == false && geteuid() != 0) {
-               LOG_F("--disable_clone_newuser requires root() privs");
+               LOG_W("--disable_clone_newuser might require root() privs");
        }
        if (nsjconf.daemonize && (daemon(0, 0) == -1)) {
                PLOG_F("daemon");