diff options
-rw-r--r-- | src/firejail/firejail.h | 2 | ||||
-rw-r--r-- | src/firejail/landlock.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/firejail/firejail.h b/src/firejail/firejail.h index 613fafe72..d0b903fb4 100644 --- a/src/firejail/firejail.h +++ b/src/firejail/firejail.h | |||
@@ -974,7 +974,7 @@ int ll_write(const char *allowed_path); | |||
974 | int ll_special(const char *allowed_path); | 974 | int ll_special(const char *allowed_path); |
975 | int ll_exec(const char *allowed_path); | 975 | int ll_exec(const char *allowed_path); |
976 | int ll_basic_system(void); | 976 | int ll_basic_system(void); |
977 | int ll_restrict(__u32 flags); | 977 | int ll_restrict(uint32_t flags); |
978 | void ll_add_profile(int type, const char *data); | 978 | void ll_add_profile(int type, const char *data); |
979 | #endif /* HAVE_LANDLOCK */ | 979 | #endif /* HAVE_LANDLOCK */ |
980 | 980 | ||
diff --git a/src/firejail/landlock.c b/src/firejail/landlock.c index 054d31ee4..9cf5ec165 100644 --- a/src/firejail/landlock.c +++ b/src/firejail/landlock.c | |||
@@ -244,7 +244,7 @@ int ll_basic_system(void) { | |||
244 | return error; | 244 | return error; |
245 | } | 245 | } |
246 | 246 | ||
247 | int ll_restrict(__u32 flags) { | 247 | int ll_restrict(uint32_t flags) { |
248 | if (!ll_is_supported()) | 248 | if (!ll_is_supported()) |
249 | return 0; | 249 | return 0; |
250 | 250 | ||