diff options
author | Roland McGrath <roland@gnu.org> | 2006-02-21 02:30:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-02-21 02:30:10 +0000 |
commit | 0d5cb2c74f3df8253834274843b4eb8cdc5dd651 (patch) | |
tree | 2fe51864d69ef66f0490d39c89729303bf584821 /posix/setresuid.c | |
parent | 0ca3379de12f639ccaedaf145871f6d4cfaa73b4 (diff) | |
download | glibc-0d5cb2c74f3df8253834274843b4eb8cdc5dd651.zip glibc-0d5cb2c74f3df8253834274843b4eb8cdc5dd651.tar.gz glibc-0d5cb2c74f3df8253834274843b4eb8cdc5dd651.tar.bz2 |
[BZ #2329]
2006-02-20 Roland McGrath <roland@redhat.com>
* sysdeps/mips: Directory removed, saved in ports repository.
* sysdeps/unix/mips: Likewise.
* sysdeps/unix/sysv/linux/mips: Likewise.
* sysdeps/mach/mips: Likewise.
* sysdeps/mach/hurd/mips: Likewise.
* shlib-versions: Remove mips matches, now in ports fragment.
* sysdeps/unix/sysv/linux/kernel-features.h: Likewise.
* configure.in (machine): Likewise.
* configure: Regenerated.
2006-02-15 Thomas Schwinge <tschwinge@gnu.org>
[BZ #2329]
* include/unistd.h (__getresuid, __getresgid, __setresuid)
(__setresgid): Fix argument name order in prototypes.
* posix/unistd.h (getresuid, getresgid, setresuid, setresgid):
Likewise.
* posix/getresuid.c (__getresuid): Fix argument order in definition.
* posix/getresgid.c (__getresgid): Likewise.
* posix/setresuid.c (__setresuid): Likewise.
* posix/setresgid.c (__setresgid): Likewise.
* sysdeps/mach/hurd/getresuid.c (__getresuid): Likewise.
* sysdeps/mach/hurd/getresgid.c (__getresgid): Likewise.
* sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
* sysdeps/mach/hurd/setresgid.c (__setresgid): Likewise.
Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
Diffstat (limited to 'posix/setresuid.c')
-rw-r--r-- | posix/setresuid.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/posix/setresuid.c b/posix/setresuid.c index 430b63b..8926333 100644 --- a/posix/setresuid.c +++ b/posix/setresuid.c @@ -1,5 +1,5 @@ -/* setresuid -- set effective user ID, real user ID, and saved-set user ID - Copyright (C) 2002 Free Software Foundation, Inc. +/* setresuid -- set real user ID, effective user ID, and saved-set user ID + Copyright (C) 2002, 2006 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 @@ -20,10 +20,10 @@ #include <errno.h> #include <unistd.h> -/* Set the effective user ID, real user ID, and saved-set user ID, - of the calling process to EUID, RUID, and SUID, respectively. */ +/* Set the real user ID, effective user ID, and saved-set user ID, + of the calling process to RUID, EUID, and SUID, respectively. */ int -__setresuid (uid_t euid, uid_t ruid, uid_t suid) +__setresuid (uid_t ruid, uid_t euid, uid_t suid) { __set_errno (ENOSYS); return -1; |