Andreas Larsson
c599a7821b
sparc32: Preserve clone syscall flags argument for restarts due to signals
...
This fixes a bug where a clone syscall that is restarted due to a
pending signal is restarted with garbage in the register %o0 that holds
the clone flags.
This keep the original %i0 of a syscall (as seen from the trap handler)
in %l6 rather than %l5. This is done because for clone (and also qfork)
%l5 is used as a temporary variable in the same register window. Before
this, that temporary value would be the value that was then incorrectly
used as the orig_i0 argument to do_notify_resume.
In order to preserve %l6, the temporary usage of %l6 in ret_sys_call is
changed to use %l5 instead and the setting %l6 to 0 or 1 was removed.
The use of that 0 or 1 value in %l6 was removed in commit
28e6103665
.
Signed-off-by: Andreas Larsson <andreas@gaisler.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2021-02-18 16:15:11 -08:00
..
2020-05-14 16:44:25 +02:00
2020-03-25 11:50:48 +01:00
2019-06-19 17:09:52 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-07-21 18:28:00 -07:00
2017-11-02 11:10:55 +01:00
2020-07-21 18:28:00 -07:00
2017-11-02 11:10:55 +01:00
2019-05-21 10:50:45 +02:00
2017-11-02 11:10:55 +01:00
2020-06-09 09:39:13 -07:00
2020-05-07 18:49:04 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-05-07 18:49:04 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-18 07:38:45 -07:00
2021-02-18 16:15:11 -08:00
2017-11-02 11:10:55 +01:00
2018-03-18 07:38:48 -07:00
2017-11-02 11:10:55 +01:00
2018-11-27 20:31:46 -05:00
2017-11-02 11:10:55 +01:00
2020-05-13 15:32:00 -07:00
2020-06-09 09:39:13 -07:00
2019-05-21 10:50:45 +02:00
2018-01-22 08:17:15 -08:00
2018-01-22 08:17:15 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-06 06:56:40 -08:00
2018-05-09 06:54:27 +02:00
2019-02-20 07:28:58 -07:00
2020-04-02 18:11:55 -07:00
2017-11-02 11:10:55 +01:00
2018-11-18 13:35:21 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-01-06 09:46:51 +09:00
2019-02-20 07:28:53 -07:00
2020-07-21 18:28:00 -07:00
2020-07-21 18:28:00 -07:00
2018-06-21 12:33:19 +02:00
2017-11-02 11:10:55 +01:00
2020-06-09 09:39:13 -07:00
2018-05-09 06:54:27 +02:00
2020-02-04 03:05:26 +00:00
2018-11-18 13:35:22 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-22 07:54:06 -05:00
2017-11-02 11:10:55 +01:00
2020-06-09 09:39:13 -07:00
2019-01-06 09:46:51 +09:00
2019-06-02 22:15:35 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-21 10:50:45 +02:00
2018-11-18 13:35:22 -08:00
2018-11-18 13:35:22 -08:00
2020-04-02 18:11:55 -07:00
2017-11-02 11:10:55 +01:00
2018-05-22 07:54:06 -05:00
2019-03-05 21:07:14 -08:00
2018-02-15 15:07:30 -06:00
2018-05-22 07:54:06 -05:00
2017-11-02 11:10:55 +01:00
2018-11-18 13:35:21 -08:00
2019-03-05 21:07:14 -08:00
2017-11-02 11:10:55 +01:00
2019-04-10 21:42:04 +02:00
2017-11-02 11:10:55 +01:00
2020-08-05 17:51:51 -07:00
2018-05-22 07:54:06 -05:00
2020-07-21 18:28:00 -07:00
2019-06-02 22:16:33 -07:00
2017-11-02 11:10:55 +01:00
2018-11-18 13:35:20 -08:00
2021-02-18 16:13:38 -08:00
2020-06-09 09:39:13 -07:00
2020-07-21 18:28:00 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2018-11-18 13:35:21 -08:00
2017-11-02 11:10:55 +01:00
2019-03-05 21:07:14 -08:00
2017-11-02 11:10:55 +01:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:13 -07:00
2018-11-18 13:35:21 -08:00
2021-02-18 16:15:11 -08:00
2019-12-08 14:37:35 +01:00
2019-03-05 21:07:14 -08:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:13 -07:00
2020-07-21 18:28:00 -07:00
2020-09-14 17:04:49 -07:00
2020-07-21 18:28:00 -07:00
2019-01-03 18:57:57 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:13 -07:00
2016-08-07 23:55:43 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-21 10:50:45 +02:00
2017-11-02 11:10:55 +01:00
2018-11-18 13:35:21 -08:00
2017-11-02 11:10:55 +01:00
2020-06-09 09:39:13 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:52 +02:00
2017-11-02 11:10:55 +01:00
2018-03-20 12:01:23 -04:00
2020-06-02 18:41:48 -07:00
2019-05-29 09:31:43 -05:00
2020-02-02 11:54:41 +01:00
2018-03-20 12:05:17 -04:00
2017-11-02 11:10:55 +01:00
2018-11-18 18:52:22 -08:00
2018-11-18 18:52:22 -08:00
2018-03-20 12:05:17 -04:00
2017-11-02 11:10:55 +01:00
2019-05-10 12:20:36 +02:00
2017-11-02 11:10:55 +01:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:13 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-18 07:38:45 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-01-03 18:57:57 -08:00
2017-11-02 11:10:55 +01:00
2019-05-21 11:28:45 +02:00
2018-03-18 07:38:48 -07:00
2017-11-02 11:10:55 +01:00
2017-11-15 14:21:03 +09:00
2020-05-13 15:35:58 -07:00
2020-06-22 15:43:16 -07:00
2017-11-02 11:10:55 +01:00
2020-01-30 07:36:43 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00