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

/linux-master/include/linux/
H A Dseccomp.h90 unsigned long filter_off, void __user *data);
92 unsigned long filter_off, void __user *data);
100 unsigned long filter_off,
99 seccomp_get_metadata(struct task_struct *task, unsigned long filter_off, void __user *data) argument
/linux-master/include/uapi/linux/
H A Dptrace.h72 __u64 filter_off; /* Input: which filter */ member in struct:seccomp_metadata
/linux-master/kernel/
H A Dseccomp.c2113 unsigned long filter_off)
2137 if (filter_off >= count) {
2142 count -= filter_off;
2158 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, argument
2170 filter = get_nth_filter(task, filter_off);
2210 if (size < sizeof(kmd.filter_off))
2213 if (copy_from_user(&kmd.filter_off, data, sizeof(kmd.filter_off)))
2216 filter = get_nth_filter(task, kmd.filter_off);
2112 get_nth_filter(struct task_struct *task, unsigned long filter_off) argument
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c183 __u64 filter_off; /* Input: which filter */ member in struct:seccomp_metadata
3320 md.filter_off = 0;
3329 EXPECT_EQ(md.filter_off, 0);
3331 md.filter_off = 1;
3335 EXPECT_EQ(md.filter_off, 1);

Completed in 126 milliseconds