mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 01:27:44 +00:00
Kernel: Remove "restorer" field from SignalActionData.
I was originally implementing signals by looking at some man page about sigaction() to see how it works. It seems like the restorer thingy is system-specific and not required by POSIX, so let's get rid of it.
This commit is contained in:
parent
5562ab3f5a
commit
5f63f8120c
6 changed files with 0 additions and 7 deletions
|
@ -33,7 +33,6 @@ sighandler_t signal(int signum, sighandler_t handler)
|
|||
new_act.sa_handler = handler;
|
||||
new_act.sa_flags = 0;
|
||||
new_act.sa_mask = 0;
|
||||
new_act.sa_restorer = nullptr;
|
||||
int rc = sigaction(signum, &new_act, &old_act);
|
||||
if (rc < 0)
|
||||
return SIG_ERR;
|
||||
|
|
|
@ -19,7 +19,6 @@ struct sigaction {
|
|||
};
|
||||
sigset_t sa_mask;
|
||||
int sa_flags;
|
||||
void (*sa_restorer)(void);
|
||||
};
|
||||
|
||||
int kill(pid_t, int sig);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue