summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2018-08-22 16:39:20 +0000
committerRich Felker <dalias@aerifal.cx>2018-12-09 22:25:21 -0500
commita71276e2582ee034432cb52c17d786df610c2cf0 (patch)
tree0039814550e2857cb43d07595b8bccbd77e98dd3 /include
parent0a9a5c20c7ebaba9f60f75a6c40a9506d721dff5 (diff)
downloadmusl-a71276e2582ee034432cb52c17d786df610c2cf0.tar.gz
musl-a71276e2582ee034432cb52c17d786df610c2cf0.tar.bz2
musl-a71276e2582ee034432cb52c17d786df610c2cf0.tar.xz
musl-a71276e2582ee034432cb52c17d786df610c2cf0.zip
add SIGSYS support to sys/signalfd.h from linux v4.18
new in linux commit 76b7f670730e87974f71df9f6129811e2769666e in struct signalfd_siginfo the pad member is changed to __pad to keep the namespace clean, it's not part of the public api.
Diffstat (limited to 'include')
-rw-r--r--include/sys/signalfd.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/sys/signalfd.h b/include/sys/signalfd.h
index 55431b91..e881e2cf 100644
--- a/include/sys/signalfd.h
+++ b/include/sys/signalfd.h
@@ -35,7 +35,11 @@ struct signalfd_siginfo {
uint64_t ssi_stime;
uint64_t ssi_addr;
uint16_t ssi_addr_lsb;
- uint8_t pad[128-12*4-4*8-2];
+ uint16_t __pad2;
+ int32_t ssi_syscall;
+ uint64_t ssi_call_addr;
+ uint32_t ssi_arch;
+ uint8_t __pad[128-14*4-5*8-2*2];
};
#ifdef __cplusplus