aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2005-04-21 14:28:26 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 14:28:26 -0400
commit40b7bc062cdacb3883bb0f94eb122b8336af5b36 (patch)
treede1f7f2e59cf8ada9120699213564b7783860d00
parentd8470b7c13e11c18cf14a7e3180f0b00e715e4f0 (diff)
[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 faab8c2a03eb..3864b33562ee 100644
--- a/arch/alpha/kernel/systbls.S
+++ b/arch/alpha/kernel/systbls.S
@@ -458,6 +458,9 @@ sys_call_table:
458 .quad sys_mq_notify 458 .quad sys_mq_notify
459 .quad sys_mq_getsetattr 459 .quad sys_mq_getsetattr
460 .quad sys_waitid 460 .quad sys_waitid
461 .quad sys_add_key
462 .quad sys_request_key /* 440 */
463 .quad sys_keyctl
461 464
462 .size sys_call_table, . - sys_call_table 465 .size sys_call_table, . - sys_call_table
463 .type sys_call_table, @object 466 .type sys_call_table, @object
diff --git a/include/asm-alpha/unistd.h b/include/asm-alpha/unistd.h
index c4e70e8617eb..535bc425f243 100644
--- a/include/asm-alpha/unistd.h
+++ b/include/asm-alpha/unistd.h
@@ -374,8 +374,11 @@
374#define __NR_mq_notify 436 374#define __NR_mq_notify 436
375#define __NR_mq_getsetattr 437 375#define __NR_mq_getsetattr 437
376#define __NR_waitid 438 376#define __NR_waitid 438
377#define __NR_add_key 439
378#define __NR_request_key 440
379#define __NR_keyctl 441
377 380
378#define NR_SYSCALLS 439 381#define NR_SYSCALLS 442
379 382
380#if defined(__GNUC__) 383#if defined(__GNUC__)
381 384