about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-04-24 14:37:24 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-04-24 14:37:24 +0200
commit57bea35004fcd5d0a453964ce61b5807223ab66d (patch)
tree00003d6fc736e0e00fb90df83e13894d9a2fed5b /src
parent890842286b33981b6164740f821ff965b5fb7bd1 (diff)
downloadbox64-57bea35004fcd5d0a453964ce61b5807223ab66d.tar.gz
box64-57bea35004fcd5d0a453964ce61b5807223ab66d.zip
Added more flags to ofconvert functions
Diffstat (limited to 'src')
-rwxr-xr-xsrc/wrapped/wrappedlibc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c
index 881d57ce..300d0fc7 100755
--- a/src/wrapped/wrappedlibc.c
+++ b/src/wrapped/wrappedlibc.c
@@ -463,6 +463,7 @@ int EXPORT my_uname(struct utsname *buf)
 #define X86_O_NOFOLLOW     0400000
 #define X86_O_NOATIME      01000000
 #define X86_O_CLOEXEC      02000000
+#define X86_O_PATH         010000000
 #define X86_O_TMPFILE      020200000
 
 #ifndef O_TMPFILE
@@ -489,7 +490,7 @@ int EXPORT my_uname(struct utsname *buf)
     GO(O_NOFOLLOW)  \
     GO(O_NOATIME)   \
     GO(O_CLOEXEC)   \
-    GO(O_TMPFILE)   \
+    GO(O_PATH)      \
 
 // x86->arm
 int of_convert(int a)