From 13b2c566df883269b55f77757bb50a5d2890ec20 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 24 Oct 2023 12:43:46 -0400 Subject: feature: add Landlock support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based on 5315 by ChrysoliteAzalea. It is based on the same underlying structure, but with a lot of refactoring/simplification and with bugfixes and improvements. Co-authored-by: Kelvin M. Klann Co-authored-by: Азалия Смарагдова --- src/bash_completion/firejail.bash_completion.in | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/bash_completion/firejail.bash_completion.in') diff --git a/src/bash_completion/firejail.bash_completion.in b/src/bash_completion/firejail.bash_completion.in index 98e3a035e..eab0f7df6 100644 --- a/src/bash_completion/firejail.bash_completion.in +++ b/src/bash_completion/firejail.bash_completion.in @@ -42,6 +42,25 @@ _firejail() _filedir -d return 0 ;; + --landlock) + return 0 + ;; + --landlock.read) + _filedir + return 0 + ;; + --landlock.write) + _filedir + return 0 + ;; + --landlock.special) + _filedir + return 0 + ;; + --landlock.execute) + _filedir + return 0 + ;; --tmpfs) _filedir return 0 -- cgit v1.2.3-54-g00ecf