diff options
author | Roland McGrath <roland@gnu.org> | 2003-03-27 09:48:09 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-03-27 09:48:09 +0000 |
commit | fd54683c976e506e6311d0fc5d59a7a2d1387d42 (patch) | |
tree | 8391a61b59a13f937749f079461eabed7540bcc3 /sysdeps/unix/sysv/linux/i386 | |
parent | 130ed2359f57a27949c65d90661ba72306e6c9b7 (diff) | |
download | glibc-fd54683c976e506e6311d0fc5d59a7a2d1387d42.tar glibc-fd54683c976e506e6311d0fc5d59a7a2d1387d42.tar.gz glibc-fd54683c976e506e6311d0fc5d59a7a2d1387d42.tar.bz2 glibc-fd54683c976e506e6311d0fc5d59a7a2d1387d42.zip |
* Makerules (check-abi) [$(enable-check-abi) = warn]:
Ignore exit status from diff.
* configure.in (enable_check_abi): Document possible value "warn".
Change default to no for now.
* configure: Regenerated.
* sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Emit stub_warning
macro calls and a #include <stub-tag.h> at the end.
* Makerules ($(objpfx)stubs): Tweak sed commands.
* sysdeps/unix/sysv/linux/syscalls.list: Use - rather than EXTRA in
caller column for *xattr syscalls, since they are in sysdeps/generic.
* sysdeps/unix/sysv/linux/i386/setfsuid.c: setfsgid -> setfsuid
* sysdeps/unix/sysv/linux/i386/setfsgid.c: setfsuid -> setfsgid
2003-03-26 Roland McGrath <roland@redhat.com>
* Makerules (check-abi-config): Use /thread instead of /tls when
use-thread and not just use-tls is set.
* Makerules (update-abi): Put quotes around $(update-abi-config).
* elf/Makefile (check-abi): Depend on check-abi-ld.
(update-abi): Depend on update-abi-ld.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/setfsgid.c | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/setfsuid.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/setfsgid.c b/sysdeps/unix/sysv/linux/i386/setfsgid.c index e5bab90e66..dad61e2aa6 100644 --- a/sysdeps/unix/sysv/linux/i386/setfsgid.c +++ b/sysdeps/unix/sysv/linux/i386/setfsgid.c @@ -45,14 +45,14 @@ setfsgid (gid_t gid) INTERNAL_SYSCALL_DECL (err); # if __ASSUME_32BITUIDS > 0 /* No error checking. */ - return INTERNAL_SYSCALL (setfsuid32, err, 1, uid); + return INTERNAL_SYSCALL (setfsgid32, err, 1, gid); # else # ifdef __NR_setfsgid32 if (__libc_missing_32bit_uids <= 0) { int result; - result = INTERNAL_SYSCALL (setfsuid32, err, 1, uid); + result = INTERNAL_SYSCALL (setfsgid32, err, 1, gid); if (! INTERNAL_SYSCALL_ERROR_P (result, err) || INTERNAL_SYSCALL_ERRNO (result, err) != ENOSYS) return result; @@ -67,7 +67,7 @@ setfsgid (gid_t gid) } /* No error checking. */ - return INTERNAL_SYSCALL (setfsuid, err, 1, uid); + return INTERNAL_SYSCALL (setfsgid, err, 1, gid); # endif } #endif diff --git a/sysdeps/unix/sysv/linux/i386/setfsuid.c b/sysdeps/unix/sysv/linux/i386/setfsuid.c index 9d425c0f9d..f3d66d6d07 100644 --- a/sysdeps/unix/sysv/linux/i386/setfsuid.c +++ b/sysdeps/unix/sysv/linux/i386/setfsuid.c @@ -45,14 +45,14 @@ setfsuid (uid_t uid) INTERNAL_SYSCALL_DECL (err); # if __ASSUME_32BITUIDS > 0 /* No error checking. */ - return INTERNAL_SYSCALL (setfsgid32, err, 1, gid); + return INTERNAL_SYSCALL (setfsuid32, err, 1, uid); # else # ifdef __NR_setfsuid32 if (__libc_missing_32bit_uids <= 0) { int result; - result = INTERNAL_SYSCALL (setfsgid32, err, 1, gid); + result = INTERNAL_SYSCALL (setfsuid32, err, 1, uid); if (! INTERNAL_SYSCALL_ERROR_P (result, err) || INTERNAL_SYSCALL_ERRNO (result, err) != ENOSYS) return result; @@ -68,7 +68,7 @@ setfsuid (uid_t uid) } /* No error checking. */ - return INTERNAL_SYSCALL (setfsgid, err, 1, gid); + return INTERNAL_SYSCALL (setfsuid, err, 1, uid); # endif } #endif |