OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78b0d99
)
umask.c: umask always succeeds, use _syscall_noerr1
author
Peter S. Mazinger
<ps.m@gmx.net>
Sat, 16 Apr 2011 11:24:16 +0000
(13:24 +0200)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:39 +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/umask.c
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/umask.c
b/libc/sysdeps/linux/common/umask.c
index
b838e17
..
b558885
100644
(file)
--- a/
libc/sysdeps/linux/common/umask.c
+++ b/
libc/sysdeps/linux/common/umask.c
@@
-10,10
+10,4
@@
#include <sys/syscall.h>
#include <sys/stat.h>
-#define __NR___syscall_umask __NR_umask
-static __inline__ _syscall1(__kernel_mode_t, __syscall_umask, __kernel_mode_t, mode)
-
-mode_t umask(mode_t mode)
-{
- return __syscall_umask(mode);
-}
+_syscall_noerr1(mode_t, umask, mode_t, mode)