aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/aix/setreuid.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-18 17:20:43 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-18 17:20:43 +0000
commit7604414a1c69c6cb90069d239546a5b5970fb32c (patch)
treee69216a0209bb8ad726dc1ba72cb535fe213244d /sysdeps/unix/sysv/aix/setreuid.c
parent318c80d4f9c7ba7ad27c1b91a6bdce2a226fb430 (diff)
downloadglibc-7604414a1c69c6cb90069d239546a5b5970fb32c.tar
glibc-7604414a1c69c6cb90069d239546a5b5970fb32c.tar.gz
glibc-7604414a1c69c6cb90069d239546a5b5970fb32c.tar.bz2
glibc-7604414a1c69c6cb90069d239546a5b5970fb32c.zip
AIX socket implementation.
Diffstat (limited to 'sysdeps/unix/sysv/aix/setreuid.c')
-rw-r--r--sysdeps/unix/sysv/aix/setreuid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/aix/setreuid.c b/sysdeps/unix/sysv/aix/setreuid.c
index ecf12a1ff3..eafc764942 100644
--- a/sysdeps/unix/sysv/aix/setreuid.c
+++ b/sysdeps/unix/sysv/aix/setreuid.c
@@ -18,9 +18,9 @@
#include <unistd.h>
-/* is there a reason *NOT* to include <sys/id.h>? */
-/* If so #define ID_EFFECTIVE and ID_REAL */
-#include <sys/id.h>
+#define ID_EFFECTIVE 0x01
+#define ID_REAL 0x02
+
extern int setuidx (int mask, uid_t uid);