Vladimir Murzin
3f4aa45cee
ARM: 8226/1: cacheflush: get rid of restarting block
...
We cannot restart cacheflush safely if a process provides user-defined
signal handler and signal is pending. In this case -EINTR is returned
and it is expected that process re-invokes syscall. However, there are
a few problems with that:
* looks like nobody bothers checking return value from cacheflush
* but if it did, we don't provide the restart address for that, so the
process has to use the same range again
* ...and again, what might lead to looping forever
So, remove cacheflush restarting code and terminate cache flushing
as early as fatal signal is pending.
Cc: stable@vger.kernel.org # 3.12+
Reported-by: Chanho Min <chanho.min@lge.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-11-27 15:55:35 +00:00
..
2013-10-09 16:54:10 -07:00
2014-09-16 16:09:30 +01:00
2014-07-11 04:57:31 -07:00
2012-09-03 22:55:56 +01:00
2014-09-26 14:39:53 +01:00
2013-04-09 14:13:32 -04:00
2013-07-26 14:55:59 +01:00
2014-05-30 10:50:57 -06:00
2014-10-29 00:18:20 +00:00
2012-03-21 01:59:40 -04:00
2014-04-07 12:10:00 +01:00
2014-07-18 12:29:04 +01:00
2014-07-29 21:26:49 -06:00
2011-09-13 11:12:14 +02:00
2013-04-29 18:28:13 -07:00
2012-03-28 18:30:01 +01:00
2014-10-02 21:47:02 +01:00
2014-09-26 14:39:54 +01:00
2014-10-02 21:47:02 +01:00
2013-12-29 12:32:32 +00:00
2013-12-29 12:32:34 +00:00
2014-09-18 00:35:18 +01:00
2014-07-18 12:29:04 +01:00
2014-04-23 01:24:31 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-10-09 22:26:04 -04:00
2014-09-26 14:39:53 +01:00
2014-08-07 11:35:30 -07:00
2012-03-30 11:51:46 +01:00
2012-03-24 09:38:56 +00:00
2014-01-28 14:06:25 +00:00
2014-10-09 06:42:04 -04:00
2014-06-06 16:08:15 -07:00
2014-08-05 10:27:13 +01:00
2012-03-24 09:38:56 +00:00
2014-08-02 15:20:30 +01:00
2014-03-18 16:39:40 -04:00
2014-04-01 16:45:19 +03:00
2014-07-02 12:48:36 +01:00
2014-04-01 16:48:26 +03:00
2014-09-30 16:55:24 +01:00
2014-09-30 16:55:24 +01:00
2014-04-01 16:45:19 +03:00
2014-04-01 16:45:19 +03:00
2014-03-18 16:39:40 -04:00
2014-04-22 22:23:58 +01:00
2014-06-05 12:35:52 +01:00
2014-08-27 15:40:11 +01:00
2011-12-13 08:52:02 +00:00
2012-03-24 09:38:55 +00:00
2012-03-24 09:38:55 +00:00
2014-10-02 21:47:02 +01:00
2014-07-02 15:48:25 +01:00
2014-07-02 15:48:26 +01:00
2014-07-02 15:48:25 +01:00
2014-08-05 10:27:25 +01:00
2013-09-30 16:41:50 +01:00
2014-04-25 12:07:34 +01:00
2014-07-02 12:48:36 +01:00
2014-03-18 16:39:40 -04:00
2014-03-18 16:39:40 -04:00
2014-03-18 16:39:40 -04:00
2014-04-01 16:45:19 +03:00
2014-03-18 16:39:40 -04:00
2014-10-10 16:38:02 -04:00
2014-05-15 10:16:30 -04:00
2014-05-15 10:16:00 -04:00
2014-10-19 16:25:56 -07:00
2014-07-18 12:29:04 +01:00
2014-09-26 14:40:07 +01:00
2014-09-18 00:35:18 +01:00
2014-03-18 16:39:40 -04:00
2013-11-30 22:21:00 +00:00
2014-07-18 12:29:04 +01:00
2014-08-02 08:51:53 +01:00
2014-07-24 14:40:26 +01:00
2014-08-26 13:45:50 -04:00
2014-10-09 06:30:57 -04:00
2014-05-30 01:12:32 +01:00
2013-07-30 09:00:43 -04:00
2014-09-12 17:38:58 +01:00
2012-11-28 22:13:54 -05:00
2014-04-22 08:23:58 -04:00
2013-12-11 09:53:14 +00:00
2014-09-16 16:09:32 +01:00
2014-07-18 12:29:14 +01:00
2014-09-19 12:35:27 +02:00
2014-11-27 15:55:35 +00:00
2014-09-26 14:39:53 +01:00
2014-03-18 16:39:40 -04:00
2014-05-25 23:48:45 +01:00
2014-03-18 16:39:40 -04:00
2013-09-02 13:49:29 +01:00
2014-10-02 21:28:16 +01:00
2011-10-31 19:30:48 -04:00