tools/arch/x86/include/uapi/asm/unistd_32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Typo error for __NR_seccomp
ifdef -> ifndef
Signed-off-by: Vijayendra Suman <vijayendra.suman@oracle.com>
---
tools/arch/x86/include/uapi/asm/unistd_32.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/arch/x86/include/uapi/asm/unistd_32.h b/tools/arch/x86/include/uapi/asm/unistd_32.h
index 4798f9d18fe8..9de35df1afc3 100644
--- a/tools/arch/x86/include/uapi/asm/unistd_32.h
+++ b/tools/arch/x86/include/uapi/asm/unistd_32.h
@@ -26,6 +26,6 @@
#ifndef __NR_setns
#define __NR_setns 346
#endif
-#ifdef __NR_seccomp
+#ifndef __NR_seccomp
#define __NR_seccomp 354
#endif
--
2.41.0
On Fri, Sep 08, 2023 at 10:35:32AM -0700, Vijayendra Suman wrote: > Typo error for __NR_seccomp > > ifdef -> ifndef > > Signed-off-by: Vijayendra Suman <vijayendra.suman@oracle.com> Acked-by: Tycho Andersen <tycho@tycho.pizza>
On Fri, Sep 8, 2023 at 10:36 AM Vijayendra Suman <vijayendra.suman@oracle.com> wrote: > > Typo error for __NR_seccomp > > ifdef -> ifndef > Acked-by: Andrei Vagin <avagin@gmail.com> > Signed-off-by: Vijayendra Suman <vijayendra.suman@oracle.com> > --- > tools/arch/x86/include/uapi/asm/unistd_32.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/arch/x86/include/uapi/asm/unistd_32.h b/tools/arch/x86/include/uapi/asm/unistd_32.h > index 4798f9d18fe8..9de35df1afc3 100644 > --- a/tools/arch/x86/include/uapi/asm/unistd_32.h > +++ b/tools/arch/x86/include/uapi/asm/unistd_32.h > @@ -26,6 +26,6 @@ > #ifndef __NR_setns > #define __NR_setns 346 > #endif > -#ifdef __NR_seccomp > +#ifndef __NR_seccomp > #define __NR_seccomp 354 > #endif > -- > 2.41.0 >
© 2016 - 2025 Red Hat, Inc.