Skip to content

Commit

Permalink
landlock: add missing empty function ll_is_supported
Browse files Browse the repository at this point in the history
This amends commit d10bf15 ("landlock: detect support at runtime",
2023-11-06) / PR #6078.
  • Loading branch information
kmk3 committed Dec 5, 2023
1 parent 68f3d2a commit baad683
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/firejail/firejail.h
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,7 @@ int ll_restrict(__u32 flags);
void ll_add_profile(int type, const char *data);
#else
static inline int ll_get_fd(void) { return -1; }
static inline int ll_is_supported(void) { return 0; }
static inline int ll_read(...) { return 0; }
static inline int ll_write(...) { return 0; }
static inline int ll_special(...) { return 0; }
Expand Down

0 comments on commit baad683

Please sign in to comment.