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

Function syscall_faccessat

source/kernel/syscall.cpp:1549–1555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1547}
1548
1549static U32 syscall_faccessat(CPU* cpu, U32 eipCount) {
1550 BString pathname = cpu->memory->readString(ARG2);
1551 SYS_LOG1(SYSCALL_FILE, cpu, "faccessat dirfd=%X pathname=%X(%s) mode=%X flags=%X", ARG1, ARG2, pathname.c_str(), ARG3, ARG4);
1552 U32 result = cpu->thread->process->faccessat(ARG1, pathname, ARG3, ARG4);
1553 SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result);
1554 return result;
1555}
1556
1557static U32 syscall_faccessat2(CPU* cpu, U32 eipCount) {
1558 BString pathname = cpu->memory->readString(ARG2);

Callers

nothing calls this directly

Calls 3

faccessatMethod · 0.80
readStringMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected