add /proc/stat open/close function