1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +00:00

Kernel: Use Userspace<T> for the set_thread_name syscall

This commit is contained in:
Brian Gianforcaro 2020-08-09 15:27:23 -07:00 committed by Andreas Kling
parent 0e20a6df0a
commit 9652b0ae2b
2 changed files with 3 additions and 2 deletions

View file

@ -308,7 +308,7 @@ public:
void sys$exit_thread(void*);
int sys$join_thread(pid_t tid, void** exit_value);
int sys$detach_thread(pid_t tid);
int sys$set_thread_name(pid_t tid, const char* buffer, size_t buffer_size);
int sys$set_thread_name(pid_t tid, Userspace<const char*> buffer, size_t buffer_size);
int sys$get_thread_name(pid_t tid, char* buffer, size_t buffer_size);
int sys$rename(Userspace<const Syscall::SC_rename_params*>);
int sys$mknod(Userspace<const Syscall::SC_mknod_params*>);