Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dseccomp.h108 unsigned long filter_off, void __user *data);
110 unsigned long filter_off, void __user *data);
118 unsigned long filter_off, in seccomp_get_metadata() argument
/Linux-v5.15/kernel/
Dseccomp.c2002 unsigned long filter_off) in get_nth_filter() argument
2026 if (filter_off >= count) { in get_nth_filter()
2031 count -= filter_off; in get_nth_filter()
2047 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter() argument
2059 filter = get_nth_filter(task, filter_off); in seccomp_get_filter()
2099 if (size < sizeof(kmd.filter_off)) in seccomp_get_metadata()
2102 if (copy_from_user(&kmd.filter_off, data, sizeof(kmd.filter_off))) in seccomp_get_metadata()
2105 filter = get_nth_filter(task, kmd.filter_off); in seccomp_get_metadata()
/Linux-v5.15/include/uapi/linux/
Dptrace.h72 __u64 filter_off; /* Input: which filter */ member
/Linux-v5.15/tools/testing/selftests/seccomp/
Dseccomp_bpf.c176 __u64 filter_off; /* Input: which filter */ member
3252 md.filter_off = 0; in TEST()
3261 EXPECT_EQ(md.filter_off, 0); in TEST()
3263 md.filter_off = 1; in TEST()
3267 EXPECT_EQ(md.filter_off, 1); in TEST()