Re: Potenitial security hole in the kernel

Kurt Roeckx (Q@ping.be)
Tue, 29 May 2001 01:46:35 +0200


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/