about summary refs log tree commit diff stats
path: root/src/wrapped32/wrappedlibc.c
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2024-12-24 01:43:47 +0800
committerGitHub <noreply@github.com>2024-12-23 18:43:47 +0100
commit13ee4acd59ddf1cf35666ee06c8ecff44b7bfb1a (patch)
tree0aa340380d019919db76399a17b640595818cc08 /src/wrapped32/wrappedlibc.c
parent1360e7112c8a027dd7e1a6cdd7942d1038aa54f2 (diff)
downloadbox64-13ee4acd59ddf1cf35666ee06c8ecff44b7bfb1a.tar.gz
box64-13ee4acd59ddf1cf35666ee06c8ecff44b7bfb1a.zip
[WRAPPED][BOX32] Redirected a few old symbols (#2194)
* [WRAPPED] Redirected a few old symbols

* More
Diffstat (limited to 'src/wrapped32/wrappedlibc.c')
-rwxr-xr-xsrc/wrapped32/wrappedlibc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wrapped32/wrappedlibc.c b/src/wrapped32/wrappedlibc.c
index bd649363..7ddf8545 100755
--- a/src/wrapped32/wrappedlibc.c
+++ b/src/wrapped32/wrappedlibc.c
@@ -521,6 +521,10 @@ void EXPORT my32___stack_chk_fail(x64emu_t* emu)
     print_cycle_log(LOG_INFO);
     StopEmu(emu, buff, 1);
 }
+int EXPORT my32___xmknod(x64emu_t* emu, int ver, const char* path, mode_t mode, dev_t* dev)
+{
+    return mknod(path, mode, *dev);
+}
 void EXPORT my32___gmon_start__(x64emu_t *emu)
 {
     printf_log(LOG_DEBUG, "__gmon_start__ called (dummy call)\n");