All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cris: Wire up missing syscalls
@ 2015-05-06 13:48 Chen Gang
  2015-06-03 10:20 ` Jesper Nilsson
  0 siblings, 1 reply; 10+ messages in thread
From: Chen Gang @ 2015-05-06 13:48 UTC (permalink / raw)
  To: starvik, jesper.nilsson
  Cc: rabin, Greg Kroah-Hartman, linux-cris-kernel,
	linux-kernel@vger.kernel.org

The related warnings:

    CALL    scripts/checksyscalls.sh
  <stdin>:1229:2: warning: #warning syscall sched_setattr not implemented [-Wcpp]
  <stdin>:1232:2: warning: #warning syscall sched_getattr not implemented [-Wcpp]
  <stdin>:1235:2: warning: #warning syscall renameat2 not implemented [-Wcpp]
  <stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
  <stdin>:1241:2: warning: #warning syscall getrandom not implemented [-Wcpp]
  <stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
  <stdin>:1247:2: warning: #warning syscall bpf not implemented [-Wcpp]
  <stdin>:1250:2: warning: #warning syscall execveat not implemented [-Wcpp]

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
 arch/cris/arch-v10/kernel/entry.S   | 8 ++++++++
 arch/cris/arch-v32/kernel/entry.S   | 8 ++++++++
 arch/cris/include/uapi/asm/unistd.h | 8 ++++++++
 3 files changed, 24 insertions(+)

diff --git a/arch/cris/arch-v10/kernel/entry.S b/arch/cris/arch-v10/kernel/entry.S
index 81570fc..d94c520 100644
--- a/arch/cris/arch-v10/kernel/entry.S
+++ b/arch/cris/arch-v10/kernel/entry.S
@@ -955,6 +955,14 @@ sys_call_table:
 	.long sys_process_vm_writev
 	.long sys_kcmp			/* 350 */
 	.long sys_finit_module
+	.long _sys_sched_setattr
+	.long _sys_sched_getattr
+	.long _sys_renameat2
+	.long _sys_seccomp		/* 355 */
+	.long _sys_getrandom
+	.long _sys_memfd_create
+	.long _sys_bpf
+	.long _sys_execveat
 
         /*
          * NOTE!! This doesn't have to be exact - we just have
diff --git a/arch/cris/arch-v32/kernel/entry.S b/arch/cris/arch-v32/kernel/entry.S
index 026a0b2..62a82d8 100644
--- a/arch/cris/arch-v32/kernel/entry.S
+++ b/arch/cris/arch-v32/kernel/entry.S
@@ -875,6 +875,14 @@ sys_call_table:
 	.long sys_process_vm_writev
 	.long sys_kcmp			/* 350 */
 	.long sys_finit_module
+	.long _sys_sched_setattr
+	.long _sys_sched_getattr
+	.long _sys_renameat2
+	.long _sys_seccomp		/* 355 */
+	.long _sys_getrandom
+	.long _sys_memfd_create
+	.long _sys_bpf
+	.long _sys_execveat
 
 	/*
 	 * NOTE!! This doesn't have to be exact - we just have
diff --git a/arch/cris/include/uapi/asm/unistd.h b/arch/cris/include/uapi/asm/unistd.h
index f3287fa..062b648 100644
--- a/arch/cris/include/uapi/asm/unistd.h
+++ b/arch/cris/include/uapi/asm/unistd.h
@@ -356,5 +356,13 @@
 #define __NR_process_vm_writev	349
 #define __NR_kcmp		350
 #define __NR_finit_module	351
+#define __NR_sched_setattr	352
+#define __NR_sched_getattr	353
+#define __NR_renameat2		354
+#define __NR_seccomp		355
+#define __NR_getrandom		356
+#define __NR_memfd_create	357
+#define __NR_bpf		358
+#define __NR_execveat		359
 
 #endif /* _UAPI_ASM_CRIS_UNISTD_H_ */
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-06-06  0:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-06 13:48 [PATCH] cris: Wire up missing syscalls Chen Gang
2015-06-03 10:20 ` Jesper Nilsson
2015-06-03 11:36   ` Chen Gang
2015-06-03 15:04     ` Jesper Nilsson
2015-06-03 15:23       ` Hans-Peter Nilsson
2015-06-06  0:15         ` Chen Gang
2015-06-06  0:16         ` Chen Gang
2015-06-04  7:20       ` Jesper Nilsson
2015-06-04 12:46         ` Chen Gang
2015-06-04 12:48         ` Chen Gang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.