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

From: Andrea Arcangeli
Date: Mon Sep 13 2004 - 15:12:28 EST


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).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/