From 3ea3e23b8d98c51ea5ff58f6c20249cc4d44f047 Mon Sep 17 00:00:00 2001 From: bde Date: Wed, 18 Dec 1996 14:02:56 +0000 Subject: [PATCH] Restored comment about _POSIX_SAVED_IDS from rev.1.2. --- sys/sys/unistd.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h index b0d229fa75cf..9dd291683a59 100644 --- a/sys/sys/unistd.h +++ b/sys/sys/unistd.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)unistd.h 8.2 (Berkeley) 1/7/94 - * $Id: unistd.h,v 1.9 1996/11/29 14:48:17 bde Exp $ + * $Id: unistd.h,v 1.10 1996/12/06 22:51:11 ache Exp $ */ #ifndef _SYS_UNISTD_H_ @@ -41,10 +41,14 @@ #define _POSIX_JOB_CONTROL /* implementation supports job control */ /* - * We use the saved IDs in seteuid/setegid, which are not currently + * Although we have saved user/group IDs, we do not use them in setuid + * as described in POSIX 1003.1, because the feature does not work for + * root. We use the saved IDs in seteuid/setegid, which are not currently * part of the POSIX 1003.1 specification. */ -/* #define _POSIX_SAVED_IDS */ /* saved set-user-ID and set-group-ID */ +#ifdef _NOT_AVAILABLE +#define _POSIX_SAVED_IDS /* saved set-user-ID and set-group-ID */ +#endif #define _POSIX_VERSION 199009L #define _POSIX2_VERSION 199212L