[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 09:19:42 PDT 2018


kcc added a comment.

Yes, I think a much safer fix would be to add

  unsigned struct_ustat_sz = <SOMETHING>;  // glibc >= 2.28 doesn't have <sys/ustat.h> so we can't include it and use  sizeof(struct ustat);


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D47165





More information about the llvm-commits mailing list