summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-23 23:35:07 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-23 23:35:07 +0000
commit4e766ab43ca45164c6231fe99f2f28b5f1e7b549 (patch)
tree55dcf611b60eda48ecc05b361f14275b93a44708
parent5606e4d6f92c10af214b54a01db79cf561067e58 (diff)
Forgot a few things...
-rw-r--r--include/unistd.h8
-rw-r--r--libc/sysdeps/linux/i386/Makefile2
2 files changed, 9 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index a070b03df..2fc3fac32 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -102,6 +102,14 @@ extern __gid_t getgid __P ((void));
/* Get the effective group ID of the calling process. */
extern __gid_t getegid __P ((void));
+/* Set the real user ID of the calling process to RUID,
+ and the effective user ID of the calling process to EUID. */
+extern int setreuid __P ((__uid_t __ruid, __uid_t __euid));
+
+/* Set the real group ID of the calling process to RGID,
+ and the effective group ID of the calling process to EGID. */
+extern int setregid __P ((__gid_t __rgid, __gid_t __egid));
+
/* If SIZE is zero, return the number of supplementary groups
the calling process is in. Otherwise, fill in the group IDs
of its supplementary groups in LIST and return the number written. */
diff --git a/libc/sysdeps/linux/i386/Makefile b/libc/sysdeps/linux/i386/Makefile
index a25c51f8a..1e66aac9a 100644
--- a/libc/sysdeps/linux/i386/Makefile
+++ b/libc/sysdeps/linux/i386/Makefile
@@ -44,7 +44,7 @@ $(LIBC): ar-target
ar-target: $(OBJS)
$(AR) $(ARFLAGS) $(LIBC) $(OBJS)
-$(SOBJS):
+$(SOBJS):
$(CC) $(CFLAGS) $< -c $*.S -o $*.o
$(STRIPTOOL) -x -R .note -R .comment $*.o