diff mbox series

[v2,5/5] m68k: added __IGNORE* entries in asm/unistd.h

Message ID 1537455973-12468-6-git-send-email-firoz.khan@linaro.org
State Superseded
Headers show
Series System call table generation support | expand

Commit Message

Firoz Khan Sept. 20, 2018, 3:06 p.m. UTC
Added few __IGNORE* entries for seccomp, pkey_mprotect,
pkey_alloc, pkey_free, io_pgetevents and rseq in the file
asm/unistd.h as it is correct to keep __IGNORE* entry in
non uapi header asm/unistd.h while uapi/asm/unistd.h must
hold information only useful for user space applications.

Signed-off-by: Firoz Khan <firoz.khan@linaro.org>

---
 arch/m68k/include/asm/unistd.h | 7 +++++++
 1 file changed, 7 insertions(+)

-- 
1.9.1

Comments

Geert Uytterhoeven Sept. 24, 2018, 7:05 a.m. UTC | #1
On Thu, Sep 20, 2018 at 5:07 PM Firoz Khan <firoz.khan@linaro.org> wrote:
> Added few __IGNORE* entries for seccomp, pkey_mprotect,

> pkey_alloc, pkey_free, io_pgetevents and rseq in the file

> asm/unistd.h as it is correct to keep __IGNORE* entry in

> non uapi header asm/unistd.h while uapi/asm/unistd.h must

> hold information only useful for user space applications.

>

> Signed-off-by: Firoz Khan <firoz.khan@linaro.org>


Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>


Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
diff mbox series

Patch

diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h
index 5072e94..cc5f640 100644
--- a/arch/m68k/include/asm/unistd.h
+++ b/arch/m68k/include/asm/unistd.h
@@ -31,4 +31,11 @@ 
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
 
+#define __IGNORE_seccomp
+#define __IGNORE_pkey_mprotect
+#define __IGNORE_pkey_alloc
+#define __IGNORE_pkey_free
+#define __IGNORE_io_pgetevents
+#define __IGNORE_rseq
+
 #endif /* _ASM_M68K_UNISTD_H_ */