Date: 12 Jun 2001 04:09:44 +0200 From: Cyrille Lefevre <clefevre-lists@noos.fr> To: jseger@FreeBSD.org Cc: security@FreeBSD.org Subject: Re: SGID make Message-ID: <ofruphxz.fsf@gits.dyndns.org> In-Reply-To: <20010607114714.R1832@superconductor.rush.net> References: <009501c0ef65$23482580$0600a8c0@ibmka.internethelp.ru> <20010607114714.R1832@superconductor.rush.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein <bright@rush.net> writes: > * Nickolay A. Kritsky <nkritsky@internethelp.ru> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ofruphxz.fsf>