mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
selftests/seccomp: Add hard-coded __NR_uretprobe for x86_64
Since headers don't always follow the selftests around correct, explicitly include the __NR_uretprobe syscall for better test coverage. Signed-off-by: Kees Cook <[email protected]>
This commit is contained in:
1 parent
a64dcfb451
commit
18f7686a1c
1 file changed
+6
@@ -155,6 +155,12 @@ struct seccomp_data {
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef __NR_uretprobe
|
||||
# if defined(__x86_64__)
|
||||
# define __NR_uretprobe 335
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SECCOMP_SET_MODE_STRICT
|
||||
#define SECCOMP_SET_MODE_STRICT 0
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user