32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
--- a/config.h.in
|
|
+++ b/config.h.in
|
|
@@ -1,5 +1,15 @@
|
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
+/* taken from glibc unistd.h and fixes musl */
|
|
+#ifndef TEMP_FAILURE_RETRY
|
|
+#define TEMP_FAILURE_RETRY(expression) \
|
|
+ (__extension__ \
|
|
+ ({ long int __result; \
|
|
+ do __result = (long int) (expression); \
|
|
+ while (__result == -1L && errno == EINTR); \
|
|
+ __result; }))
|
|
+#endif
|
|
+
|
|
/* Define if we are building with asan and ubsan */
|
|
#undef BUILDOPT_ASAN
|
|
|
|
--- a/src/libostree/ostree-repo-checkout.c
|
|
+++ b/src/libostree/ostree-repo-checkout.c
|
|
@@ -37,6 +37,10 @@
|
|
|
|
#define OVERLAYFS_WHITEOUT_PREFIX ".ostree-wh."
|
|
|
|
+#ifndef ALLPERMS
|
|
+#define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)/* 07777 */
|
|
+#endif
|
|
+
|
|
/* Per-checkout call state/caching */
|
|
typedef struct {
|
|
GString *path_buf; /* buffer for real path if filtering enabled */
|