| 1509 | } |
| 1510 | |
| 1511 | static U32 syscall_unlinkat(CPU* cpu, U32 eipCount) { |
| 1512 | BString path = cpu->memory->readString(ARG2); |
| 1513 | SYS_LOG1(SYSCALL_FILE, cpu, "unlinkat: dirfd=%d path=%s flags=%x", ARG1, path.c_str(), ARG3); |
| 1514 | U32 result = cpu->thread->process->unlinkat(ARG1, path, ARG3); |
| 1515 | SYS_LOG(SYSCALL_FILE, cpu, " result=%d(0x%X)\n", result, result); |
| 1516 | return result; |
| 1517 | } |
| 1518 | |
| 1519 | static U32 syscall_symlinkat(CPU* cpu, U32 eipCount) { |
| 1520 | BString oldpath = cpu->memory->readString(ARG1); |
nothing calls this directly
no test coverage detected