1. 27 12月, 2009 8 次提交
  2. 26 11月, 2009 1 次提交
  3. 12 11月, 2009 1 次提交
    • E
      sysctl net: Remove unused binary sysctl code · f8572d8f
      Eric W. Biederman 提交于
      Now that sys_sysctl is a compatiblity wrapper around /proc/sys
      all sysctl strategy routines, and all ctl_name and strategy
      entries in the sysctl tables are unused, and can be
      revmoed.
      
      In addition neigh_sysctl_register has been modified to no longer
      take a strategy argument and it's callers have been modified not
      to pass one.
      
      Cc: "David Miller" <davem@davemloft.net>
      Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
      Cc: netdev@vger.kernel.org
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      f8572d8f
  4. 06 11月, 2009 1 次提交
  5. 07 10月, 2009 1 次提交
  6. 01 10月, 2009 1 次提交
  7. 24 8月, 2009 1 次提交
  8. 06 8月, 2009 1 次提交
  9. 18 6月, 2009 1 次提交
  10. 29 5月, 2009 1 次提交
  11. 18 5月, 2009 1 次提交
  12. 31 3月, 2009 1 次提交
    • A
      proc 2/2: remove struct proc_dir_entry::owner · 99b76233
      Alexey Dobriyan 提交于
      Setting ->owner as done currently (pde->owner = THIS_MODULE) is racy
      as correctly noted at bug #12454. Someone can lookup entry with NULL
      ->owner, thus not pinning enything, and release it later resulting
      in module refcount underflow.
      
      We can keep ->owner and supply it at registration time like ->proc_fops
      and ->data.
      
      But this leaves ->owner as easy-manipulative field (just one C assignment)
      and somebody will forget to unpin previous/pin current module when
      switching ->owner. ->proc_fops is declared as "const" which should give
      some thoughts.
      
      ->read_proc/->write_proc were just fixed to not require ->owner for
      protection.
      
      rmmod'ed directories will be empty and return "." and ".." -- no harm.
      And directories with tricky enough readdir and lookup shouldn't be modular.
      We definitely don't want such modular code.
      
      Removing ->owner will also make PDE smaller.
      
      So, let's nuke it.
      
      Kudos to Jeff Layton for reminding about this, let's say, oversight.
      
      http://bugzilla.kernel.org/show_bug.cgi?id=12454Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      99b76233
  13. 10 3月, 2009 1 次提交
  14. 27 2月, 2009 1 次提交
  15. 23 2月, 2009 1 次提交
  16. 01 2月, 2009 1 次提交
  17. 22 11月, 2008 1 次提交
  18. 04 11月, 2008 1 次提交
    • A
      net: '&' redux · 6d9f239a
      Alexey Dobriyan 提交于
      I want to compile out proc_* and sysctl_* handlers totally and
      stub them to NULL depending on config options, however usage of &
      will prevent this, since taking adress of NULL pointer will break
      compilation.
      
      So, drop & in front of every ->proc_handler and every ->strategy
      handler, it was never needed in fact.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6d9f239a
  19. 28 10月, 2008 1 次提交
  20. 20 7月, 2008 1 次提交
  21. 17 6月, 2008 1 次提交
  22. 30 5月, 2008 1 次提交
  23. 01 4月, 2008 1 次提交
  24. 29 3月, 2008 3 次提交
  25. 28 3月, 2008 1 次提交
  26. 26 3月, 2008 2 次提交
  27. 06 3月, 2008 1 次提交
  28. 29 2月, 2008 1 次提交
  29. 29 1月, 2008 2 次提交