Searched refs:seccomp_data (Results 1 - 15 of 15) sorted by relevance

/linux-master/include/linux/
H A Dseccomp.h26 extern int __secure_computing(const struct seccomp_data *sd);
49 struct seccomp_data;
53 static inline int __secure_computing(const struct seccomp_data *sd) { return 0; }
H A Dptrace.h14 /* Add sp to seccomp_data, as seccomp is user API, we don't want to modify it */
17 struct seccomp_data data;
H A Dfilter.h34 struct seccomp_data;
/linux-master/include/uapi/linux/
H A Dseccomp.h54 * struct seccomp_data - the format the BPF program executes over.
62 struct seccomp_data { struct
72 __u16 seccomp_data; member in struct:seccomp_notif_sizes
79 struct seccomp_data data;
/linux-master/tools/include/uapi/linux/
H A Dseccomp.h54 * struct seccomp_data - the format the BPF program executes over.
62 struct seccomp_data { struct
72 __u16 seccomp_data; member in struct:seccomp_notif_sizes
79 struct seccomp_data data;
/linux-master/samples/seccomp/
H A Ddropper.c32 (offsetof(struct seccomp_data, arch))),
35 (offsetof(struct seccomp_data, nr))),
H A Dbpf-helper.h21 #include <linux/seccomp.h> /* for seccomp_data */
66 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)])
68 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32)
90 #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32)
93 #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)])
261 offsetof(struct seccomp_data, nr))
H A Dbpf-direct.c31 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]))
32 #define syscall_nr (offsetof(struct seccomp_data, nr))
H A Duser-trap.c94 offsetof(struct seccomp_data, nr)),
/linux-master/samples/bpf/
H A Dtracex5.bpf.c48 struct seccomp_data sd;
61 struct seccomp_data sd;
/linux-master/kernel/
H A Dseccomp.c75 const struct seccomp_data *data;
180 const struct seccomp_data *sd)
246 static void populate_seccomp_data(struct seccomp_data *sd)
292 if (k >= sizeof(struct seccomp_data) || k & 3)
297 ftest->k = sizeof(struct seccomp_data);
301 ftest->k = sizeof(struct seccomp_data);
367 * Returns true if the seccomp_data is cached and allowed.
370 const struct seccomp_data *sd)
406 static u32 seccomp_run_filters(const struct seccomp_data *sd,
730 struct seccomp_data *s
[all...]
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_benchmark.c169 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)),
177 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, args[0])),
H A Dseccomp_bpf.c95 struct seccomp_data { struct
211 struct seccomp_data data;
224 __u16 seccomp_data; member in struct:seccomp_notif_sizes
291 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]))
293 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]) + sizeof(__u32))
668 offsetof(struct seccomp_data, nr)),
696 offsetof(struct seccomp_data, nr)),
736 offsetof(struct seccomp_data, nr)),
809 offsetof(struct seccomp_data, nr)),
821 offsetof(struct seccomp_data, n
[all...]
/linux-master/tools/perf/bench/
H A Dsched-seccomp-notify.c53 offsetof(struct seccomp_data, nr)),
/linux-master/arch/mips/kernel/
H A Dptrace.c1332 struct seccomp_data sd;

Completed in 150 milliseconds