X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flttng-syscalls.h;h=a6bc30fb79e01598fe362e54fc57b497a21d0aca;hb=a2819bd60badc2bcd61b325a9b144429fc956ba7;hp=ce63973f8f6e430f8c09ca6a1d37ddd3eda3e7f6;hpb=d1fea60895526d461646b2918eb53bed2f40b6eb;p=lttng-modules.git diff --git a/src/lttng-syscalls.h b/src/lttng-syscalls.h index ce63973f..a6bc30fb 100644 --- a/src/lttng-syscalls.h +++ b/src/lttng-syscalls.h @@ -21,6 +21,16 @@ #include #include +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,13,0)) +#include +#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