projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c9f5d4
)
procd: uClibc O_PATH backwards compatibility fixes
author
Hans Dedecker
<dedeckeh@gmail.com>
Fri, 12 Aug 2016 08:27:54 +0000
(10:27 +0200)
committer
John Crispin
<john@phrozen.org>
Fri, 12 Aug 2016 11:38:28 +0000
(13:38 +0200)
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
inittab.c
patch
|
blob
|
history
utils/utils.c
patch
|
blob
|
history
diff --git
a/inittab.c
b/inittab.c
index 6dde11af1a7ec9a1744b6fbd73e627f7061a840a..ae2c431223fb45ebd18860b93914573534dd8c96 100644
(file)
--- a/
inittab.c
+++ b/
inittab.c
@@
-31,6
+31,10
@@
#include "procd.h"
#include "rcS.h"
+#ifndef O_PATH
+#define O_PATH 010000000
+#endif
+
#define TAG_ID 0
#define TAG_RUNLVL 1
#define TAG_ACTION 2
diff --git
a/utils/utils.c
b/utils/utils.c
index 8f14aadc7903d241bb07253b2b02eff808d3f644..e239eda5110ec4e38b88880d7b7d24341389e85e 100644
(file)
--- a/
utils/utils.c
+++ b/
utils/utils.c
@@
-26,6
+26,10
@@
#include "../log.h"
+#ifndef O_PATH
+#define O_PATH 010000000
+#endif
+
void
__blobmsg_list_init(struct blobmsg_list *list, int offset, int len, blobmsg_list_cmp cmp)
{