diff options
author | Petr Malat <oss@malat.biz> | 2014-12-12 17:28:01 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-02-19 15:47:46 +0300 |
commit | 8cb48fe169dd682b6c29a3b7ef18333e4f577890 (patch) | |
tree | 66b586be917aeb42bf14fc6423f7412afbcfdb5d /arch/mips/bcm3384 | |
parent | 32098ec7bcba492f28451d2701ca4e26f2cc1c6e (diff) | |
download | linux-8cb48fe169dd682b6c29a3b7ef18333e4f577890.tar.xz |
MIPS: Provide correct siginfo_t.si_stime
Provide correct siginfo_t.si_stime on MIPS64
Bug description:
MIPS version of copy_siginfo() is not aware of alignment on platforms with
64-bit long integers, which leads to an incorrect si_stime passed to signal
handlers, because the last element (si_stime) of _sifields._sigchld is not
copied. If _MIPS_SZLONG is 64, then the _sifields starts at the offset of
4 * sizeof(int).
Patch description:
Use the generic copy_siginfo, which doesn't have this problem.
Signed-off-by: Petr Malat <oss@malat.biz>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8671/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/bcm3384')
0 files changed, 0 insertions, 0 deletions