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

Function syscall_statx

source/kernel/syscall.cpp:985–991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

983}
984
985static U32 syscall_statx(CPU* cpu, U32 eipCount) {
986 BString path = cpu->memory->readString(ARG2);
987 SYS_LOG1(SYSCALL_FILE, cpu, "statx: dirfd=%d path=%s flags=%x mask=%x statxbuf=%x", ARG1, path.c_str(), ARG3, ARG4, ARG5);
988 U32 result = cpu->thread->process->statx(ARG1, path, ARG3, ARG4, ARG5);
989 SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result);
990 return result;
991}
992
993static U32 syscall_stat64(CPU* cpu, U32 eipCount) {
994 BString path = cpu->memory->readString(ARG1);

Callers

nothing calls this directly

Calls 3

statxMethod · 0.80
readStringMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected