aboutsummaryrefslogtreecommitdiffstats
path: root/testing/elfutils/musl-accessperms.patch
blob: 0c7d2fa25d787089804f58a240c7bdd19efe64f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/strip.c	2015-10-12 12:22:58.000000000 +0200
+++ b/src/strip.c	2015-11-20 07:44:13.626287111 +0100
@@ -44,6 +44,10 @@
 #include <libebl.h>
 #include <system.h>
 
+#if !defined(ACCESSPERMS)
+#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
+#endif
+
 typedef uint8_t GElf_Byte;
 
 /* Name and version of program.  */