> 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.
Re:Not knowing the /proc file system
by nolist_policy on Wednesday October 25, 2023 @12:31PM
(#38014581)
If your program breaks due to a change in the linux kernel, you report a bug and it will be fixed.
Naturally, only source reading will answer whether the proc file you're interested in is vulnerable to this or not.