Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
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()
Dptrace.h17 struct seccomp_data data;
Dfilter.h34 struct seccomp_data;
/Linux-v5.10/include/uapi/linux/
Dseccomp.h60 struct seccomp_data { struct
70 __u16 seccomp_data; member
77 struct seccomp_data data;
/Linux-v5.10/samples/seccomp/
Ddropper.c32 (offsetof(struct seccomp_data, arch))), in install_filter()
35 (offsetof(struct seccomp_data, nr))), in install_filter()
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))
Dbpf-direct.c31 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]))
32 #define syscall_nr (offsetof(struct seccomp_data, nr))
Duser-trap.c90 offsetof(struct seccomp_data, nr)), in user_trap_syscall()
/Linux-v5.10/samples/bpf/
Dtracex5_kern.c48 struct seccomp_data sd; in PROG()
61 struct seccomp_data sd; in PROG()
/Linux-v5.10/kernel/
Dseccomp.c73 const struct seccomp_data *data;
197 static void populate_seccomp_data(struct seccomp_data *sd) in populate_seccomp_data()
243 if (k >= sizeof(struct seccomp_data) || k & 3) in seccomp_check_filter()
248 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter()
252 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter()
311 static u32 seccomp_run_filters(const struct seccomp_data *sd, in seccomp_run_filters()
844 const struct seccomp_data *sd) in seccomp_do_user_notification()
921 static int __seccomp_filter(int this_syscall, const struct seccomp_data *sd, in __seccomp_filter()
927 struct seccomp_data sd_local; in __seccomp_filter()
1049 static int __seccomp_filter(int this_syscall, const struct seccomp_data *sd, in __seccomp_filter()
[all …]
/Linux-v5.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c92 struct seccomp_data { struct
204 struct seccomp_data data;
217 __u16 seccomp_data; member
276 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]))
278 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]) + sizeof(__u32))
651 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
679 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
719 offsetof(struct seccomp_data, nr)), in TEST_SIGNAL()
792 offsetof(struct seccomp_data, nr)), in kill_thread_or_group()
804 offsetof(struct seccomp_data, nr)), in kill_thread_or_group()
[all …]
/Linux-v5.10/Documentation/userspace-api/
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:
262 It is worth noting that ``struct seccomp_data`` contains the values of register
/Linux-v5.10/arch/mips/kernel/
Dptrace.c1328 struct seccomp_data sd; in syscall_trace_enter()
/Linux-v5.10/arch/s390/kernel/
Dptrace.c889 struct seccomp_data sd; in do_syscall_trace_enter()
/Linux-v5.10/Documentation/networking/
Dfilter.rst345 ld [4] /* offsetof(struct seccomp_data, arch) */
347 ld [0] /* offsetof(struct seccomp_data, nr) */
849 to seccomp_data, for converted BPF filters R1 points to a skb.