diff --git a/landlock.c b/landlock.c index 6cdeff9..20e7961 100644 --- a/landlock.c +++ b/landlock.c @@ -30,6 +30,10 @@ #include #include +/* Ubuntu 22.04 does not have this symbol */ +#ifndef LANDLOCK_ACCESS_FS_REFER +#define LANDLOCK_ACCESS_FS_REFER (1ULL << 13) +#endif #ifndef landlock_create_ruleset static inline int