From owner-freebsd-hackers Fri May 18 2:57:32 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-32.dsl.lsan03.pacbell.net [63.207.60.32]) by hub.freebsd.org (Postfix) with ESMTP id DFAC537B422; Fri, 18 May 2001 02:57:28 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 32A34678AC; Fri, 18 May 2001 02:57:28 -0700 (PDT) Date: Fri, 18 May 2001 02:57:27 -0700 From: Kris Kennaway To: Peter Wemm Cc: Alfred Perlstein , Dima Dorfman , hackers@FreeBSD.ORG, tmm@FreeBSD.org Subject: Re: De-setgid-ifying ipcs(1) Message-ID: <20010518025727.A98864@xor.obsecurity.org> References: <20010518014032.N7118@superconductor.rush.net> <20010518081635.F366B380A@overcee.netplex.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010518081635.F366B380A@overcee.netplex.com.au>; from peter@wemm.org on Fri, May 18, 2001 at 01:16:35AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.ORG --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 18, 2001 at 01:16:35AM -0700, Peter Wemm wrote: > Alfred Perlstein wrote: > > * Dima Dorfman [010518 01:05] wrote: > > > Hi folks, > > >=20 > > > ipcs(1) is currently installed as setgid kmem. This isn't good for > > > obvious reasons. Moreover, the information it needs is easily > > > exported via sysctl. Below is a patch which adds the necessary sysctl > > > oids and changes ipcs(1) to use them. > [..] > > I'm glad you kept kmem backwards compatibility, as this is required > > for post mortem analysis of crashdumps. >=20 > Yes. Thanks! (and the same from me about the !use_sysctls thing) >=20 > Does anybody feel like fixing netstat(1) while we're at it? Thomas Moestl has patches for most of the setgid kmem applications - they were posted to -arch a while back, but didn't get all that much review. See http://people.FreeBSD.org/~tmm/ for the patches. Kris --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7BPIHWry0BWjoQKURAo4dAJ9w/lhvCUKrAyqML839BCFRVIwALACgwRXP HHOVShhueoCX/BGDju+1vG0= =SUCe -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message