Date: Sun, 25 Jan 2009 18:57:51 +0100 From: Ed Schouten <ed@80386.nl> To: Bruce Evans <brde@optusnet.com.au> Cc: svn-src-head@FreeBSD.org, Tom Rhodes <trhodes@FreeBSD.org>, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r187607 - head/usr.bin/truss Message-ID: <20090125175751.GC17198@hoeg.nl> In-Reply-To: <20090126041926.J43097@delplex.bde.org> References: <200901230058.n0N0wEjY026935@svn.freebsd.org> <20090125162123.GB17198@hoeg.nl> <20090126041926.J43097@delplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--UPT3ojh+0CqEDtpF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Bruce, * Bruce Evans <brde@optusnet.com.au> wrote: > I think it is the longstanding kernel bug in permissions checking > generally, that the init process and some other non-kernel processes > are bogusly marked as P_SYSTEM. I use the following fix (this may > be incomplete): > > <snip> I just looked at the patch and it seems to do the right thing. I can't seem to find any places in the kernel where it makes sense to let init(8) use P_SYSTEM (except kern_sig.c ofcourse). I like the cleanups you made, especially the comparisons with initproc instead of using the pid. Would you mind if I commit your patch to SVN? --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --UPT3ojh+0CqEDtpF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkl8qB8ACgkQ52SDGA2eCwUhBACfUgola4AdF0BACbL9OUKhDYc8 b3UAn0rnR6iwO9JT66/Qhim+DbfDiLEg =Y7SU -----END PGP SIGNATURE----- --UPT3ojh+0CqEDtpF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090125175751.GC17198>