]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define ID_EFFECTIVE.
authorUlrich Drepper <drepper@redhat.com>
Tue, 18 Apr 2000 16:07:13 +0000 (16:07 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 18 Apr 2000 16:07:13 +0000 (16:07 +0000)
sysdeps/unix/sysv/aix/setegid.c
sysdeps/unix/sysv/aix/seteuid.c

index 9f660ff27a6ee7baf3dae2c3e3f0f186f2af811a..eedc71a54c7719d15a6306a572a147e017d38bd5 100644 (file)
@@ -18,8 +18,7 @@
 
 #include <unistd.h>
 
-/* is there a reason *NOT* to include <sys/id.h>? If so #define ID_EFFECTIVE */
-#include <sys/id.h>
+#define ID_EFFECTIVE   0x01
 
 
 extern int setgidx (int mask, gid_t gid);
index de9280be9ecaa0dbf0f0040715661f955044e129..c2fb9483dce75931fceaa6a3a23436e857b32f30 100644 (file)
@@ -18,9 +18,8 @@
 
 #include <unistd.h>
 
+#define ID_EFFECTIVE   0x01
 
-/* is there a reason *NOT* to include <sys/id.h>? If so #define ID_EFFECTIVE */
-#include <sys/id.h>
 
 extern int setuidx (int mask, uid_t uid);