From owner-freebsd-current Sat Dec 6 07:11:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA24210 for current-outgoing; Sat, 6 Dec 1997 07:11:45 -0800 (PST) (envelope-from owner-freebsd-current) Received: from conductor.synapse.net (conductor.synapse.net [199.84.54.18]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id HAA24203 for ; Sat, 6 Dec 1997 07:11:37 -0800 (PST) (envelope-from evanc@synapse.net) Received: (qmail 10246 invoked from network); 6 Dec 1997 15:11:35 -0000 Received: from cello.synapse.net (199.84.54.81) by conductor.synapse.net with SMTP; 6 Dec 1997 15:11:35 -0000 Date: Sat, 6 Dec 1997 10:11:35 -0500 (EST) From: Evan Champion Reply-To: Evan Champion To: freebsd-current@freebsd.org Subject: _POSIX_SAVED_IDS Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I was compiling a program (Kerberos 5) on BSD/OS a couple days ago and found that I was running in to trouble because BSDI's setreuid() doesn't work very well (it seems that once you get to root, you can't switch to another user), so just for kicks I decided to go compare the BSDI setreuid() with the one from FreeBSD. Anyway, along the way I found that kern/kern_prot.c seems to be fully loaded with #ifdefs for _POSIX_SAVED_IDS, but _POSIX_SAVED_IDS is not defined by default. Is it just because not everything is up to handling a saved-id setuid()? Evan