diff mbox series

[v2,7/7] ia64: add __IGNORE* entries in asm/unistd.h

Message ID 1538057720-3392-8-git-send-email-firoz.khan@linaro.org
State New
Headers show
Series System call table generation support | expand

Commit Message

Firoz Khan Sept. 27, 2018, 2:15 p.m. UTC
Add __IGNORE* entries for perf_event_open, seccomp, pkey_
mprotect, pkey_alloc, pkey_free, statx, 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/ia64/include/asm/unistd.h | 9 +++++++++
 1 file changed, 9 insertions(+)

-- 
1.9.1

Comments

Arnd Bergmann Sept. 28, 2018, 12:09 p.m. UTC | #1
On Thu, Sep 27, 2018 at 4:16 PM Firoz Khan <firoz.khan@linaro.org> wrote:
>

> Add __IGNORE* entries for perf_event_open, seccomp, pkey_

> mprotect, pkey_alloc, pkey_free, statx, 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>

> ---


This patch looks wrong: We don't want to ignore the fact that the
syscalls are missing here, we should add them instead. I'd leave
that for a follow-up though, we may want to add further ones that
are currently marked as __IGNORE.

      Arnd
diff mbox series

Patch

diff --git a/arch/ia64/include/asm/unistd.h b/arch/ia64/include/asm/unistd.h
index 397b143..a0941e6 100644
--- a/arch/ia64/include/asm/unistd.h
+++ b/arch/ia64/include/asm/unistd.h
@@ -26,6 +26,15 @@ 
 #define __IGNORE_vfork		/* clone() */
 #define __IGNORE_umount2	/* umount() */
 
+#define __IGNORE_perf_event_open
+#define __IGNORE_seccomp
+#define __IGNORE_pkey_mprotect
+#define __IGNORE_pkey_alloc
+#define __IGNORE_pkey_free
+#define __IGNORE_statx
+#define __IGNORE_io_pgetevents
+#define __IGNORE_rseq
+
 #if !defined(__ASSEMBLY__) && !defined(ASSEMBLER)
 
 #include <linux/types.h>