From 7317472b5f62316e5817f9e89ae2ddf99862412d Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 23 Sep 2024 19:45:13 +0200 Subject: [BOX32][WRAPPER] More 32bits wrapped functions, and a few fixes on threads handling --- src/include/myalign32.h | 9 +++++++++ src/include/threads.h | 1 + 2 files changed, 10 insertions(+) (limited to 'src/include') diff --git a/src/include/myalign32.h b/src/include/myalign32.h index dbbb0c9a..93844ad7 100755 --- a/src/include/myalign32.h +++ b/src/include/myalign32.h @@ -510,4 +510,13 @@ struct i386_passwd ptr_t pw_dir; // char* ptr_t pw_shell; // char* }; + +struct i386_group +{ + ptr_t gr_name; // char * + ptr_t gr_passwd; // char * + __gid_t gr_gid; + ptr_t gr_mem; // char ** +}; + #endif//__MY_ALIGN32__H_ \ No newline at end of file diff --git a/src/include/threads.h b/src/include/threads.h index fcceff33..7a77657f 100644 --- a/src/include/threads.h +++ b/src/include/threads.h @@ -9,6 +9,7 @@ typedef struct emuthread_s { void* arg; x64emu_t* emu; int join; + int is32bits; uintptr_t self; ulong_t hself; int cancel_cap, cancel_size; -- cgit 1.4.1