summaryrefslogtreecommitdiff
path: root/arch/sparc/include/uapi/asm
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-08-06 14:50:52 -0700
committerDavid S. Miller <davem@davemloft.net>2014-08-06 14:50:52 -0700
commitcaa9199b0efda9fb45f6cf5b5dd5d1be79337d7e (patch)
treebda8ef7e227824a4868bff352f9e95f281b57800 /arch/sparc/include/uapi/asm
parent551d57ff225b43f239808216468e962bcea2edb2 (diff)
sparc: Hook up seccomp and getrandom system calls.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/uapi/asm')
-rw-r--r--arch/sparc/include/uapi/asm/unistd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sparc/include/uapi/asm/unistd.h b/arch/sparc/include/uapi/asm/unistd.h
index 42f2bca1d338..886cab456e1b 100644
--- a/arch/sparc/include/uapi/asm/unistd.h
+++ b/arch/sparc/include/uapi/asm/unistd.h
@@ -411,8 +411,10 @@
#define __NR_sched_setattr 343
#define __NR_sched_getattr 344
#define __NR_renameat2 345
+#define __NR_seccomp 346
+#define __NR_getrandom 347
-#define NR_syscalls 346
+#define NR_syscalls 348
/* Bitmask values returned from kern_features system call. */
#define KERN_FEATURE_MIXED_MODE_STACK 0x00000001