mismerge alarm Re: [RFC] dentry->d_flags locking
Quoted 1 line
+#define
PROC_ENTRY_FORCE_LOOKUP2 /* same space asPROC_ENTRY_PERMANENT*/
Mismerge alarm!
Can this go to include/linux/proc_fs.h, added to enum and switched off for modules (#ifdef MODULE)?
There is ~18 year old(?) /proc UAF being fixed:
https://lore.kernel.org/linux-fsdevel/9760f1ae-7aec-4e17-b277-ea6aca13b382@p183/T/#u
https://lore.kernel.org/linux-fsdevel/3d25ded0-1739-447e-812b-e34da7990dcf@p183/T/#u
Of course "proc_flags" enum should go elsewhere but this is separate story (maybe it shouldn't).
/proc/alexey