From owner-svn-src-head@FreeBSD.ORG Sun Jan 25 17:57:53 2009 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA5691065672; Sun, 25 Jan 2009 17:57:53 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 53E888FC08; Sun, 25 Jan 2009 17:57:53 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 0E9CA1CE4F; Sun, 25 Jan 2009 18:57:52 +0100 (CET) Date: Sun, 25 Jan 2009 18:57:51 +0100 From: Ed Schouten To: Bruce Evans Message-ID: <20090125175751.GC17198@hoeg.nl> References: <200901230058.n0N0wEjY026935@svn.freebsd.org> <20090125162123.GB17198@hoeg.nl> <20090126041926.J43097@delplex.bde.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UPT3ojh+0CqEDtpF" Content-Disposition: inline In-Reply-To: <20090126041926.J43097@delplex.bde.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: svn-src-head@FreeBSD.org, Tom Rhodes , svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r187607 - head/usr.bin/truss X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2009 17:57:54 -0000 --UPT3ojh+0CqEDtpF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Bruce, * Bruce Evans 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): > > 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 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--