Fix: event notification capture: validate buffer length
[lttng-modules.git] / src / lttng-syscalls.h
index d221dfb7c7d2a4424d3086c548a4a928dc297bb8..a464e69e3ca9558fa6cc729266a22c33ba3001c2 100644 (file)
 #ifndef LTTNG_SYSCALLS_H
 #define LTTNG_SYSCALLS_H
 
-#include <stddef.h>
-
 #include <asm/ptrace.h>
+#include <linux/compat.h>
+#include <linux/fcntl.h>
+#include <linux/in.h>
+#include <linux/in6.h>
+#include <linux/mman.h>
 
 #include <lttng/events.h>
 #include <lttng/kernel-version.h>
@@ -45,7 +48,7 @@ typedef __kernel_old_time_t time_t;
 struct trace_syscall_entry {
        void *event_func;
        const struct lttng_kernel_event_desc *desc;
-       const struct lttng_kernel_event_field **fields;
+       const struct lttng_kernel_event_field * const *fields;
        unsigned int nrargs;
 };
 
This page took 0.023065 seconds and 4 git commands to generate.