Dave Martin
2102a65e69
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 <dave.martin@linaro.org>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Kirill A. Shutemov <kirill@shutemov.name>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-08-09 08:42:39 +01:00
..
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:12 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-08-09 08:42:39 +01:00
2011-07-07 15:31:05 +01:00
2010-12-19 12:57:16 -05:00
2011-07-06 20:48:08 +01:00
2009-11-27 15:43:21 -05:00
2011-07-07 15:31:05 +01:00
2011-07-07 15:31:06 +01:00
2011-07-07 15:31:06 +01:00
2011-07-07 15:31:06 +01:00
2011-07-07 15:31:06 +01:00
2011-07-07 15:31:06 +01:00
2010-12-19 12:57:08 -05:00
2011-06-09 10:13:16 +01:00
2010-04-27 12:45:10 +02:00
2010-06-08 19:42:18 +01:00
2009-10-05 15:17:45 +01:00
2010-09-19 12:17:43 +01:00
2010-06-08 19:42:18 +01:00
2010-06-08 19:42:18 +01:00
2011-07-08 19:46:37 +01:00
2010-06-08 19:42:18 +01:00
2010-09-19 12:17:43 +01:00
2011-07-12 11:08:12 +01:00
2008-09-06 11:35:55 +01:00
2011-02-21 19:24:14 +00:00
2011-07-24 10:20:54 -07:00
2006-09-27 16:13:48 +01:00
2011-05-23 19:27:40 +01:00
2010-12-19 12:56:46 -05:00
2011-02-21 19:24:14 +00:00
2011-08-09 08:42:38 +01:00
2011-07-12 11:19:29 -05:00
2010-12-24 09:49:52 +00:00
2011-07-26 17:41:04 -07:00
2011-02-02 21:23:26 +00:00
2011-07-12 11:08:12 +01:00
2011-04-14 09:15:24 +01:00
2011-07-05 20:27:16 +01:00
2011-07-05 20:27:16 +01:00
2011-07-02 10:56:10 +01:00
2011-07-02 10:56:10 +01:00
2011-07-02 10:56:10 +01:00
2011-03-20 09:32:12 +00:00
2011-07-22 23:09:07 +01:00
2011-07-07 15:31:08 +01:00
2011-07-07 15:31:09 +01:00
2011-07-07 15:31:07 +01:00
2011-07-07 15:31:08 +01:00
2011-07-21 17:49:54 +01:00
2011-07-07 15:31:08 +01:00
2011-07-07 15:31:09 +01:00
2011-07-21 17:49:54 +01:00
2011-07-07 15:31:09 +01:00
2011-08-09 08:42:38 +01:00
2011-07-07 15:31:07 +01:00
2011-07-07 15:31:07 +01:00
2011-07-07 15:31:07 +01:00
2011-07-07 15:31:07 +01:00
2011-07-07 15:31:09 +01:00
2011-07-07 15:31:10 +01:00
2011-07-21 17:49:54 +01:00
2011-07-07 15:31:10 +01:00
2011-07-07 15:31:10 +01:00
2011-07-22 23:09:07 +01:00
2009-12-14 14:53:22 +00:00
2011-07-21 17:49:54 +01:00
2011-07-21 17:49:54 +01:00
2011-07-26 17:12:10 -07:00
2011-07-21 17:49:54 +01:00
2011-07-22 23:09:07 +01:00
2011-07-07 15:31:11 +01:00
2011-07-07 15:31:12 +01:00
2011-07-07 15:31:12 +01:00
2011-07-07 15:31:12 +01:00
2011-07-22 23:09:07 +01:00
2011-07-22 23:09:07 +01:00
2011-02-23 17:24:11 +00:00
2010-07-27 10:43:48 +01:00