Home
last modified time | relevance | path

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

/linux/include/linux/
A Dseccomp.h42 extern int __secure_computing(const struct seccomp_data *sd);
67 struct seccomp_data;
71 static inline int __secure_computing(const struct seccomp_data *sd) { return 0; } in __secure_computing()
A Dptrace.h17 struct seccomp_data data;
A Dfilter.h33 struct seccomp_data;
/linux/include/uapi/linux/
A Dseccomp.h60 struct seccomp_data { struct
70 __u16 seccomp_data; member
77 struct seccomp_data data;
/linux/kernel/
A Dseccomp.c73 const struct seccomp_data *data;
173 const struct seccomp_data *sd) in seccomp_cache_check_allow()
287 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter()
291 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter()
360 const struct seccomp_data *sd) in seccomp_cache_check_allow()
716 struct seccomp_data *sd) in seccomp_is_const_allow()
733 case offsetof(struct seccomp_data, nr): in seccomp_is_const_allow()
793 struct seccomp_data sd; in seccomp_cache_prepare_bitmap()
1082 const struct seccomp_data *sd) in seccomp_do_user_notification()
1167 struct seccomp_data sd_local; in __seccomp_filter()
[all …]
/linux/samples/seccomp/
A Dbpf-helper.h66 #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))
A Ddropper.c32 (offsetof(struct seccomp_data, arch))), in install_filter()
35 (offsetof(struct seccomp_data, nr))), in install_filter()
A Dbpf-direct.c31 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]))
32 #define syscall_nr (offsetof(struct seccomp_data, nr))
A Duser-trap.c90 offsetof(struct seccomp_data, nr)), in user_trap_syscall()
/linux/samples/bpf/
A Dtracex5_kern.c48 struct seccomp_data sd; in PROG()
61 struct seccomp_data sd; in PROG()
/linux/tools/testing/selftests/seccomp/
A Dseccomp_bpf.c92 struct seccomp_data { struct
204 struct seccomp_data data;
217 __u16 seccomp_data; member
655 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
683 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
723 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
796 offsetof(struct seccomp_data, nr)), in kill_thread_or_group()
808 offsetof(struct seccomp_data, nr)), in kill_thread_or_group()
1041 offsetof(struct seccomp_data, nr)), in FIXTURE_SETUP()
1160 offsetof(struct seccomp_data, nr)), in FIXTURE_SETUP()
[all …]
A Dseccomp_benchmark.c125 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, nr)), in main()
133 BPF_STMT(BPF_LD|BPF_W|BPF_ABS, offsetof(struct seccomp_data, args[0])), in main()
/linux/Documentation/userspace-api/
A Dseccomp_filter.rst53 The BPF program will be executed over struct seccomp_data
220 __u16 seccomp_data;
227 struct seccomp_data data;
239 seccomp_data`` may change in the future, so code should use:
274 It is worth noting that ``struct seccomp_data`` contains the values of register
/linux/arch/mips/kernel/
A Dptrace.c1328 struct seccomp_data sd; in syscall_trace_enter()
/linux/Documentation/networking/
A Dfilter.rst338 ld [4] /* offsetof(struct seccomp_data, arch) */
340 ld [0] /* offsetof(struct seccomp_data, nr) */
858 to seccomp_data, for converted BPF filters R1 points to a skb.

Completed in 46 milliseconds