mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-20 18:12:53 +00:00
Kernel: Fill some siginfo and ucontext fields on SA_SIGINFO
There's no reason to fill in any of these fields if SA_SIGINFO is not given, as the signal handler won't be reading from them at all.
This commit is contained in:
parent
4bd01b7fe9
commit
e14e919b78
Notes:
sideshowbarker
2024-07-17 17:57:10 +09:00
Author: https://github.com/alimpfard
Commit: e14e919b78
Pull-request: https://github.com/SerenityOS/serenity/pull/12762
4 changed files with 69 additions and 8 deletions
|
@ -54,6 +54,7 @@ typedef struct __ucontext {
|
|||
#define SI_TIMER 0x40000002
|
||||
#define SI_ASYNCIO 0x40000003
|
||||
#define SI_MESGQ 0x40000004
|
||||
#define SI_NOINFO 0x40000042
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue