Re: access_ok inside kernelspace

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


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

Who says sys_call_table[__NR_XXX] is a pointer to a function or even exists
in that form on non x86 machines. Think about the portability side

Alan

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