diff options
Diffstat (limited to 'src/firejail/usage.c')
-rw-r--r-- | src/firejail/usage.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/firejail/usage.c b/src/firejail/usage.c index e8758c807..5f9185da9 100644 --- a/src/firejail/usage.c +++ b/src/firejail/usage.c | |||
@@ -133,6 +133,14 @@ static const char *const usage_str = | |||
133 | " --keep-fd - inherit open file descriptors to sandbox.\n" | 133 | " --keep-fd - inherit open file descriptors to sandbox.\n" |
134 | " --keep-shell-rc - do not copy shell rc files from /etc/skel\n" | 134 | " --keep-shell-rc - do not copy shell rc files from /etc/skel\n" |
135 | " --keep-var-tmp - /var/tmp directory is untouched.\n" | 135 | " --keep-var-tmp - /var/tmp directory is untouched.\n" |
136 | #ifdef HAVE_LANDLOCK | ||
137 | " --landlock - add basic rules to the Landlock ruleset.\n" | ||
138 | " --landlock.proc=no|ro|rw - add an access rule for /proc to the Landlock ruleset.\n" | ||
139 | " --landlock.read=path - add a read access rule for the path to the Landlock ruleset.\n" | ||
140 | " --landlock.write=path - add a write access rule for the path to the Landlock ruleset.\n" | ||
141 | " --landlock.special=path - add an access rule for the path to the Landlock ruleset for creating block/char devices, named pipes and sockets.\n" | ||
142 | " --landlock.execute=path - add an execute access rule for the path to the Landlock ruleset.\n" | ||
143 | #endif | ||
136 | " --list - list all sandboxes.\n" | 144 | " --list - list all sandboxes.\n" |
137 | #ifdef HAVE_FILE_TRANSFER | 145 | #ifdef HAVE_FILE_TRANSFER |
138 | " --ls=name|pid dir_or_filename - list files in sandbox container.\n" | 146 | " --ls=name|pid dir_or_filename - list files in sandbox container.\n" |