4 ms·
In practice signals don't seem to be a problem for (most?) proc files as the seq_file infrastructure doesn't bother to check for pending signals and terminate t
by dezgeg 3y ago
In practice signals don't seem to be a problem for (most?) proc files as the seq_file infrastructure doesn't bother to check for pending signals and terminate the read if so.
Naturally, only source reading will answer whether the proc file you're interested in is vulnerable to this or not.
- Someone 3y ago> Naturally, only source reading will answer whether the proc file you're interested in is vulnerable to this or not. At the moment. To be sure, you also have to keep track of changes to that source code to look for regressions, and have a mechanism to update all your deployed code if there is a regression there. It could require multiple attempts at reading, and still doesn’t ensure progress, but I think /proc would be a lot more reliable if file contents included a good checksum.
- deleted 3y ago[deleted]