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

Function syscall_vfork

source/kernel/syscall.cpp:957–961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

955}
956
957static U32 syscall_vfork(CPU* cpu, U32 eipCount) {
958 U32 result = cpu->thread->process->clone(cpu->thread, 0x01000000 |0x00200000 | 0x00004000, 0, 0, 0, 0);
959 SYS_LOG1(SYSCALL_SYSTEM, cpu, "vfork: result=%d(0x%X)\n", result, result);
960 return result;
961}
962
963static U32 syscall_ugetrlimit(CPU* cpu, U32 eipCount) {
964 SYS_LOG1(SYSCALL_SYSTEM, cpu, "ugetrlimit: resource=%d rlim=%X", ARG1, ARG2);

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected