From owner-freebsd-current Sun Nov 16 23:02:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA17451 for current-outgoing; Sun, 16 Nov 1997 23:02:44 -0800 (PST) (envelope-from owner-freebsd-current) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA17435 for ; Sun, 16 Nov 1997 23:02:35 -0800 (PST) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.8.8/frmug-2.1/nospam) with UUCP id IAA28540 for freebsd-current@FreeBSD.ORG; Mon, 17 Nov 1997 08:02:27 +0100 (CET) (envelope-from roberto@keltia.freenix.fr) Received: (from roberto@localhost) by keltia.freenix.fr (8.8.8/keltia-2.13/nospam) id HAA03009; Mon, 17 Nov 1997 07:58:40 +0100 (CET) (envelope-from roberto) Message-ID: <19971117075839.20126@keltia.freenix.fr> Date: Mon, 17 Nov 1997 07:58:39 +0100 From: Ollivier Robert To: freebsd-current@FreeBSD.ORG Subject: Re: Which setuid's don't work? References: <199711162228.WAA01654@awfulhak.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: ; from Evan Champion on Sun, Nov 16, 1997 at 11:32:39PM -0500 X-Operating-System: FreeBSD 3.0-CURRENT ctm#3818 AMD-K6 MMX @ 208 MHz Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to Evan Champion: > I tried a few different applications this afternoon, including perl5, and > removed any hope of them using anything but seteuid() and they all worked > just fine. I think we do not use seteuid/setgid because we don't use POSIX saved uids anymore (sysctl kern.saved_ids is 0). > I turned on useshrplib because it doesn't seem useful to me to statically > link against libperl if you're going to use a shared libc and co... Be prepared to take a 20-25% performance hit with a shared libperl. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #49: Sat Nov 15 20:03:33 CET 1997