aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r--src/firejail/profile.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c
index 62767f8dc..4c6830250 100644
--- a/src/firejail/profile.c
+++ b/src/firejail/profile.c
@@ -1074,8 +1074,10 @@ int profile_check_line(char *ptr, int lineno, const char *fname) {
1074 } 1074 }
1075 1075
1076//#ifdef HAVE_LANDLOCK 1076//#ifdef HAVE_LANDLOCK
1077// landlock_connon.inc included by derfault in landlock.profile 1077// landlock-common.inc is included by default.profile, so the entries of the
1078// all landlcok functions are empty in case landlock is not available in the kernel 1078// former should be processed or ignored instead of aborting.
1079// Note that all landlock functions are empty when building without landlock
1080// support.
1079 if (strncmp(ptr, "landlock.enforce", 16) == 0) { 1081 if (strncmp(ptr, "landlock.enforce", 16) == 0) {
1080 arg_landlock_enforce = 1; 1082 arg_landlock_enforce = 1;
1081 return 0; 1083 return 0;