diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-05-10 12:18:25 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-05-10 12:18:25 +0000 |
commit | 6b989288abf53a99d9ec6924df9d6bba9a1c4d82 (patch) | |
tree | 2dfa0c241561bc2baa79b6e874090a63ce0bf113 /llvm/lib | |
parent | 8ac5340a4ef7e6124d989fef5c31c60fcbd72a79 (diff) | |
download | bcm5719-llvm-6b989288abf53a99d9ec6924df9d6bba9a1c4d82.tar.gz bcm5719-llvm-6b989288abf53a99d9ec6924df9d6bba9a1c4d82.zip |
[msan] Fix getmntent{_r} for empty /etc/fstab
Some configuration (for instance default docker ubuntu images) uses
a default empty and invalid /etc/fstab configuration file. It makes
any call to getmntent return NULL and it leads to failures on
Msan-aarch64{-with-call}-Test/MemorySanitizer.getmntent{_r}.
This patch fixes it by creating a temporary file with some valid
entries (although not valid for the system) to use along with
setmntent/getmntent.
llvm-svn: 302639
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions