diff options
author | William Hubbs <williamh@gentoo.org> | 2011-03-24 18:27:35 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-03-24 19:14:16 -0500 |
commit | 1d63e85794ad850752eec95fa077e5895295f3b7 (patch) | |
tree | 0ee4d9210c5be13783ddd957e56f1cb4eaf75c07 /conf.d | |
parent | 25049d3e80aeb17d4d62a653cfa8223fae56ddd0 (diff) |
rework test for mounted /proc
The previous test assumed that we could always rely on the minor fault
counter to change between reads of /proc/self/stat, but we found that
this is not the case.
The new test compares two reads of /proc/self/environ for which we have
set the same environment variable to two different values.
If the comparison shows the two reads have the same contents, we know
that /proc is not working.
I would like to thank Robin Johnson and Mike Frysinger for their input
for this patch.
X-Gentoo-Bug: 348416
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=348416
Diffstat (limited to 'conf.d')
0 files changed, 0 insertions, 0 deletions