projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
064fe96
)
Define ALLPERMS for musl libc systems. (#379)
author
maxice8
<30738253+maxice8@users.noreply.github.com>
Mon, 11 Mar 2019 17:32:45 +0000
(14:32 -0300)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Mon, 11 Mar 2019 17:32:45 +0000
(17:32 +0000)
test/test_syscalls.c
patch
|
blob
|
history
diff --git
a/test/test_syscalls.c
b/test/test_syscalls.c
index e9a51895ae0015a19d77503e9ffdace2bbd90881..db4be566d60b91ff8e845ff58b69141f59d72926 100644
(file)
--- a/
test/test_syscalls.c
+++ b/
test/test_syscalls.c
@@
-14,6
+14,10
@@
#include <sys/types.h>
#include <sys/stat.h>
+#ifndef ALLPERMS
+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)/* 07777 */
+#endif
+
static char testfile[1024];
static char testfile2[1024];