diff options
author | netblue30 <netblue30@protonmail.com> | 2024-04-06 23:16:10 -0400 |
---|---|---|
committer | netblue30 <netblue30@protonmail.com> | 2024-04-06 23:16:10 -0400 |
commit | 8259f66e1f6b54f0ea6039f5fd65a77cbb27dfd9 (patch) | |
tree | 238645e79abb534ed09dbbdde4e1ff4353531af8 /src/firejail/landlock.c | |
parent | RELNOTES: add profile items (diff) | |
download | firejail-8259f66e1f6b54f0ea6039f5fd65a77cbb27dfd9.tar.gz firejail-8259f66e1f6b54f0ea6039f5fd65a77cbb27dfd9.tar.zst firejail-8259f66e1f6b54f0ea6039f5fd65a77cbb27dfd9.zip |
landlock fix for old kernel versions
Diffstat (limited to 'src/firejail/landlock.c')
-rw-r--r-- | src/firejail/landlock.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/firejail/landlock.c b/src/firejail/landlock.c index 453ad8f10..44d7eeafa 100644 --- a/src/firejail/landlock.c +++ b/src/firejail/landlock.c | |||
@@ -294,4 +294,10 @@ void ll_add_profile(int type, const char *data) { | |||
294 | ptr->next = entry; | 294 | ptr->next = entry; |
295 | } | 295 | } |
296 | 296 | ||
297 | #else | ||
298 | void ll_add_profile(int type, const char *data) { | ||
299 | (void) type; | ||
300 | (void) data; | ||
301 | } | ||
302 | |||
297 | #endif /* HAVE_LANDLOCK */ | 303 | #endif /* HAVE_LANDLOCK */ |