diff options
author | rusty-snake <41237666+rusty-snake@users.noreply.github.com> | 2021-05-16 09:20:05 +0200 |
---|---|---|
committer | rusty-snake <41237666+rusty-snake@users.noreply.github.com> | 2021-05-16 09:23:56 +0200 |
commit | d071d2f0f81cd8552688c859ad0ea2d678a040de (patch) | |
tree | 64b8974f57ad9b92d170af6d7832f13c11900a60 /src | |
parent | CI: build with clang 11 (#4277) (diff) | |
download | firejail-d071d2f0f81cd8552688c859ad0ea2d678a040de.tar.gz firejail-d071d2f0f81cd8552688c859ad0ea2d678a040de.tar.zst firejail-d071d2f0f81cd8552688c859ad0ea2d678a040de.zip |
Add noinput to usage.c and _firejail.in
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/usage.c | 1 | ||||
-rw-r--r-- | src/zsh_completion/_firejail.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/firejail/usage.c b/src/firejail/usage.c index 397150158..baa015a6c 100644 --- a/src/firejail/usage.c +++ b/src/firejail/usage.c | |||
@@ -154,6 +154,7 @@ static char *usage_str = | |||
154 | " --nodvd - disable DVD and audio CD devices.\n" | 154 | " --nodvd - disable DVD and audio CD devices.\n" |
155 | " --noexec=filename - remount the file or directory noexec nosuid and nodev.\n" | 155 | " --noexec=filename - remount the file or directory noexec nosuid and nodev.\n" |
156 | " --nogroups - disable supplementary groups.\n" | 156 | " --nogroups - disable supplementary groups.\n" |
157 | " --noinput - disable input devices.\n" | ||
157 | " --nonewprivs - sets the NO_NEW_PRIVS prctl.\n" | 158 | " --nonewprivs - sets the NO_NEW_PRIVS prctl.\n" |
158 | " --noprofile - do not use a security profile.\n" | 159 | " --noprofile - do not use a security profile.\n" |
159 | #ifdef HAVE_USERNS | 160 | #ifdef HAVE_USERNS |
diff --git a/src/zsh_completion/_firejail.in b/src/zsh_completion/_firejail.in index fd27bb35f..a9a32e9d4 100644 --- a/src/zsh_completion/_firejail.in +++ b/src/zsh_completion/_firejail.in | |||
@@ -116,6 +116,7 @@ _firejail_args=( | |||
116 | '--nodvd[disable DVD and audio CD devices]' | 116 | '--nodvd[disable DVD and audio CD devices]' |
117 | '*--noexec=-[remount the file or directory noexec nosuid and nodev]: :_files' | 117 | '*--noexec=-[remount the file or directory noexec nosuid and nodev]: :_files' |
118 | '--nogroups[disable supplementary groups]' | 118 | '--nogroups[disable supplementary groups]' |
119 | '--noinput[disable input devices]' | ||
119 | '--nonewprivs[sets the NO_NEW_PRIVS prctl]' | 120 | '--nonewprivs[sets the NO_NEW_PRIVS prctl]' |
120 | '--nosound[disable sound system]' | 121 | '--nosound[disable sound system]' |
121 | '--nou2f[disable U2F devices]' | 122 | '--nou2f[disable U2F devices]' |