summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-05-10 12:18:25 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-05-10 12:18:25 +0000
commit6b989288abf53a99d9ec6924df9d6bba9a1c4d82 (patch)
tree2dfa0c241561bc2baa79b6e874090a63ce0bf113 /llvm/lib
parent8ac5340a4ef7e6124d989fef5c31c60fcbd72a79 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud