lkml.org 
[lkml]   [2003]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: syscall numbers larger than 255?
On Mon, 10 Nov 2003, Chris Friesen wrote:

>
> Just a quick and simple question for someone that knows the answer.
>
> Stock 2.4.20 for i386 uses syscalls up to 252. I want to add about a
> half-dozen new syscalls (forward porting stuff that we've got on 2.4.18).
>
> Does x86 support syscall numbers > 255? If yes, do I have to do
> anything special to use them? If not, what are my options?

Currently there's a discrepancy between include/asm-i386/unistd.h and
arch/i386/kernel/entry.S. While the first define function numbers up to
252, the entry.S file fill up the table up to 258 (epoll crosses the 255
boundary :).



- Davide


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.087 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site