summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2005-04-21 11:28:26 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 11:28:26 -0700
commit40b7bc062cdacb3883bb0f94eb122b8336af5b36 (patch)
treede1f7f2e59cf8ada9120699213564b7783860d00
parentd8470b7c13e11c18cf14a7e3180f0b00e715e4f0 (diff)
downloadop-kernel-dev-40b7bc062cdacb3883bb0f94eb122b8336af5b36.zip
op-kernel-dev-40b7bc062cdacb3883bb0f94eb122b8336af5b36.tar.gz
[PATCH] alpha: key management syscalls
Allocate syscall numbers for add_key, request_key, keyctl.
-rw-r--r--arch/alpha/kernel/systbls.S3
-rw-r--r--include/asm-alpha/unistd.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/alpha/kernel/systbls.S b/arch/alpha/kernel/systbls.S
index faab8c2..3864b33 100644
--- a/arch/alpha/kernel/systbls.S
+++ b/arch/alpha/kernel/systbls.S
@@ -458,6 +458,9 @@ sys_call_table:
.quad sys_mq_notify
.quad sys_mq_getsetattr
.quad sys_waitid
+ .quad sys_add_key
+ .quad sys_request_key /* 440 */
+ .quad sys_keyctl
.size sys_call_table, . - sys_call_table
.type sys_call_table, @object
diff --git a/include/asm-alpha/unistd.h b/include/asm-alpha/unistd.h
index c4e70e8..535bc42 100644
--- a/include/asm-alpha/unistd.h
+++ b/include/asm-alpha/unistd.h
@@ -374,8 +374,11 @@
#define __NR_mq_notify 436
#define __NR_mq_getsetattr 437
#define __NR_waitid 438
+#define __NR_add_key 439
+#define __NR_request_key 440
+#define __NR_keyctl 441
-#define NR_SYSCALLS 439
+#define NR_SYSCALLS 442
#if defined(__GNUC__)
OpenPOWER on IntegriCloud