Posted Feb 24, 2011 8:50 UTC (Thu) by johill (subscriber, #25196)
Parent article: debugfs: rules not welcome
Doesn't debugfs still cause crashes if there are ever files that can disappear from it, because it doesn't have proper lifetime management? Or did that get fixed eventually and I just missed it?
The case I'm thinking of is basically
fd = open(debugfs/file)
<wait, while doing something that causes that file to disappear, like unplugging HW>
read(fd) / write(fd) [depending on your access]