[Devel] Re: [RFC][PATCH 4/7] UBC: syscalls (user interface)

Kirill Korotaev dev at sw.ru
Thu Aug 17 05:02:14 PDT 2006


Greg KH wrote:
> On Wed, Aug 16, 2006 at 07:39:43PM +0400, Kirill Korotaev wrote:
> 
>>--- ./include/asm-sparc/unistd.h.arsys	2006-07-10 12:39:19.000000000 +0400
>>+++ ./include/asm-sparc/unistd.h	2006-08-10 17:08:19.000000000 +0400
>>@@ -318,6 +318,9 @@
>>#define __NR_unshare		299
>>#define __NR_set_robust_list	300
>>#define __NR_get_robust_list	301
>>+#define __NR_getluid		302
>>+#define __NR_setluid		303
>>+#define __NR_setublimit		304
> 
> 
> Hm, you seem to be ignoring this:
> 
> 
>>#ifdef __KERNEL__
>>/* WARNING: You MAY NOT add syscall numbers larger than 301, since
> 
> 
> Same thing for sparc64:
[...skipped...]

Oh, will fix NR_SYSCALLS in entry.S and the comment in unistd.h. Thanks for catching this!

Thanks,
Kirill




More information about the Devel mailing list