diff options
author | Dave Martin <[email protected]> | 2011-07-28 14:29:40 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2011-08-09 08:42:39 +0100 |
commit | 2102a65e69eac8d77dd71b4991b395e825087ba8 (patch) | |
tree | 4e13dd2abc790283b6a987bdbf8e9c37a339edc7 /net/lapb/lapb_timer.c | |
parent | 088c01f1e39dbe93a13e0b00f4532ed8b79d35f4 (diff) |
ARM: 7008/1: alignment: Make SIGBUS sent to userspace POSIXly correct
With the UM_SIGNAL alignment fault mode, no siginfo structure is
passed to userspace.
POSIX specifies how siginfo_t should be populated for alignment
faults, so this patch does just that:
* si_signo = SIGBUS
* si_code = BUS_ADRALN
* si_addr = misaligned data address at which access was attempted
Signed-off-by: Dave Martin <[email protected]>
Acked-by: Nicolas Pitre <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Reviewed-by: Will Deacon <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions