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

Function syscall_sigaltstack

source/kernel/syscall.cpp:950–955  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

948}
949
950static U32 syscall_sigaltstack(CPU* cpu, U32 eipCount) {
951 SYS_LOG1(SYSCALL_SIGNAL, cpu, "sigaltstack ss=%X oss=%X", ARG1, ARG2);
952 U32 result = cpu->thread->signalstack(ARG1, ARG2);
953 SYS_LOG(SYSCALL_SIGNAL, cpu, " result=%d(0x%X)\n", result, result);
954 return result;
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);

Callers

nothing calls this directly

Calls 1

signalstackMethod · 0.80

Tested by

no test coverage detected