Leonard Chan
993555beb8
[compiler-rt][scudo] Check for failing prctl call
...
A bunch of MTE tests like ./ScudoUnitTest-aarch64-Test/MemtagTest.StoreTags
can fail on aarch64-linux if the kernel doesn't support the tagged address ABI. It looks like
the call to prctl(PR_GET_TAGGED_ADDR_CTRL, 0, 0, 0, 0) can return -1, which
casted to an unsigned int and masked will return a value not equal to
PR_MTE_TCF_NONE, meaning systemDetectsMemoryTagFaultsTestOnly can return an incorrect value.
This updates the check to account for a failing prctl call.
Differential Revision: https://reviews.llvm.org/D110888
2021-10-04 13:14:20 -07:00
..
2021-05-26 09:53:40 -07:00
2021-03-09 11:43:03 -08:00
2021-06-22 17:39:55 -07:00
2021-08-22 13:47:04 -05:00
2020-12-10 12:25:42 -08:00
2021-06-23 23:01:26 -07:00
2020-09-30 09:42:45 -07:00
2021-05-26 09:53:40 -07:00
2020-05-11 09:17:57 -07:00
2019-11-27 10:12:27 -08:00
2020-09-18 12:04:27 -07:00
2021-09-08 21:10:40 -07:00
2021-08-16 14:46:42 -07:00
2021-05-25 08:27:37 -07:00
2021-06-08 14:02:10 -07:00
2019-10-09 15:09:28 +00:00
2019-11-27 10:12:27 -08:00
2021-01-27 12:35:34 -08:00
2021-01-27 12:35:34 -08:00
2019-12-13 09:09:41 -08:00
2021-05-14 13:45:43 -07:00
2021-05-25 08:27:37 -07:00
2019-04-24 14:20:49 +00:00
2021-08-16 14:46:42 -07:00
2021-07-01 12:06:33 -07:00
2020-09-10 19:14:28 -07:00
2021-05-01 01:46:47 -07:00
2021-05-26 09:53:40 -07:00
2021-10-04 13:14:20 -07:00
2021-05-26 09:53:40 -07:00
2021-05-01 01:46:47 -07:00
2021-06-08 14:02:10 -07:00
2021-06-16 14:21:58 -07:00
2021-08-17 08:37:49 -07:00
2021-06-16 14:21:58 -07:00
2020-07-16 09:44:25 -07:00
2021-04-15 13:26:23 -07:00
2021-06-03 18:12:24 -07:00
2019-03-20 14:31:23 +00:00
2021-08-17 08:37:49 -07:00
2021-08-17 08:37:49 -07:00
2021-05-01 01:46:47 -07:00
2021-05-26 09:53:40 -07:00
2021-08-13 13:45:30 +02:00
2021-08-13 13:45:30 +02:00
2021-06-08 14:02:10 -07:00
2021-06-08 14:02:10 -07:00
2021-05-26 09:53:40 -07:00
2021-05-26 09:53:40 -07:00
2021-06-16 14:21:58 -07:00
2021-08-03 08:07:27 -07:00
2021-05-01 01:46:47 -07:00
2021-08-16 14:46:42 -07:00
2021-05-01 01:46:47 -07:00
2020-07-23 15:09:13 -07:00
2021-08-17 08:37:49 -07:00
2021-05-26 10:50:26 -07:00