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

Function syscall_faccessat2

source/kernel/syscall.cpp:1557–1563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1555}
1556
1557static U32 syscall_faccessat2(CPU* cpu, U32 eipCount) {
1558 BString pathname = cpu->memory->readString(ARG2);
1559 SYS_LOG1(SYSCALL_FILE, cpu, "faccessat2 dirfd=%X pathname=%X(%s) mode=%X flags=%X", ARG1, ARG2, pathname.c_str(), ARG3, ARG4);
1560 U32 result = cpu->thread->process->faccessat(ARG1, pathname, ARG3, ARG4);
1561 SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result);
1562 return result;
1563}
1564
1565static U32 syscall_set_robust_list(CPU* cpu, U32 eipCount) {
1566 SYS_LOG1(SYSCALL_THREAD, cpu, "set_robust_list: head=%X len=%X", ARG1, ARG2);

Callers

nothing calls this directly

Calls 3

faccessatMethod · 0.80
readStringMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected