mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
2004-09-25 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/setuid.c (__setuid): Remove second result declaration. 2004-09-22 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/ia64/sysdep.h: Adjust whitespace.
This commit is contained in:
@ -47,7 +47,6 @@ __setuid (uid_t uid)
|
||||
# ifdef __NR_setuid32
|
||||
if (__libc_missing_32bit_uids <= 0)
|
||||
{
|
||||
int result;
|
||||
int saved_errno = errno;
|
||||
|
||||
result = INLINE_SYSCALL (setuid32, 1, uid);
|
||||
|
@ -165,7 +165,7 @@
|
||||
|
||||
#undef PSEUDO_ERRVAL
|
||||
#define PSEUDO_ERRVAL(name, syscall_name, args) \
|
||||
ENTRY(name) \
|
||||
ENTRY(name) \
|
||||
DO_CALL (SYS_ify(syscall_name)); \
|
||||
cmp.eq p6,p0=-1,r10; \
|
||||
(p6) mov r10=r8;
|
||||
@ -241,14 +241,14 @@
|
||||
DO_INLINE_SYSCALL_NCS (__NR_##name, nr, ##args)
|
||||
|
||||
#undef INLINE_SYSCALL
|
||||
#define INLINE_SYSCALL(name, nr, args...) \
|
||||
({ \
|
||||
DO_INLINE_SYSCALL_NCS(__NR_##name, nr, args)\
|
||||
if (_r10 == -1) \
|
||||
{ \
|
||||
__set_errno (_retval); \
|
||||
_retval = -1; \
|
||||
} \
|
||||
#define INLINE_SYSCALL(name, nr, args...) \
|
||||
({ \
|
||||
DO_INLINE_SYSCALL_NCS (__NR_##name, nr, args) \
|
||||
if (_r10 == -1) \
|
||||
{ \
|
||||
__set_errno (_retval); \
|
||||
_retval = -1; \
|
||||
} \
|
||||
_retval; })
|
||||
|
||||
#undef INTERNAL_SYSCALL_DECL
|
||||
@ -257,7 +257,7 @@
|
||||
#undef INTERNAL_SYSCALL
|
||||
#define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \
|
||||
({ \
|
||||
DO_INLINE_SYSCALL_NCS(name, nr, args) \
|
||||
DO_INLINE_SYSCALL_NCS (name, nr, args) \
|
||||
err = _r10; \
|
||||
_retval; })
|
||||
#define INTERNAL_SYSCALL(name, err, nr, args...) \
|
||||
|
Reference in New Issue
Block a user