开发者

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:

  1. Was it really ever necessary or useful to set this field?
  2. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜