Safe registration of procfs entries in LKM