Where has the owner field of struct proc_dir_entry gone? [ Linux Kernel ]
According to the list of API changes in the 2.6 kernel series on LWN the .owner
field of struct proc_dir_entry
was removed in the 2.6.30 Kernel.
So here's a couple of questions:
- Was it really ever necessary or useful to set this field?
- Has the field just been moved so开发者_JAVA百科mewhere else, or permanently deleted?
I ask the first question because while the LKMPG set's this field in many of it's examples, procfs_example.c from the Kernel Documentation never does.
You may want to have a look at the bug filed in bugzilla.kernel.org. It has complete description of the issue and possible solution. Bugid is 12454
Hope this answers your question.
精彩评论