[PATCH] D47165: sanitizer: Don't intercept ustat for Linux

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 23 08:52:50 PDT 2018


kcc added a reviewer: eugenis.
kcc added a comment.

the ustat interceptor has been added in 2013, probably as part of the work on msan.

r190157 | eugenis | 2013-09-06 07:20:01 -0700 (Fri, 06 Sep 2013) | 2 lines
[sanitizer] A bunch of linux system call handlers.

I bet some code uses ustat and was causing msan false positives. 
We don't seem to have tests for it, and such a test doesn't appear trivial for the LLVM test suite.

What will happen on pre 2.28 if we remove this interceptor? 
Will msan get new false positives?


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D47165





More information about the llvm-commits mailing list