Re: access_ok inside kernelspace

Tigran Aivazian (tigran@sco.COM)
Tue, 19 Oct 1999 13:18:19 +0100 (BST)


On Tue, 19 Oct 1999, Ingo Molnar wrote:
> You can pick whichever variant you prefer - obviously you should pick the
> fastest possible one. A number of system call base functions are exported
> btw. as a kernel symbol, so you can link your module eg. against
> sys_close() just fine.

sys_close() and sys_tz() are the only ones exported on x86, I think. But
sys_call_table[] is also exported so presumably it is the best to make
a system call from a module via sys_call_table[__NR_XXX] pointer.

Regards,
Tigran.

-
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/