From: Alexey Dobriyan <adobri...@gmail.com> Date: Sat, 13 Jan 2018 20:11:52 +0300
> /proc has been ignoring struct file_operations::owner field for ages. > > Signed-off-by: Alexey Dobriyan <adobri...@gmail.com> What, then, makes sure that the procfs files are unregistered before the referencing module is unloaded? Please explain the situation, and add a reference to the commit that made procfs stop using the fops owner field. That commit and it's commit message may help explain why all of this is fine.