diff options
author | Andreas Kling <kling@serenityos.org> | 2020-07-15 23:44:51 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-15 23:44:51 +0200 |
commit | 33e3e8d63d99b607e713dc3fd5890130cfd48fbc (patch) | |
tree | 84d0670fa483442a061422e01a98be1743cc6e63 /DevTools/UserspaceEmulator/Emulator.h | |
parent | 1873b8f3e4eb1c43e05ad4af7c5ec4669b57e94e (diff) | |
download | serenity-33e3e8d63d99b607e713dc3fd5890130cfd48fbc.zip |
UserspaceEmulator: Add the getrandom() syscall
Diffstat (limited to 'DevTools/UserspaceEmulator/Emulator.h')
-rw-r--r-- | DevTools/UserspaceEmulator/Emulator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/DevTools/UserspaceEmulator/Emulator.h b/DevTools/UserspaceEmulator/Emulator.h index d9cfc5e755..fbfcfee319 100644 --- a/DevTools/UserspaceEmulator/Emulator.h +++ b/DevTools/UserspaceEmulator/Emulator.h @@ -111,6 +111,7 @@ private: int virt$recvfrom(FlatPtr); int virt$connect(int sockfd, FlatPtr address, socklen_t address_size); void virt$exit(int); + ssize_t virt$getrandom(FlatPtr buffer, size_t buffer_size, unsigned int flags); FlatPtr allocate_vm(size_t size, size_t alignment); |