Re: access_ok inside kernelspace

Tigran Aivazian (tigran@sco.COM)
Tue, 19 Oct 1999 12:45:00 +0100 (BST)


On Tue, 19 Oct 1999, Ingo Molnar wrote:
> why this vendetta against using sys_ functions directly? We dont go
> through a trap because in most cases that is unnecessery overhead. You are
> not being logical i think.

Yes, I understand that overhead is unnecessary. Which is why I now say -
"why do we do _syscallX() from kernel at all? (other than when we *have*
to)"

And example I give is exec_modprobe() doing close(i) when it could just do
sys_close(i).

Regards,
Tigran.

PS. Thank you for your patient explanations!

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