mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
Kernel: Add support for MSG_NOSIGNAL and properly send SIGPIPE
Previously we didn't send the SIGPIPE signal to processes when sendto()/sendmsg()/etc. returned EPIPE. And now we do. This also adds support for MSG_NOSIGNAL to suppress the signal.
This commit is contained in:
parent
e5e7ea90b1
commit
ce4b66e908
Notes:
sideshowbarker
2024-07-17 05:10:14 +09:00
Author: https://github.com/gunnarbeutner
Commit: ce4b66e908
Pull-request: https://github.com/SerenityOS/serenity/pull/15764
4 changed files with 16 additions and 5 deletions
|
@ -60,6 +60,7 @@ extern "C" {
|
|||
#define MSG_DONTROUTE 0x10
|
||||
#define MSG_WAITALL 0x20
|
||||
#define MSG_DONTWAIT 0x40
|
||||
#define MSG_NOSIGNAL 0x80
|
||||
|
||||
typedef uint16_t sa_family_t;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue