Jakub Jelinek
0e6017f5b4
sanitizer: Cherry-pick realpath fix
...
tsan in some cases starts ignoring interceptors and only calls the
intercepted functions. But for realpath the behavior for NULL second argument
was only handled in the interceptor and intercepted function was the one
found by dlsym which is often one that doesn't handle NULL as second argument.
Fixed by using dlvsym with "GLIBC_2.3" if possible for intercepted function
and don't emulate behavior in the wrapper.
2021-08-11 Jakub Jelinek <jakub@redhat.com>
* sanitizer_common/sanitizer_common_interceptors.inc: Cherry-pick
llvm-project revision faef0d042f523357fe5590e7cb6a8391cf0351a8.
2021-08-11 10:23:34 +02:00
..
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2020-10-16 10:57:03 +02:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2020-11-13 17:28:49 +01:00
2020-11-13 17:28:49 +01:00
2021-07-20 14:21:51 -07:00
2021-05-13 09:29:17 +02:00
2021-07-20 14:21:51 -07:00
2020-10-16 10:57:03 +02:00
2021-05-13 09:29:17 +02:00
2020-11-13 17:28:49 +01:00
2020-10-16 10:57:03 +02:00
2020-10-16 10:57:03 +02:00
2020-10-16 10:57:03 +02:00
2020-10-16 10:57:03 +02:00
2021-05-13 09:29:17 +02:00
2021-05-13 09:29:17 +02:00
2020-10-16 10:57:03 +02:00
2021-05-21 10:30:59 +01:00
2021-05-13 09:29:17 +02:00
2020-10-16 10:57:03 +02:00
2021-08-11 10:23:34 +02:00
2021-05-13 09:29:17 +02:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2020-10-16 10:57:03 +02:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2020-11-13 17:28:49 +01:00
2020-10-16 10:57:03 +02:00
2021-07-20 14:21:51 -07:00
2021-05-13 09:29:17 +02:00
2021-05-13 09:29:17 +02:00
2020-11-13 17:28:49 +01:00
2021-05-13 09:29:17 +02:00
2020-11-13 17:28:49 +01:00
2021-05-13 09:29:17 +02:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2020-10-16 10:57:03 +02:00
2021-05-13 09:29:17 +02:00
2021-05-13 09:29:17 +02:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2021-05-13 09:29:17 +02:00
2021-05-13 09:29:17 +02:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2021-05-13 09:29:17 +02:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2020-11-13 17:28:49 +01:00
2021-07-20 14:21:51 -07:00
2021-05-13 09:29:17 +02:00
2021-07-20 14:21:51 -07:00
2020-10-16 10:57:03 +02:00
2020-10-16 10:57:03 +02:00
2020-11-13 17:28:49 +01:00
2020-11-13 17:28:49 +01:00
2021-05-21 10:30:59 +01:00
2021-07-20 14:21:51 -07:00
2020-10-16 10:57:03 +02:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2021-05-13 09:29:17 +02:00
2021-05-13 09:29:17 +02:00
2021-07-20 14:21:51 -07:00
2020-11-13 17:28:49 +01:00
2021-05-13 09:29:17 +02:00
2021-05-13 09:29:17 +02:00
2021-05-13 09:29:17 +02:00
2020-11-13 17:28:49 +01:00
2021-05-13 09:29:17 +02:00
2021-07-20 14:21:51 -07:00
2020-10-16 10:57:03 +02:00
2021-07-20 14:21:51 -07:00
2021-05-13 09:29:17 +02:00
2020-10-16 10:57:03 +02:00
2020-10-16 10:57:03 +02:00
2021-07-20 14:21:51 -07:00
2020-10-16 10:57:03 +02:00
2020-10-16 10:57:03 +02:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2020-11-13 17:28:49 +01:00
2020-11-13 17:28:49 +01:00
2021-05-13 09:29:17 +02:00
2020-11-13 17:28:49 +01:00
2020-11-13 17:28:49 +01:00
2020-11-13 17:28:49 +01:00
2021-05-13 09:29:17 +02:00
2020-11-13 17:28:49 +01:00
2020-11-13 17:28:49 +01:00
2021-05-13 09:29:17 +02:00
2020-11-13 17:28:49 +01:00
2020-11-13 17:28:49 +01:00
2021-07-20 14:21:51 -07:00
2021-05-13 09:29:17 +02:00
2021-07-20 14:21:51 -07:00
2021-05-13 09:29:17 +02:00
2020-11-13 17:28:49 +01:00
2020-10-16 10:57:03 +02:00
2020-10-16 10:57:03 +02:00
2021-05-13 09:29:17 +02:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2021-07-20 14:21:51 -07:00
2021-05-13 09:29:17 +02:00
2021-05-13 09:29:17 +02:00
2021-05-13 09:29:17 +02:00
2021-07-20 14:21:51 -07:00