Re: Potenitial security hole in the kernel

From: Kurt Roeckx (Q@ping.be)
Date: Mon May 28 2001 - 18:46:35 EST


On Tue, May 29, 2001 at 01:30:30AM +0200, Kurt Roeckx wrote:
> You should never "return" from userspace to kernelspace. The
> only way to go from user space to kernel space should be by using
> a system call.

If you were able to return to kernel space, it already means
you're running as kernel in the first place. There is no reason
to even do the return in the first place.

Kurt

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



This archive was generated by hypermail 2b29 : Thu May 31 2001 - 21:00:38 EST