MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / syscall_clone

Function syscall_clone

source/kernel/syscall.cpp:712–717  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710}
711
712static U32 syscall_clone(CPU* cpu, U32 eipCount) {
713 SYS_LOG1(SYSCALL_SYSTEM, cpu, "clone: flags=%X child_stack=%X ptid=%X tls=%X ctid=%X", ARG1, ARG2, ARG3, ARG4, ARG5);
714 U32 result = cpu->thread->process->clone(cpu->thread, ARG1, ARG2, ARG3, ARG4, ARG5);
715 SYS_LOG(SYSCALL_SYSTEM, cpu, " result=%d(0x%X)\n", result, result);
716 return result;
717}
718
719static U32 syscall_uname(CPU* cpu, U32 eipCount) {
720 SYS_LOG1(SYSCALL_SYSTEM, cpu, "uname: name=%.8X", ARG1);

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected