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

Function syscall_pipe2

source/kernel/syscall.cpp:1645–1650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1643}
1644
1645static U32 syscall_pipe2(CPU* cpu, U32 eipCount) {
1646 SYS_LOG1(SYSCALL_SOCKET, cpu, "pipe2 fildes=%X", ARG1);
1647 U32 result = ksocketpair(cpu->thread, K_AF_UNIX, K_SOCK_STREAM, 0, ARG1, ARG2);
1648 SYS_LOG(SYSCALL_SOCKET, cpu, " result=%d(0x%X)\n", result, result);
1649 return result;
1650}
1651
1652static U32 syscall_prlimit64(CPU* cpu, U32 eipCount) {
1653 SYS_LOG1(SYSCALL_SYSTEM, cpu, "prlimit64 pid=%d resource=%d newlimit=%X oldlimit=%X", ARG1, ARG2, ARG3, ARG4);

Callers

nothing calls this directly

Calls 1

ksocketpairFunction · 0.85

Tested by

no test coverage detected