Searched refs:filter_off (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/include/linux/ |
| H A D | seccomp.h | 91 unsigned long filter_off, void __user *data); 93 unsigned long filter_off, void __user *data); 101 unsigned long filter_off, in seccomp_get_metadata() argument
|
| /linux-6.15/kernel/ |
| H A D | seccomp.c | 2152 unsigned long filter_off) in get_nth_filter() argument 2176 if (filter_off >= count) { in get_nth_filter() 2181 count -= filter_off; in get_nth_filter() 2197 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter() argument 2209 filter = get_nth_filter(task, filter_off); in seccomp_get_filter() 2249 if (size < sizeof(kmd.filter_off)) in seccomp_get_metadata() 2252 if (copy_from_user(&kmd.filter_off, data, sizeof(kmd.filter_off))) in seccomp_get_metadata() 2255 filter = get_nth_filter(task, kmd.filter_off); in seccomp_get_metadata()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | ptrace.h | 72 __u64 filter_off; /* Input: which filter */ member
|
| /linux-6.15/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 196 __u64 filter_off; /* Input: which filter */ member 3333 md.filter_off = 0; in TEST() 3342 EXPECT_EQ(md.filter_off, 0); in TEST() 3344 md.filter_off = 1; in TEST() 3348 EXPECT_EQ(md.filter_off, 1); in TEST()
|