From owner-freebsd-security Mon Jun 11 19:10: 2 2001 Delivered-To: freebsd-security@freebsd.org Received: from mail.noos.fr (claudel.noos.net [212.198.2.83]) by hub.freebsd.org (Postfix) with ESMTP id 0CF5D37B405 for ; Mon, 11 Jun 2001 19:09:48 -0700 (PDT) (envelope-from clefevre@redirect.to) Received: (qmail 597862 invoked by uid 0); 12 Jun 2001 02:09:46 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.228.81]) (envelope-sender ) by 212.198.2.83 (qmail-ldap-1.03) with SMTP for ; 12 Jun 2001 02:09:46 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.3/8.11.3) id f5C29jY51403; Tue, 12 Jun 2001 04:09:45 +0200 (CEST) (envelope-from clefevre@redirect.to) To: jseger@FreeBSD.org Cc: security@FreeBSD.org Subject: Re: SGID make References: <009501c0ef65$23482580$0600a8c0@ibmka.internethelp.ru> <20010607114714.R1832@superconductor.rush.net> X-Face: V|+c;4!|B?E%BE^{E6);aI.[<97Zd*>^#%Y5Cxv;%Y[PT-LW3;A:fRrJ8+^k"e7@+30g0YD0*^^3jgyShN7o?a]C la*Zv'5NA,=963bM%J^o]C Reply-To: Cyrille Lefevre In-Reply-To: <20010607114714.R1832@superconductor.rush.net> Mail-Copies-To: never From: Cyrille Lefevre Date: 12 Jun 2001 04:09:44 +0200 Message-ID: Lines: 27 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Alfred Perlstein writes: > * Nickolay A. Kritsky [010607 11:19] wrote: > > Can anybody tell me why /usr/local/bin/make in FreeBSD 4.2 is SGID > > kmem? I thought that make is intended only for compiling huge C > > programs, isnt it? > > > > #ls -l /usr/local/bin/make > > -rwxr-sr-x 1 root kmem 445486 May 14 15:58 /usr/local/bin/make > > As people have stated this isn't our make, it's most likely GNU make > installed without using the port. > > The reason for the sgid'ness is most likely so that the binary can > query the system load average to optimize parrallel compliation > without overwhelming the system. > > Although, this is sort of silly as the info should be available via > sysctl in FreeBSD. Justin, are you willing to update gmake for using sysctl instead of reading kmem ? if no, I'll do it when I'll have some time. Cyrille. -- home: mailto:clefevre@redirect.to UNIX is user-friendly; it's just particular work: mailto:Cyrille.Lefevre@edf.fr about who it chooses to be friends with. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message