summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-12-22 21:55:10 +0200
committerIdan Horowitz <idan.horowitz@gmail.com>2021-12-22 22:53:56 +0200
commit7a662c2638818135a908a4a8929bfa12eed5d65f (patch)
treeaa8e27e58f5fed7240dbfecda7651a7b3ce9ced1 /Kernel
parentf20e0036bd6fa0731e12a7814f94d966ada17746 (diff)
downloadserenity-7a662c2638818135a908a4a8929bfa12eed5d65f.zip
Kernel: Add the si_errno and si_band siginfo_t members
These 2 members are required by POSIX and are also used by some ports. Zero is a valid value for both of these, so no further work to support them is required.
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/API/POSIX/signal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/API/POSIX/signal.h b/Kernel/API/POSIX/signal.h
index b8f3b24597..4d9d680520 100644
--- a/Kernel/API/POSIX/signal.h
+++ b/Kernel/API/POSIX/signal.h
@@ -26,10 +26,12 @@ union sigval {
typedef struct siginfo {
int si_signo;
int si_code;
+ int si_errno;
pid_t si_pid;
uid_t si_uid;
void* si_addr;
int si_status;
+ int si_band;
union sigval si_value;
} siginfo_t;