Messages in this thread | | | Date | Tue, 19 Oct 1999 10:14:57 +0100 (BST) | From | Tigran Aivazian <> | Subject | Re: access_ok inside kernelspace |
| |
On Tue, 19 Oct 1999, Matthew Wilcox wrote:
> On Tue, Oct 19, 1999 at 09:18:40AM +0200, Ingo Molnar wrote: > > it's a bug, system calls really should work from within system calls. > > Ugh, really? It's going to slow down Linux/PA-RISC's syscall handler if > we have to check whether we're already in kernel mode. What's wrong with > calling sys_sysfs()?
Well, kernel/kmod.c and all other places call system calls via _syscallX() macro, i.e. actually doing int 0x80 trap. Why do *they* do it that way?
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/
| |