Re: 2.6.2-rc2-mm2
From: Arjan van de Ven (arjanv_at_redhat.com)
Date: 01/30/04
- Previous message: Adrian Bunk: "[2.4 patch] fix a compile warning in tipar.c (fwd) (fwd)"
- In reply to: Andrew Morton: "Re: 2.6.2-rc2-mm2"
- Next in thread: Tim Hockin: "Re: 2.6.2-rc2-mm2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jan 2004 20:55:15 +0100 To: Andrew Morton <akpm@osdl.org>
On Fri, Jan 30, 2004 at 11:47:01AM -0800, Andrew Morton wrote:
> Arjan van de Ven <arjanv@redhat.com> wrote:
> >
> >
> > directly calling sys_ANYTHING sounds really wrong to me...
> >
>
> It's a philosophical thing. Is a kernel thread like a user process which
> happens to be running from the kernel or it is a piece of mainline kernel
> code which happens to have its own execution context? I rather favour the
> latter...
>
> In this case it looks like it will just happen to work, because
> nfsd_setuser() is executed by nfsd, and kernel threads are allowed to do
> copy_from_user() with the source in kernel memory. ick.
I didn't imply illegal, just ick ;)
-
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/
- application/pgp-signature attachment: stored
- Previous message: Adrian Bunk: "[2.4 patch] fix a compile warning in tipar.c (fwd) (fwd)"
- In reply to: Andrew Morton: "Re: 2.6.2-rc2-mm2"
- Next in thread: Tim Hockin: "Re: 2.6.2-rc2-mm2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|