Re: access_ok inside kernelspace

David Woodhouse (David.Woodhouse@mvhi.com)
Tue, 19 Oct 1999 11:59:39 +0100


tigran@sco.COM said:
> 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.

Actually, I had assumed that this was what _syscallX() already did in kernel
space.

---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 7976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.

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