OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a55acdf
)
setuid.c: always_inline syscall
author
Peter S. Mazinger
<ps.m@gmx.net>
Sat, 16 Apr 2011 09:54:48 +0000
(11:54 +0200)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:38 +0000
(14:00 +0200)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/common/setuid.c
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/setuid.c
b/libc/sysdeps/linux/common/setuid.c
index
7fd8c65
..
470be1f
100644
(file)
--- a/
libc/sysdeps/linux/common/setuid.c
+++ b/
libc/sysdeps/linux/common/setuid.c
@@
-22,7
+22,7
@@
_syscall1(int, setuid, uid_t, uid)
#else
# define __NR___syscall_setuid __NR_setuid
-static __
inline__
_syscall1(int, __syscall_setuid, __kernel_uid_t, uid)
+static __
always_inline
_syscall1(int, __syscall_setuid, __kernel_uid_t, uid)
int setuid(uid_t uid)
{
@@
-30,6
+30,6
@@
int setuid(uid_t uid)
__set_errno(EINVAL);
return -1;
}
- return
(__syscall_setuid(uid)
);
+ return
__syscall_setuid(uid
);
}
#endif