diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-04-24 20:48:32 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-04-26 19:51:12 -0500 |
commit | 76b7f670730e87974f71df9f6129811e2769666e (patch) | |
tree | cee6f3c95f0dbead2fbce14269f93d182020fe8d /include/uapi/linux/signalfd.h | |
parent | 5611f55ee4df70d947bf239c587e742efdab028b (diff) |
signal/signalfd: Add support for SIGSYS
I don't know why signalfd has never grown support for SIGSYS but grow it now.
This corrects an oversight and removes a need for a default in the
switch statement. Allowing gcc to warn when future members are added
to the enum siginfo_layout, and signalfd does not handle them.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/uapi/linux/signalfd.h')
-rw-r--r-- | include/uapi/linux/signalfd.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/uapi/linux/signalfd.h b/include/uapi/linux/signalfd.h index 6f0da42fc5ef..83429a05b698 100644 --- a/include/uapi/linux/signalfd.h +++ b/include/uapi/linux/signalfd.h @@ -35,6 +35,10 @@ struct signalfd_siginfo { __u64 ssi_stime; __u64 ssi_addr; __u16 ssi_addr_lsb; + __u16 __pad2; + __s32 ssi_syscall; + __u64 ssi_call_addr; + __u32 ssi_arch; /* * Pad strcture to 128 bytes. Remember to update the @@ -45,7 +49,7 @@ struct signalfd_siginfo { * comes out of a read(2) and we really don't want to have * a compat on read(2). */ - __u8 __pad[46]; + __u8 __pad[28]; }; |