diff options
author | Jean-Baptiste Boric <jblbeurope@gmail.com> | 2021-12-12 11:23:28 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-12 21:48:50 +0100 |
commit | 493c958b9e320b7f0b1cd163c1be717c585221ee (patch) | |
tree | 62b5e61c9954a86118c08c2fc1b4b9d24c4a2507 /Userland/DevTools/UserspaceEmulator/Emulator.h | |
parent | b840c8f68e54399e02fa3134c374ee6079e9ba52 (diff) | |
download | serenity-493c958b9e320b7f0b1cd163c1be717c585221ee.zip |
UserspaceEmulator: Sort syscalls in alphabetic order
Diffstat (limited to 'Userland/DevTools/UserspaceEmulator/Emulator.h')
-rw-r--r-- | Userland/DevTools/UserspaceEmulator/Emulator.h | 178 |
1 files changed, 89 insertions, 89 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/Emulator.h b/Userland/DevTools/UserspaceEmulator/Emulator.h index e4bd616d84..b63ec6919d 100644 --- a/Userland/DevTools/UserspaceEmulator/Emulator.h +++ b/Userland/DevTools/UserspaceEmulator/Emulator.h @@ -129,114 +129,114 @@ private: void emit_profile_sample(AK::OutputStream&); void emit_profile_event(AK::OutputStream&, StringView event_name, String contents); + int virt$accept4(FlatPtr); + int virt$access(FlatPtr, size_t, int); + u32 virt$allocate_tls(FlatPtr, size_t); + int virt$anon_create(size_t, int); + int virt$beep(); + int virt$bind(int sockfd, FlatPtr address, socklen_t address_length); + int virt$chdir(FlatPtr, size_t); + int virt$chmod(FlatPtr, size_t, mode_t); + int virt$chown(FlatPtr); + int virt$clock_gettime(int, FlatPtr); + int virt$clock_nanosleep(FlatPtr); + int virt$clock_settime(uint32_t clock_id, FlatPtr user_ts); + int virt$close(int); + int virt$connect(int sockfd, FlatPtr address, socklen_t address_size); + int virt$create_inode_watcher(unsigned); + int virt$dbgputstr(FlatPtr characters, int length); + int virt$disown(pid_t); + int virt$dup2(int, int); int virt$emuctl(FlatPtr, FlatPtr, FlatPtr); - int virt$fork(); int virt$execve(FlatPtr); - int virt$access(FlatPtr, size_t, int); - int virt$sigaction(int, FlatPtr, FlatPtr); - int virt$sigreturn(); + void virt$exit(int); + int virt$fchmod(int, mode_t); + int virt$fchown(int, uid_t, gid_t); + u32 virt$fcntl(int fd, int, u32); + int virt$fork(); + int virt$fstat(int, FlatPtr); + int virt$ftruncate(int fd, FlatPtr length_addr); + int virt$futex(FlatPtr); int virt$get_dir_entries(int fd, FlatPtr buffer, ssize_t); - int virt$ioctl(int fd, unsigned, FlatPtr); - int virt$stat(FlatPtr); - int virt$realpath(FlatPtr); + int virt$get_process_name(FlatPtr buffer, int size); + int virt$get_stack_bounds(FlatPtr, FlatPtr); + int virt$getcwd(FlatPtr buffer, size_t buffer_size); + gid_t virt$getegid(); + uid_t virt$geteuid(); + gid_t virt$getgid(); + int virt$getgroups(ssize_t count, FlatPtr); int virt$gethostname(FlatPtr, ssize_t); - int virt$profiling_enable(pid_t); - int virt$profiling_disable(pid_t); - FlatPtr virt$perf_event(int type, FlatPtr arg1, FlatPtr arg2); - FlatPtr virt$perf_register_string(FlatPtr, size_t); - int virt$disown(pid_t); - int virt$purge(int mode); - u32 virt$mmap(u32); - FlatPtr virt$mremap(FlatPtr); - u32 virt$sysconf(u32 name); - u32 virt$mount(u32); - u32 virt$munmap(FlatPtr address, size_t size); - u32 virt$gettid(); + int virt$getpeername(FlatPtr); + int virt$getpgid(pid_t); + int virt$getpgrp(); u32 virt$getpid(); - u32 virt$unveil(u32); - u32 virt$pledge(u32); + ssize_t virt$getrandom(FlatPtr buffer, size_t buffer_size, unsigned int flags); + int virt$getsid(pid_t); + int virt$getsockname(FlatPtr); + int virt$getsockopt(FlatPtr); + u32 virt$gettid(); uid_t virt$getuid(); - uid_t virt$geteuid(); - gid_t virt$getgid(); - gid_t virt$getegid(); - int virt$setuid(uid_t); - int virt$setgid(gid_t); - u32 virt$read(int, FlatPtr, ssize_t); - u32 virt$write(int, FlatPtr, ssize_t); - u32 virt$mprotect(FlatPtr, size_t, int); + int virt$inode_watcher_add_watch(FlatPtr); + int virt$inode_watcher_remove_watch(int, int); + int virt$ioctl(int fd, unsigned, FlatPtr); + int virt$kill(pid_t, int); + int virt$killpg(int pgrp, int sig); + int virt$listen(int, int); + int virt$lseek(int fd, FlatPtr offset_addr, int whence); u32 virt$madvise(FlatPtr, size_t, int); + int virt$mkdir(FlatPtr path, size_t path_length, mode_t mode); + u32 virt$mmap(u32); + u32 virt$mount(u32); + u32 virt$mprotect(FlatPtr, size_t, int); + FlatPtr virt$mremap(FlatPtr); + int virt$msyscall(FlatPtr); + u32 virt$munmap(FlatPtr address, size_t size); u32 virt$open(u32); + FlatPtr virt$perf_event(int type, FlatPtr arg1, FlatPtr arg2); + FlatPtr virt$perf_register_string(FlatPtr, size_t); int virt$pipe(FlatPtr pipefd, int flags); - int virt$close(int); - int virt$mkdir(FlatPtr path, size_t path_length, mode_t mode); - int virt$rmdir(FlatPtr path, size_t path_length); - int virt$unlink(FlatPtr path, size_t path_length); - int virt$symlink(FlatPtr address); + u32 virt$pledge(u32); + int virt$profiling_disable(pid_t); + int virt$profiling_enable(pid_t); + int virt$ptsname(int fd, FlatPtr buffer, size_t buffer_size); + int virt$purge(int mode); + u32 virt$read(int, FlatPtr, ssize_t); + int virt$readlink(FlatPtr); + int virt$realpath(FlatPtr); + int virt$recvfd(int, int); + int virt$recvmsg(int sockfd, FlatPtr msg_addr, int flags); int virt$rename(FlatPtr address); + int virt$rmdir(FlatPtr path, size_t path_length); + int virt$sched_getparam(pid_t, FlatPtr); + int virt$sched_setparam(int, FlatPtr); + int virt$select(FlatPtr); + int virt$sendfd(int, int); + int virt$sendmsg(int sockfd, FlatPtr msg_addr, int flags); int virt$set_coredump_metadata(FlatPtr address); - int virt$get_process_name(FlatPtr buffer, int size); - int virt$set_process_name(FlatPtr buffer, int size); int virt$set_mmap_name(FlatPtr); - int virt$clock_gettime(int, FlatPtr); - int virt$clock_nanosleep(FlatPtr); - int virt$dbgputstr(FlatPtr characters, int length); - int virt$chmod(FlatPtr, size_t, mode_t); - int virt$fchmod(int, mode_t); - int virt$chown(FlatPtr); - int virt$fchown(int, uid_t, gid_t); - int virt$clock_settime(uint32_t clock_id, FlatPtr user_ts); - int virt$listen(int, int); - int virt$kill(pid_t, int); - int virt$killpg(int pgrp, int sig); - int virt$fstat(int, FlatPtr); - u32 virt$fcntl(int fd, int, u32); - int virt$getgroups(ssize_t count, FlatPtr); + int virt$set_process_name(FlatPtr buffer, int size); + int virt$set_thread_name(pid_t, FlatPtr, size_t); + int virt$setgid(gid_t); int virt$setgroups(ssize_t count, FlatPtr); - int virt$lseek(int fd, FlatPtr offset_addr, int whence); - int virt$socket(int, int, int); - int virt$getsockopt(FlatPtr); + int virt$setpgid(pid_t pid, pid_t pgid); + pid_t virt$setsid(); int virt$setsockopt(FlatPtr); - int virt$getsockname(FlatPtr); - int virt$getpeername(FlatPtr); - int virt$select(FlatPtr); - int virt$get_stack_bounds(FlatPtr, FlatPtr); - int virt$accept4(FlatPtr); - int virt$bind(int sockfd, FlatPtr address, socklen_t address_length); - int virt$recvmsg(int sockfd, FlatPtr msg_addr, int flags); - int virt$sendmsg(int sockfd, FlatPtr msg_addr, int flags); - int virt$connect(int sockfd, FlatPtr address, socklen_t address_size); + int virt$setuid(uid_t); int virt$shutdown(int sockfd, int how); + int virt$sigaction(int, FlatPtr, FlatPtr); + int virt$sigreturn(); + int virt$socket(int, int, int); + int virt$stat(FlatPtr); + int virt$symlink(FlatPtr address); void virt$sync(); - void virt$exit(int); - ssize_t virt$getrandom(FlatPtr buffer, size_t buffer_size, unsigned int flags); - int virt$chdir(FlatPtr, size_t); - int virt$dup2(int, int); - int virt$getpgrp(); - int virt$getpgid(pid_t); - int virt$setpgid(pid_t pid, pid_t pgid); + u32 virt$sysconf(u32 name); int virt$ttyname(int fd, FlatPtr buffer, size_t buffer_size); - int virt$getcwd(FlatPtr buffer, size_t buffer_size); - int virt$waitid(FlatPtr); - int virt$getsid(pid_t); - int virt$sched_setparam(int, FlatPtr); - int virt$sched_getparam(pid_t, FlatPtr); - int virt$set_thread_name(pid_t, FlatPtr, size_t); - pid_t virt$setsid(); - int virt$create_inode_watcher(unsigned); - int virt$inode_watcher_add_watch(FlatPtr); - int virt$inode_watcher_remove_watch(int, int); - int virt$readlink(FlatPtr); - u32 virt$allocate_tls(FlatPtr, size_t); - int virt$ptsname(int fd, FlatPtr buffer, size_t buffer_size); - int virt$beep(); - int virt$ftruncate(int fd, FlatPtr length_addr); mode_t virt$umask(mode_t); int virt$uname(FlatPtr params_addr); - int virt$anon_create(size_t, int); - int virt$recvfd(int, int); - int virt$sendfd(int, int); - int virt$msyscall(FlatPtr); - int virt$futex(FlatPtr); + int virt$unlink(FlatPtr path, size_t path_length); + u32 virt$unveil(u32); + int virt$waitid(FlatPtr); + u32 virt$write(int, FlatPtr, ssize_t); void dispatch_one_pending_signal(); MmapRegion const* find_text_region(FlatPtr address); |