mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:27:43 +00:00
Kernel: Use Userspace<T> for the sigpending syscall
This commit is contained in:
parent
fbb26b28b9
commit
ecfe20efd2
2 changed files with 2 additions and 2 deletions
|
@ -262,7 +262,7 @@ public:
|
|||
int sys$dup2(int oldfd, int newfd);
|
||||
int sys$sigaction(int signum, const sigaction* act, sigaction* old_act);
|
||||
int sys$sigprocmask(int how, Userspace<const sigset_t*> set, Userspace<sigset_t*> old_set);
|
||||
int sys$sigpending(sigset_t*);
|
||||
int sys$sigpending(Userspace<sigset_t*>);
|
||||
int sys$getgroups(ssize_t, Userspace<gid_t*>);
|
||||
int sys$setgroups(ssize_t, Userspace<const gid_t*>);
|
||||
int sys$pipe(int pipefd[2], int flags);
|
||||
|
|
|
@ -59,7 +59,7 @@ int Process::sys$sigprocmask(int how, Userspace<const sigset_t*> set, Userspace<
|
|||
return 0;
|
||||
}
|
||||
|
||||
int Process::sys$sigpending(sigset_t* set)
|
||||
int Process::sys$sigpending(Userspace<sigset_t*> set)
|
||||
{
|
||||
REQUIRE_PROMISE(stdio);
|
||||
if (!validate_write_typed(set))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue