summaryrefslogtreecommitdiff
path: root/hurd/hurd.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-11-29 10:10:47 +0000
committerRoland McGrath <roland@gnu.org>1998-11-29 10:10:47 +0000
commit2d6d0728231ad89064267fb0df3090675a4f174b (patch)
treea9fce31bc7fdb5eb10c5dc75be6f08cc813bc330 /hurd/hurd.h
parent5f75d1e2fdf4b188bb742a7d6626731bf5b392f6 (diff)
downloadglibc-2d6d0728231ad89064267fb0df3090675a4f174b.tar.gz
1998-11-28 Roland McGrath <roland@baalperazim.frob.com>
* hurd/setuids.c: Renamed to ... * hurd/seteuids.c: this. (setuids): Renamed to seteuids. * hurd/getuids.c: Renamed to ... * hurd/geteuids.c: this. (__getuids): Renamed to geteuids, no aliases. * hurd/hurd.h (geteuids, seteuids): Declare them. * hurd/Versions: Replace getuids; __getuids with geteuids; seteuids. * hurd/Makefile (routines): Updated.
Diffstat (limited to 'hurd/hurd.h')
-rw-r--r--hurd/hurd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hurd/hurd.h b/hurd/hurd.h
index 98d726a592..10036a9ecf 100644
--- a/hurd/hurd.h
+++ b/hurd/hurd.h
@@ -155,6 +155,11 @@ extern int setcttyid (mach_port_t);
extern int __setauth (auth_t), setauth (auth_t);
+/* Get and set the effective UID set. */
+extern int geteuids (int __n, uid_t *__uidset);
+extern int seteuids (int __n, const uid_t *__uidset);
+
+
/* Split FILE into a directory and a name within the directory. The
directory lookup uses the current root and working directory. If
successful, stores in *NAME a pointer into FILE where the name