diff options
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r-- | src/firejail/profile.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index c0abc3398..a5a8393e9 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -1086,8 +1086,12 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
1086 | ll_add_profile(LL_WRITE, ptr + 15); | 1086 | ll_add_profile(LL_WRITE, ptr + 15); |
1087 | return 0; | 1087 | return 0; |
1088 | } | 1088 | } |
1089 | if (strncmp(ptr, "landlock.special ", 17) == 0) { | 1089 | if (strncmp(ptr, "landlock.makeipc ", 17) == 0) { |
1090 | ll_add_profile(LL_SPECIAL, ptr + 17); | 1090 | ll_add_profile(LL_MAKEIPC, ptr + 17); |
1091 | return 0; | ||
1092 | } | ||
1093 | if (strncmp(ptr, "landlock.makedev ", 17) == 0) { | ||
1094 | ll_add_profile(LL_MAKEDEV, ptr + 17); | ||
1091 | return 0; | 1095 | return 0; |
1092 | } | 1096 | } |
1093 | if (strncmp(ptr, "landlock.execute ", 17) == 0) { | 1097 | if (strncmp(ptr, "landlock.execute ", 17) == 0) { |