Re: [PATCH] net: delete /proc THIS_MODULE references

2018-01-15 Thread Al Viro
On Mon, Jan 15, 2018 at 02:50:12PM -0500, David Miller wrote: > From: Alexey Dobriyan > 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 > > What, then, makes sure that the procfs files are

Re: [PATCH] net: delete /proc THIS_MODULE references

2018-01-15 Thread Alexey Dobriyan
On Mon, Jan 15, 2018 at 02:50:12PM -0500, David Miller wrote: > From: Alexey Dobriyan > 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 > > What, then, makes sure that the procfs files are

Re: [PATCH] net: delete /proc THIS_MODULE references

2018-01-15 Thread David Miller
From: Alexey Dobriyan 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 What, then, makes sure that the procfs files are unregistered before the referencing module is unloaded? Please explain the si

[PATCH] net: delete /proc THIS_MODULE references

2018-01-13 Thread Alexey Dobriyan
/proc has been ignoring struct file_operations::owner field for ages. Signed-off-by: Alexey Dobriyan --- net/8021q/vlanproc.c |2 -- net/appletalk/aarp.c |1 - net/appletalk/atalk_proc.c |3 --- net/atm/br2684.c |1 - net/atm