From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 30 Jan 2004 20:55:15 +0100 From: Arjan van de Ven Subject: Re: 2.6.2-rc2-mm2 Message-ID: <20040130195515.GB2977@devserv.devel.redhat.com> References: <20040130014108.09c964fd.akpm@osdl.org> <1075489136.5995.30.camel@moria.arnor.net> <200401302007.26333.thomas.schlichter@web.de> <1075490624.4272.7.camel@laptop.fenrus.com> <20040130114701.18aec4e8.akpm@osdl.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RIYY1s2vRbPFwWeW" Content-Disposition: inline In-Reply-To: <20040130114701.18aec4e8.akpm@osdl.org> Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: thomas.schlichter@web.de, thoffman@arnor.net, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Tim Hockin List-ID: --RIYY1s2vRbPFwWeW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 30, 2004 at 11:47:01AM -0800, Andrew Morton wrote: > Arjan van de Ven wrote: > > > >=20 > > directly calling sys_ANYTHING sounds really wrong to me... > >=20 >=20 > 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... >=20 > 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 ;) --RIYY1s2vRbPFwWeW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAGrajxULwo51rQBIRAtpXAJ9NQMPknVM1vFv8kClzjBUkHRtzjgCdHCTd yrRWfjnDDOcDKp7FFX5Y060= =cbjN -----END PGP SIGNATURE----- --RIYY1s2vRbPFwWeW-- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org