mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
selftests/seccomp: Add hard-coded __NR_uprobe for x86_64
This complements the commit 18f7686a1c ("selftests/seccomp:
Add hard-coded __NR_uretprobe for x86_64").
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Link: https://patch.msgid.link/ac_BAMSggw-_ABPE@redhat.com
Signed-off-by: Kees Cook <kees@kernel.org>
This commit is contained in:
parent
9448598b22
commit
41fa043273
|
|
@ -170,6 +170,12 @@ struct seccomp_data {
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef __NR_uprobe
|
||||
# if defined(__x86_64__)
|
||||
# define __NR_uprobe 336
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SECCOMP_SET_MODE_STRICT
|
||||
#define SECCOMP_SET_MODE_STRICT 0
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user