diff options
author | sin-ack <sin-ack@users.noreply.github.com> | 2022-02-10 11:30:33 +0000 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-04-23 10:43:32 -0700 |
commit | bc7c8879c5d3230c0caf3ea922446e27c6f77cbc (patch) | |
tree | afcd145a2ceb9a105836e3a5facd4e651b612c8d /Userland/DevTools | |
parent | a5514fece9cc15738bf41d579b203630c809fe8e (diff) | |
download | serenity-bc7c8879c5d3230c0caf3ea922446e27c6f77cbc.zip |
Kernel+LibC+LibCore: Implement the unlinkat(2) syscall
Diffstat (limited to 'Userland/DevTools')
-rw-r--r-- | Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp b/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp index 7f10a25c6b..fe90eff657 100644 --- a/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp +++ b/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp @@ -362,7 +362,7 @@ int Emulator::virt$rmdir(FlatPtr path, size_t path_length) int Emulator::virt$unlink(FlatPtr path, size_t path_length) { auto buffer = mmu().copy_buffer_from_vm(path, path_length); - return syscall(SC_unlink, buffer.data(), buffer.size()); + return syscall(SC_unlink, AT_FDCWD, buffer.data(), buffer.size(), 0); } int Emulator::virt$symlink(FlatPtr params_addr) |