1
1
openmpi/opal/mca
Nathan Hjelm 15007b4e2b linux: use mntent.h instead of manually parsing /proc/mounts
setmntent() doesn't support root_fd, but manual parsing of
/proc/mounts is fragile, and actually buggy for very long mount lines
(see open-mpi/hwloc#142 (comment)).

Since we only openat("/proc/mounts") there, just manually concatenate
the fsroot_path and use setmntent().

Thanks to Nathan Hjelm for the report.

(Cherry-picked from open-mpi/hwloc@d2d07b9a22)

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-01-07 12:55:03 -07:00
..
allocator Release the allocator list items from the list before destructing 2015-10-23 12:26:49 -07:00
backtrace Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
base mca/base: add missing #include "opal/util/output.h" and <unistd.h> 2015-12-24 14:41:33 +09:00
btl btl_sm: add a comment explaining why we rename(2) 2016-01-04 14:51:52 -05:00
common configury: clean up .so version numbers 2015-12-18 12:50:23 -05:00
compress mca/base: add priority output to mca_base_select 2015-10-19 12:32:41 -06:00
crs configury: test portability 2015-12-28 13:58:45 +09:00
dl mca/base: add priority output to mca_base_select 2015-10-19 12:32:41 -06:00
event event/external: add missing include file 2015-12-28 17:22:59 +09:00
hwloc linux: use mntent.h instead of manually parsing /proc/mounts 2016-01-07 12:55:03 -07:00
if configury: test portability 2015-12-28 13:58:45 +09:00
installdirs Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
memchecker configury: test portability 2015-12-28 13:58:45 +09:00
memcpy Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
memory configury: test portability 2015-12-28 13:58:45 +09:00
mpool Fix a few more places that utilized CUDA 4.1 checks 2015-10-30 09:43:24 -04:00
pmix Use PMI2 constants for consistency 2016-01-07 11:46:22 +05:30
pstat mca/base: add priority output to mca_base_select 2015-10-19 12:32:41 -06:00
rcache rcache/vma: add missing #include "opal/util/output.h" 2015-12-24 14:41:49 +09:00
reachable mca/base: add priority output to mca_base_select 2015-10-19 12:32:41 -06:00
sec configury: test portability 2015-12-28 13:58:45 +09:00
shmem configury: test portability 2015-12-28 13:58:45 +09:00
timer configury: test portability 2015-12-28 13:58:45 +09:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
mca.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00