about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-08-10 15:32:08 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-08-10 15:32:08 +0200
commit2ac2996abd54cdb36624738b7ca30a9abc93a78a (patch)
tree11a38caa935bab1a6ea6e02ec365c1d7105af06b /src
parent53fb83487a1902db838f99e94bb81e1cb597e6a7 (diff)
downloadbox64-2ac2996abd54cdb36624738b7ca30a9abc93a78a.tar.gz
box64-2ac2996abd54cdb36624738b7ca30a9abc93a78a.zip
Added vfork wrapped function
Diffstat (limited to 'src')
-rw-r--r--src/wrapped/generated/functions_list.txt1
-rw-r--r--src/wrapped/generated/wrappedlibctypes.h1
-rwxr-xr-xsrc/wrapped/wrappedlibc_private.h2
3 files changed, 3 insertions, 1 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt
index f2fd349a..308fd4eb 100644
--- a/src/wrapped/generated/functions_list.txt
+++ b/src/wrapped/generated/functions_list.txt
@@ -1639,6 +1639,7 @@ wrappedlibc:
   - __cxa_finalize
 - iFv:
   - fork
+  - vfork
 - iFp:
   - _setjmp
   - getcontext
diff --git a/src/wrapped/generated/wrappedlibctypes.h b/src/wrapped/generated/wrappedlibctypes.h
index de2666ab..78962777 100644
--- a/src/wrapped/generated/wrappedlibctypes.h
+++ b/src/wrapped/generated/wrappedlibctypes.h
@@ -80,6 +80,7 @@ typedef int64_t (*iFpippppp_t)(void*, int64_t, void*, void*, void*, void*, void*
 	GO(_ITM_deregisterTMCloneTable, vFp_t) \
 	GO(__cxa_finalize, vFp_t) \
 	GO(fork, iFv_t) \
+	GO(vfork, iFv_t) \
 	GO(_setjmp, iFp_t) \
 	GO(getcontext, iFp_t) \
 	GO(setcontext, iFp_t) \
diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h
index 515532d1..aa2611d6 100755
--- a/src/wrapped/wrappedlibc_private.h
+++ b/src/wrapped/wrappedlibc_private.h
@@ -2041,7 +2041,7 @@ GOM(__vasprintf_chk, iFEpipp)
 GOW(versionsort, iFpp)
 GOW(versionsort64, iFpp)
 //GO(__vfork, 
-//GOW(vfork, iFv)
+GOWM(vfork, iFEv)
 GOM(vfprintf, iFEppA)
 GOM(__vfprintf_chk, iFEpvpp)
 //GO(__vfscanf,