diff options
-rw-r--r-- | src/zsh_completion/_firejail.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zsh_completion/_firejail.in b/src/zsh_completion/_firejail.in index 89cb1b84c..ac0554bc5 100644 --- a/src/zsh_completion/_firejail.in +++ b/src/zsh_completion/_firejail.in | |||
@@ -106,11 +106,14 @@ _firejail_args=( | |||
106 | '--keep-fd[inherit open file descriptors to sandbox]: :' | 106 | '--keep-fd[inherit open file descriptors to sandbox]: :' |
107 | '--keep-shell-rc[do not copy shell rc files from /etc/skel]' | 107 | '--keep-shell-rc[do not copy shell rc files from /etc/skel]' |
108 | '--keep-var-tmp[/var/tmp directory is untouched]' | 108 | '--keep-var-tmp[/var/tmp directory is untouched]' |
109 | #ifdef HAVE_LANDLOCK | ||
110 | '--landlock[add basic rules to the Landlock ruleset]' | ||
109 | '--landlock.proc=-[add an access rule for /proc to the Landlock ruleset]: :(no ro rw)' | 111 | '--landlock.proc=-[add an access rule for /proc to the Landlock ruleset]: :(no ro rw)' |
110 | '--landlock.read=-[add a read access rule for the path to the Landlock ruleset]: :_files' | 112 | '--landlock.read=-[add a read access rule for the path to the Landlock ruleset]: :_files' |
111 | '--landlock.write=-[add a write access rule for the path to the Landlock ruleset]: :_files' | 113 | '--landlock.write=-[add a write access rule for the path to the Landlock ruleset]: :_files' |
112 | '--landlock.special=-[add an access rule for the path to the Landlock ruleset for creating block/char devices, named pipes and sockets]: :_files' | 114 | '--landlock.special=-[add an access rule for the path to the Landlock ruleset for creating block/char devices, named pipes and sockets]: :_files' |
113 | '--landlock.execute=-[add an execute access rule for the path to the Landlock ruleset]: :_files' | 115 | '--landlock.execute=-[add an execute access rule for the path to the Landlock ruleset]: :_files' |
116 | #endif | ||
114 | '--machine-id[spoof /etc/machine-id with a random id]' | 117 | '--machine-id[spoof /etc/machine-id with a random id]' |
115 | '--memory-deny-write-execute[seccomp filter to block attempts to create memory mappings that are both writable and executable]' | 118 | '--memory-deny-write-execute[seccomp filter to block attempts to create memory mappings that are both writable and executable]' |
116 | '*--mkdir=-[create a directory]:' | 119 | '*--mkdir=-[create a directory]:' |