Re: access_ok inside kernelspace

Tigran Aivazian (tigran@sco.COM)
Tue, 19 Oct 1999 15:41:07 +0100 (BST)


On Tue, 19 Oct 1999, Alan Cox wrote:
> 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

Shouldn't then sys_call_table be exported via arch/XXX/kernel/XXX_ksyms.c
instead of via kernel/ksyms.c so that it may be used only on those
architectures where appropriate?

Or is it useful on all architectures but each arch-specific code that uses
it should interpret it in its own way. Even so, it should live in
arch-specific ksyms.c so that future architectures don't export it
unnecessarily, until it is in a useable shape and form.

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/