>> if it's use is far from recommended, indeed rather forbidden, >> why is it left to rot? > >It is left there for historical reasons, because some old applications >may use it. > >For new applications we do not use it, but prefer to use a properly >designed sysctl or ioctl >interface to retrieve information from the kernel.
The major reason for moving away from procfs is that there are numerous TOCTOU problems.