selftests/seccomp: Add hard-coded __NR_uretprobe for x86_64
Subsystems (2)
PATCH 1/1 selftests/seccomp: Add hard-coded __NR_uretprobe for x86_64
This complements the commit 18f7686a1ce6 ("selftests/seccomp:
Add hard-coded __NR_uretprobe for x86_64").
--- tools/testing/selftests/seccomp/seccomp_bpf.c | 6 ++++++ 1 file changed, 6 insertions(+)
tools/testing/selftests/seccomp/seccomp_bpf.c +6 -0
@@ -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
Signature · 1 line
2.52.0
Quoted 3 lines · Oleg Nesterov
This complements the commit
18f7686a1ce6("selftests/seccomp:
Add hard-coded__NR_uretprobeforx86_64").
Yes, and I forgot to change the subject line ;)
Please ignore, will resend in reply to this email.
Oleg.
Quoted 25 lines
Signed-off-by Oleg Nesterov <[email protected]>--- tools/testing/selftests/seccomp/seccomp_bpf.c | 6 ++++++ 1 file changed, 6 insertions(+)tools/testing/selftests/seccomp/seccomp_bpf.c +6
-0@@ -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 Signature · 1 line
2.52.0
PATCH 1/1 selftests/seccomp: Add hard-coded __NR_uprobe for x86_64
In reply to Oleg NesterovThis complements the commit 18f7686a1ce6 ("selftests/seccomp:
Add hard-coded __NR_uretprobe for x86_64").
--- tools/testing/selftests/seccomp/seccomp_bpf.c | 6 ++++++ 1 file changed, 6 insertions(+)
tools/testing/selftests/seccomp/seccomp_bpf.c +6 -0
@@ -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
Signature · 1 line
2.52.0
Re: (subset) [PATCH] selftests/seccomp: Add hard-coded __NR_uprobe for x86_64
Quoted 4 lines · Oleg Nesterov
This complements the commit
18f7686a1ce6("selftests/seccomp:
Add hard-coded__NR_uretprobeforx86_64").
Applied to for-next/seccomp, thanks!
[1/1] selftests/seccomp: Add hard-coded __NR_uprobe for x86_64
https://git.kernel.org/kees/c/41fa04327384
Take care,
Signature · 1 line
Kees Cook