1998-10-20  H.J. Lu  <hjl@gnu.org> 
 
        * sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix 
        argument types.
This commit is contained in:
Ulrich Drepper 1998-10-20 22:27:42 +00:00
parent 48244d0931
commit 9cdc774d05
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1998-10-20 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/i386/setresuid.c (__setresuid): Fix
argument types.
1998-10-19 Ulrich Drepper <drepper@cygnus.com> 1998-10-19 Ulrich Drepper <drepper@cygnus.com>
* math/tgmath.h: Make nested function calls work. * math/tgmath.h: Make nested function calls work.

View File

@ -29,7 +29,7 @@ extern int __syscall_setresuid (__kernel_uid_t rgid, __kernel_uid_t egid,
__kernel_uid_t sgid); __kernel_uid_t sgid);
int int
__setresuid (gid_t ruid, gid_t euid, gid_t suid) __setresuid (uid_t ruid, uid_t euid, uid_t suid)
{ {
if ((ruid != (uid_t) ((__kernel_uid_t) ruid)) if ((ruid != (uid_t) ((__kernel_uid_t) ruid))
|| (euid != (uid_t) ((__kernel_uid_t) euid)) || (euid != (uid_t) ((__kernel_uid_t) euid))