mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Kernel: Use Userspace<T> for the sigprocmask syscall
This commit is contained in:
parent
431145148e
commit
fbb26b28b9
Notes:
sideshowbarker
2024-07-19 04:05:32 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/fbb26b28b94 Pull-request: https://github.com/SerenityOS/serenity/pull/3062 Reviewed-by: https://github.com/awesomekling
2 changed files with 2 additions and 2 deletions
|
@ -261,7 +261,7 @@ public:
|
|||
int sys$dup(int oldfd);
|
||||
int sys$dup2(int oldfd, int newfd);
|
||||
int sys$sigaction(int signum, const sigaction* act, sigaction* old_act);
|
||||
int sys$sigprocmask(int how, const sigset_t* set, sigset_t* old_set);
|
||||
int sys$sigprocmask(int how, Userspace<const sigset_t*> set, Userspace<sigset_t*> old_set);
|
||||
int sys$sigpending(sigset_t*);
|
||||
int sys$getgroups(ssize_t, Userspace<gid_t*>);
|
||||
int sys$setgroups(ssize_t, Userspace<const gid_t*>);
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
int Process::sys$sigprocmask(int how, const sigset_t* set, sigset_t* old_set)
|
||||
int Process::sys$sigprocmask(int how, Userspace<const sigset_t*> set, Userspace<sigset_t*> old_set)
|
||||
{
|
||||
REQUIRE_PROMISE(sigaction);
|
||||
auto current_thread = Thread::current();
|
||||
|
|
Loading…
Reference in a new issue