#include <lttng/events.h>
#include <lttng/kernel-version.h>
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,13,0))
+#include <linux/landlock.h>
+#else
+struct landlock_ruleset_attr;
+
+enum landlock_rule_type {
+ LANDLOCK_RULE_PATH_BENEATH = 1,
+};
+#endif
+
/*
* Forward declarations allowing LTTng to build its system call instrumentation
* against old kernels which do not declare the more recent system call
struct open_how;
struct rlimit64;
struct rseq;
+struct sched_attr;
struct sel_arg_struct;
struct statx;
struct user_msghdr;
struct __kernel_old_timeval;
struct __kernel_itimerspec;
+union bpf_attr;
+
+#ifndef __kernel_long_t
+typedef long __kernel_long_t;
+#endif
+
typedef __kernel_long_t __kernel_old_time_t;
typedef int __bitwise __kernel_rwf_t;
typedef __kernel_rwf_t rwf_t;