Re: Calling syscalls from x86-64 kernel results in a crash on Opteron machines

Andrea Arcangeli
2004-09-13T20:09:14Z

On Mon, Sep 13, 2004 at 09:41:48AM -0700, Stephen Hemminger wrote:
> Actually, the fact that system calls work in kernel space I would consider
> a BUG. The int 0x80 handler should oops or at least kill the offending
> thread for security and robustness reasons.

kernel_thread is using int 0x80 in x86, and yes, that should better
implemented without it (like we did in x86-64).