From: Ulrich Drepper Date: Tue, 18 Apr 2000 16:13:05 +0000 (+0000) Subject: Define ID_EFFECTIVE and ID_REAL. X-Git-Tag: glibc-2.16-ports-before-merge~2419 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb67907d471e2511bedfc40ac3f5358a4b1886fb;p=thirdparty%2Fglibc.git Define ID_EFFECTIVE and ID_REAL. --- diff --git a/sysdeps/unix/sysv/aix/setregid.c b/sysdeps/unix/sysv/aix/setregid.c index 02961b4dc03..b747b6c2661 100644 --- a/sysdeps/unix/sysv/aix/setregid.c +++ b/sysdeps/unix/sysv/aix/setregid.c @@ -18,9 +18,8 @@ #include -/* is there a reason *NOT* to include ? */ -/* If so #define ID_EFFECTIVE and ID_REAL */ -#include +#define ID_EFFECTIVE 0x01 +#define ID_REAL 0x02 extern int setgidx (int mask, gid_t gid); diff --git a/sysdeps/unix/sysv/aix/setreuid.c b/sysdeps/unix/sysv/aix/setreuid.c index ecf12a1ff3a..eafc764942d 100644 --- a/sysdeps/unix/sysv/aix/setreuid.c +++ b/sysdeps/unix/sysv/aix/setreuid.c @@ -18,9 +18,9 @@ #include -/* is there a reason *NOT* to include ? */ -/* If so #define ID_EFFECTIVE and ID_REAL */ -#include +#define ID_EFFECTIVE 0x01 +#define ID_REAL 0x02 + extern int setuidx (int mask, uid_t uid);