fix: mm: introduce vma->vm_flags wrapper functions (v6.3)
[lttng-modules.git] / src / lttng-syscalls.h
index e0f340efc550f82d03d8bfb86bfcce8e19d3313b..a6bc30fb79e01598fe362e54fc57b497a21d0aca 100644 (file)
 #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
@@ -43,6 +53,7 @@ struct old_utimbuf32;
 struct open_how;
 struct rlimit64;
 struct rseq;
+struct sched_attr;
 struct sel_arg_struct;
 struct statx;
 struct user_msghdr;
@@ -54,6 +65,12 @@ struct __kernel_timex;
 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;
This page took 0.023777 seconds and 4 git commands to generate.