Re: access_ok inside kernelspace

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 19 Oct 1999 12:12:44 +0100 (BST)


> tigran@sco.COM said:
> > calling sys_function() functions directly doesn't look right:
>
> They're usually static, for a start.
>
> What you probably want to do is jump directly to the appropriate vector as
> stored in the syscall_table, without going through the int 0x80 vector to do so.

For the generic case (ie including non PC) Im not actually sure you can assume
a syscall can make a syscall.

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