[PATCH] alpha: key management syscalls
authorRichard Henderson <rth@twiddle.net>
Thu, 21 Apr 2005 18:28:26 +0000 (11:28 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 21 Apr 2005 18:28:26 +0000 (11:28 -0700)
Allocate syscall numbers for add_key, request_key, keyctl.

arch/alpha/kernel/systbls.S
include/asm-alpha/unistd.h

index faab8c2..3864b33 100644 (file)
@@ -458,6 +458,9 @@ sys_call_table:
        .quad sys_mq_notify
        .quad sys_mq_getsetattr
        .quad sys_waitid
        .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
 
        .size sys_call_table, . - sys_call_table
        .type sys_call_table, @object
index c4e70e8..535bc42 100644 (file)
 #define __NR_mq_notify                 436
 #define __NR_mq_getsetattr             437
 #define __NR_waitid                    438
 #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__)
 
 
 #if defined(__GNUC__)