LWN.net Logo

debugfs: rules not welcome

debugfs: rules not welcome

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]


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds