sim/posix: Add the host_system interface

Encapsulate the host system interface to host_system.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
hujun5 2023-09-14 20:54:21 +08:00 committed by Alan Carvalho de Assis
parent 7ea52505c2
commit 02a3bbc73b

View File

@ -78,6 +78,7 @@ NXSYMBOLS(malloc)
NXSYMBOLS(malloc_size) NXSYMBOLS(malloc_size)
NXSYMBOLS(malloc_usable_size) NXSYMBOLS(malloc_usable_size)
NXSYMBOLS(memcpy) NXSYMBOLS(memcpy)
NXSYMBOLS(memfd_create)
NXSYMBOLS(mkdir) NXSYMBOLS(mkdir)
NXSYMBOLS(mmap) NXSYMBOLS(mmap)
NXSYMBOLS(mprotect) NXSYMBOLS(mprotect)
@ -127,6 +128,8 @@ NXSYMBOLS(setitimer)
NXSYMBOLS(setbuf) NXSYMBOLS(setbuf)
NXSYMBOLS(setjmp) NXSYMBOLS(setjmp)
NXSYMBOLS(setsockopt) NXSYMBOLS(setsockopt)
NXSYMBOLS(shm_open)
NXSYMBOLS(shm_unlink)
NXSYMBOLS(shutdown) NXSYMBOLS(shutdown)
NXSYMBOLS(sigaction) NXSYMBOLS(sigaction)
NXSYMBOLS(sigaddset) NXSYMBOLS(sigaddset)