From 9be5520fec2e5e3d3b6b3e4c16df63614321b11c Mon Sep 17 00:00:00 2001 From: Robert Swiecki Date: Mon, 25 Sep 2017 12:01:44 +0200 Subject: [PATCH] nsjail.c: LOG_F -> LOG_W for disable_clone_newuser --- contain.h | 2 +- nsjail.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contain.h b/contain.h index edba108..31c8714 100644 --- 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 */ diff --git a/nsjail.c b/nsjail.c index 8cf3979..796dd92 100644 --- 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");