diff options
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r-- | src/firejail/profile.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 877428637..a6843cc6d 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -227,13 +227,21 @@ int profile_check_line(char *ptr, int lineno) { | |||
227 | return 0; | 227 | return 0; |
228 | } | 228 | } |
229 | 229 | ||
230 | // private list of files and directories | 230 | // private home list of files and directories |
231 | if (strncmp(ptr, "private.keep ", 13) == 0) { | 231 | if (strncmp(ptr, "private.keep ", 13) == 0) { |
232 | cfg.home_private_keep = ptr + 13; | 232 | cfg.home_private_keep = ptr + 13; |
233 | fs_check_home_list(); | 233 | fs_check_home_list(); |
234 | arg_private = 1; | 234 | arg_private = 1; |
235 | return 0; | 235 | return 0; |
236 | } | 236 | } |
237 | |||
238 | // private /etc list of files and directories | ||
239 | if (strncmp(ptr, "private-etc ", 12) == 0) { | ||
240 | cfg.etc_private_keep = ptr + 12; | ||
241 | fs_check_etc_list(); | ||
242 | arg_private_etc = 1; | ||
243 | return 0; | ||
244 | } | ||
237 | 245 | ||
238 | // filesystem bind | 246 | // filesystem bind |
239 | if (strncmp(ptr, "bind ", 5) == 0) { | 247 | if (strncmp(ptr, "bind ", 5) == 0) { |