Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dseccomp.h98 unsigned long filter_off, void __user *data);
100 unsigned long filter_off, void __user *data);
108 unsigned long filter_off, in seccomp_get_metadata() argument
/Linux-v4.19/kernel/
Dseccomp.c988 unsigned long filter_off) in get_nth_filter() argument
1012 if (filter_off >= count) { in get_nth_filter()
1017 count -= filter_off; in get_nth_filter()
1033 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter() argument
1045 filter = get_nth_filter(task, filter_off); in seccomp_get_filter()
1085 if (size < sizeof(kmd.filter_off)) in seccomp_get_metadata()
1088 if (copy_from_user(&kmd.filter_off, data, sizeof(kmd.filter_off))) in seccomp_get_metadata()
1091 filter = get_nth_filter(task, kmd.filter_off); in seccomp_get_metadata()
/Linux-v4.19/include/uapi/linux/
Dptrace.h72 __u64 filter_off; /* Input: which filter */ member
/Linux-v4.19/tools/testing/selftests/seccomp/
Dseccomp_bpf.c152 __u64 filter_off; /* Input: which filter */ member
2915 md.filter_off = 0; in TEST()
2924 EXPECT_EQ(md.filter_off, 0); in TEST()
2926 md.filter_off = 1; in TEST()
2930 EXPECT_EQ(md.filter_off, 1); in TEST()