diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/landlock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/firejail/landlock.c b/src/firejail/landlock.c index c445e74d9..492dac546 100644 --- a/src/firejail/landlock.c +++ b/src/firejail/landlock.c | |||
@@ -115,7 +115,7 @@ static int ll_create_full_ruleset(void) { | |||
115 | } | 115 | } |
116 | 116 | ||
117 | static void _ll_fs(const char *allowed_path, const __u64 allowed_access, | 117 | static void _ll_fs(const char *allowed_path, const __u64 allowed_access, |
118 | const char *caller) { | 118 | const char *caller) { |
119 | if (ll_ruleset_fd == -1) | 119 | if (ll_ruleset_fd == -1) |
120 | ll_ruleset_fd = ll_create_full_ruleset(); | 120 | ll_ruleset_fd = ll_create_full_ruleset(); |
121 | 121 | ||
@@ -148,7 +148,7 @@ static void _ll_fs(const char *allowed_path, const __u64 allowed_access, | |||
148 | } | 148 | } |
149 | 149 | ||
150 | static void ll_fs(const char *allowed_path, const __u64 allowed_access, | 150 | static void ll_fs(const char *allowed_path, const __u64 allowed_access, |
151 | const char *caller) { | 151 | const char *caller) { |
152 | char *expanded_path; | 152 | char *expanded_path; |
153 | 153 | ||
154 | // ${PATH} macro is not included by default in expand_macros() | 154 | // ${PATH} macro is not included by default in expand_macros() |