Commit 30e328cbf14d03fc9f6569e93e0dac41526264d8

Guillem Jover 2014-11-03T00:43:27

Do not close file descriptors while scanning the /proc filesystem Closing file descriptors changes the content of the fd directories in the /proc filesystem, which means readdir() might get very confused. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=85663