Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dseccomp.h110 unsigned long filter_off, void __user *data);
112 unsigned long filter_off, void __user *data);
120 unsigned long filter_off, in seccomp_get_metadata() argument
/openbmc/linux/kernel/
H A Dseccomp.c2113 unsigned long filter_off) in get_nth_filter() argument
2137 if (filter_off >= count) { in get_nth_filter()
2142 count -= filter_off; in get_nth_filter()
2158 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter() argument
2170 filter = get_nth_filter(task, filter_off); in seccomp_get_filter()
2210 if (size < sizeof(kmd.filter_off)) in seccomp_get_metadata()
2213 if (copy_from_user(&kmd.filter_off, data, sizeof(kmd.filter_off))) in seccomp_get_metadata()
2216 filter = get_nth_filter(task, kmd.filter_off); in seccomp_get_metadata()
/openbmc/linux/include/uapi/linux/
H A Dptrace.h72 __u64 filter_off; /* Input: which filter */ member
/openbmc/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c183 __u64 filter_off; /* Input: which filter */ member
3321 md.filter_off = 0; in TEST()
3330 EXPECT_EQ(md.filter_off, 0); in TEST()
3332 md.filter_off = 1; in TEST()
3336 EXPECT_EQ(md.filter_off, 1); in TEST()