1
1
openmpi/opal/mca/hwloc/hwloc1112
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
..
hwloc linux: use mntent.h instead of manually parsing /proc/mounts 2016-01-07 12:55:03 -07:00
configure.m4 Update hwloc to v1.11.2 2016-01-07 12:33:12 -07:00
hwloc1112_component.c Update hwloc to v1.11.2 2016-01-07 12:33:12 -07:00
hwloc1112.h Update hwloc to v1.11.2 2016-01-07 12:33:12 -07:00
Makefile.am Update hwloc to v1.11.2 2016-01-07 12:33:12 -07:00
owner.txt Update hwloc to v1.11.2 2016-01-07 12:33:12 -07:00
README-ompi.txt Update hwloc to v1.11.2 2016-01-07 12:33:12 -07:00