X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-i386%2Funistd.h;h=c093c8bba146a09d5d1dff587237118bf67c37ca;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=be8c6ac56c7c5f7a1207fb020fd9f756d3e278f5;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h index be8c6ac56..c093c8bba 100644 --- a/include/asm-i386/unistd.h +++ b/include/asm-i386/unistd.h @@ -290,14 +290,20 @@ #define __NR_mq_getsetattr (__NR_mq_open+5) #define __NR_sys_kexec_load 283 #define __NR_waitid 284 +/* #define __NR_sys_setaltroot 285 */ +#define __NR_add_key 286 +#define __NR_request_key 287 +#define __NR_keyctl 288 -#define NR_syscalls 285 - -/* user-visible error numbers are in the range -1 - -124: see */ +#define NR_syscalls 289 +/* + * user-visible error numbers are in the range -1 - -128: see + * + */ #define __syscall_return(type, res) \ do { \ - if ((unsigned long)(res) >= (unsigned long)(-125)) { \ + if ((unsigned long)(res) >= (unsigned long)(-(128 + 1))) { \ errno = -(res); \ res = -1; \ } \