mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:08:12 +00:00
Kernel: Merge {get,set}_process_name syscalls to the prctl syscall
It makes much more sense to have these actions being performed via the prctl syscall, as they both require 2 plain arguments to be passed to the syscall layer, and in contrast to most syscalls, we don't get in these removed syscalls an automatic representation of Userspace<T>, but two FlatPtr(s) to perform casting on them in the prctl syscall which is suited to what has been done in the removed syscalls. Also, it makes sense to have these actions in the prctl syscall, because they are strongly related to the process control concept of the prctl syscall.
This commit is contained in:
parent
1e36d54493
commit
d16d805d96
9 changed files with 36 additions and 71 deletions
|
@ -293,8 +293,6 @@ public:
|
|||
ErrorOr<FlatPtr> sys$yield();
|
||||
ErrorOr<FlatPtr> sys$sync();
|
||||
ErrorOr<FlatPtr> sys$beep(int tone);
|
||||
ErrorOr<FlatPtr> sys$get_process_name(Userspace<char*> buffer, size_t buffer_size);
|
||||
ErrorOr<FlatPtr> sys$set_process_name(Userspace<char const*> user_name, size_t user_name_length);
|
||||
ErrorOr<FlatPtr> sys$create_inode_watcher(u32 flags);
|
||||
ErrorOr<FlatPtr> sys$inode_watcher_add_watch(Userspace<Syscall::SC_inode_watcher_add_watch_params const*> user_params);
|
||||
ErrorOr<FlatPtr> sys$inode_watcher_remove_watch(int fd, int wd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue