summaryrefslogtreecommitdiffstats
path: root/src/nspawn
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-03-21 13:31:09 +0100
committerLennart Poettering <lennart@poettering.net>2019-03-21 13:31:09 +0100
commitf4e803c809e082f8237d7c136a6f019b20b59c6a (patch)
treedcc115186b4827f661c21f58ed605081aeb217b0 /src/nspawn
parentman: adjust nspawn man page to follow same section/order as --help text (diff)
downloadsystemd-f4e803c809e082f8237d7c136a6f019b20b59c6a.tar.xz
systemd-f4e803c809e082f8237d7c136a6f019b20b59c6a.zip
nspawn: add a few missing flags from --help text
Diffstat (limited to 'src/nspawn')
-rw-r--r--src/nspawn/nspawn.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index e05aed23e5..0cb207528a 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -310,6 +310,7 @@ static int help(void) {
" --capability=CAP In addition to the default, retain specified\n"
" capability\n"
" --drop-capability=CAP Drop the specified capability from the default set\n"
+ " --no-new-privileges Set PR_SET_NO_NEW_PRIVS flag for container payload\n"
" --system-call-filter=LIST|~LIST\n"
" Permit/prohibit specific system calls\n"
" -Z --selinux-context=SECLABEL\n"
@@ -322,7 +323,8 @@ static int help(void) {
" --rlimit=NAME=LIMIT Set a resource limit for the payload\n"
" --oom-score-adjust=VALUE\n"
" Adjust the OOM score value for the payload\n"
- " --cpu-affinity=CPUS Adjust the CPU affinity of the container\n\n"
+ " --cpu-affinity=CPUS Adjust the CPU affinity of the container\n"
+ " --personality=ARCH Pick personality for this container\n\n"
"%3$sIntegration:%4$s\n"
" --resolv-conf=MODE Select mode of /etc/resolv.conf initialization\n"
" --timezone=MODE Select mode of /etc/localtime initialization\n"