Home
last modified time | relevance | path

Searched refs:filter_off (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/include/linux/
Dseccomp.h109 unsigned long filter_off, void __user *data);
111 unsigned long filter_off, void __user *data);
119 unsigned long filter_off, in seccomp_get_metadata() argument
/Linux-v6.1/include/uapi/linux/
Dptrace.h72 __u64 filter_off; /* Input: which filter */ member
/Linux-v6.1/kernel/
Dseccomp.c2049 unsigned long filter_off) in get_nth_filter() argument
2073 if (filter_off >= count) { in get_nth_filter()
2078 count -= filter_off; in get_nth_filter()
2094 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter() argument
2106 filter = get_nth_filter(task, filter_off); in seccomp_get_filter()
2146 if (size < sizeof(kmd.filter_off)) in seccomp_get_metadata()
2149 if (copy_from_user(&kmd.filter_off, data, sizeof(kmd.filter_off))) in seccomp_get_metadata()
2152 filter = get_nth_filter(task, kmd.filter_off); in seccomp_get_metadata()
/Linux-v6.1/tools/testing/selftests/seccomp/
Dseccomp_bpf.c179 __u64 filter_off; /* Input: which filter */ member
3303 md.filter_off = 0; in TEST()
3312 EXPECT_EQ(md.filter_off, 0); in TEST()
3314 md.filter_off = 1; in TEST()
3318 EXPECT_EQ(md.filter_off, 1); in TEST()