Skip to content

Commit cea4a90

Browse files
committed
Merge tag 'seccomp-v7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Pull seccomp update from Kees Cook: - selftests: Add hard-coded __NR_uprobe for x86_64 (Oleg Nesterov) * tag 'seccomp-v7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: selftests/seccomp: Add hard-coded __NR_uprobe for x86_64
2 parents 613b48b + 41fa043 commit cea4a90

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tools/testing/selftests/seccomp/seccomp_bpf.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,12 @@ struct seccomp_data {
170170
# endif
171171
#endif
172172

173+
#ifndef __NR_uprobe
174+
# if defined(__x86_64__)
175+
# define __NR_uprobe 336
176+
# endif
177+
#endif
178+
173179
#ifndef SECCOMP_SET_MODE_STRICT
174180
#define SECCOMP_SET_MODE_STRICT 0
175181
#endif

0 commit comments

Comments
 (0)