X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=src%2Flttng-syscalls.h;h=a6bc30fb79e01598fe362e54fc57b497a21d0aca;hb=1158b2706e58c2f94e6bd746e0504b989320c0a1;hp=ce63973f8f6e430f8c09ca6a1d37ddd3eda3e7f6;hpb=b3ab29505fe0ffb03ebb5098c0257e2c28bd08e4;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