Re: access_ok inside kernelspace

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


> So, can one summarize that:
>
> a) modules should call system calls via sys_call_table[] wrapped (if
> necessary, i.e. if there is no user memory access) in
> setfs(getds())/setfs(old_fs).
>
> b) non-modules should call them usually via sys_XXX() functions, except
> special cases where they use inlined _syscallX() in order not to make a
> function call (stack issues).
>

I dont think so

>
>

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