Re: access_ok inside kernelspace

Ingo Molnar (mingo@chiara.csoma.elte.hu)
Tue, 19 Oct 1999 13:42:54 +0200 (CEST)


On Tue, 19 Oct 1999, Alan Cox wrote:

> > > calling sys_function() functions directly doesn't look right:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > They're usually static, for a start.
> >
> > What you probably want to do is jump directly to the appropriate vector as
> > stored in the syscall_table, without going through the int 0x80 vector to do so.
>
> For the generic case (ie including non PC) Im not actually sure you can assume
> a syscall can make a syscall.

do you mean the above 'calling sys_*() function directly' case, or the
_syscallX() case?

-- mingo

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