* 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.
path-lookup \
setauth \
pid2task task2pid \
- getuids setuids getumask fchroot \
+ geteuids seteuids getumask fchroot \
hurdsock hurdauth \
privports \
msgportdemux \
_hurd_init; _hurd_proc_init;
_hurd_exec;
_hurd_canonicalize_directory_name_internal;
- getuids; __getuids;
+ geteuids; seteuids;
# XXX ought to exist on all platforms
getumask;
-/* Copyright (C) 1993, 1994, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 94, 96, 97, 98 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
#include <string.h>
int
-__getuids (int n, uid_t *uidset)
+geteuids (int n, uid_t *uidset)
{
error_t err;
int nuids;
return nuids;
}
-
-weak_alias (__getuids, getuids)
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
-/* Copyright (C) 1993, 1994, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 94, 97, 98 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
/* Set the uid set for the current user to UIDS (N of them). */
int
-setuids (int n, const uid_t *uids)
+seteuids (int n, const uid_t *uids)
{
error_t err;
auth_t newauth;