aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/usage.c
diff options
context:
space:
mode:
authorLibravatar Topi Miettinen <toiwoton@gmail.com>2020-08-05 15:14:34 +0300
committerLibravatar Topi Miettinen <toiwoton@gmail.com>2020-08-05 15:35:05 +0300
commit262e6517dbc1c97ab31a27376aeba1af1fe3ca4a (patch)
tree5331df21ad8269a1648d8ffd603607408a4cc1d4 /src/firejail/usage.c
parentSupport to ingore a include foobar.inc (diff)
downloadfirejail-262e6517dbc1c97ab31a27376aeba1af1fe3ca4a.tar.gz
firejail-262e6517dbc1c97ab31a27376aeba1af1fe3ca4a.tar.zst
firejail-262e6517dbc1c97ab31a27376aeba1af1fe3ca4a.zip
seccomp: logging
Allow `log` as an alternative seccomp error action instead of killing or returning an errno code. Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
Diffstat (limited to 'src/firejail/usage.c')
-rw-r--r--src/firejail/usage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/usage.c b/src/firejail/usage.c
index 4ab464289..73c9a6a8b 100644
--- a/src/firejail/usage.c
+++ b/src/firejail/usage.c
@@ -224,7 +224,8 @@ static char *usage_str =
224 " --seccomp.print=name|pid - print the seccomp filter for the sandbox\n" 224 " --seccomp.print=name|pid - print the seccomp filter for the sandbox\n"
225 "\tidentified by name or PID.\n" 225 "\tidentified by name or PID.\n"
226 " --seccomp.32[.drop,.keep][=syscall] - like above but for 32 bit architecture.\n" 226 " --seccomp.32[.drop,.keep][=syscall] - like above but for 32 bit architecture.\n"
227 " --seccomp-error-action=errno|kill - change error code or kill process.\n" 227 " --seccomp-error-action=errno|kill|log - change error code, kill process\n"
228 "\tor log the attempt.\n"
228#endif 229#endif
229 " --shell=none - run the program directly without a user shell.\n" 230 " --shell=none - run the program directly without a user shell.\n"
230 " --shell=program - set default user shell.\n" 231 " --shell=program - set default user shell.\n"