1. 27 7月, 2008 1 次提交
    • A
      [PATCH] beginning of sysctl cleanup - ctl_table_set · 73455092
      Al Viro 提交于
      New object: set of sysctls [currently - root and per-net-ns].
      Contains: pointer to parent set, list of tables and "should I see this set?"
      method (->is_seen(set)).
      Current lists of tables are subsumed by that; net-ns contains such a beast.
      ->lookup() for ctl_table_root returns pointer to ctl_table_set instead of
      that to ->list of that ctl_table_set.
      
      [folded compile fixes by rdd for configs without sysctl]
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      73455092
  2. 26 7月, 2008 1 次提交
    • S
      sysctl: allow override of /proc/sys/net with CAP_NET_ADMIN · 4ecb9009
      Stephen Hemminger 提交于
      Extend the permission check for networking sysctl's to allow modification
      when current process has CAP_NET_ADMIN capability and is not root.  This
      version uses the until now unused permissions hook to override the mode
      value for /proc/sys/net if accessed by a user with capabilities.
      
      Found while working with Quagga.  It is impossible to turn forwarding
      on/off through the command interface because Quagga uses secure coding
      practice of dropping privledges during initialization and only raising via
      capabilities when necessary.  Since the dameon has reset real/effective
      uid after initialization, all attempts to access /proc/sys/net variables
      will fail.
      Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
      Acked-by: N"Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Chris Wright <chrisw@sous-sol.org>
      Cc: Alexey Dobriyan <adobriyan@gmail.com>
      Cc: Andrew Morgan <morgan@kernel.org>
      Cc: Pavel Emelyanov <xemul@openvz.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4ecb9009
  3. 12 6月, 2008 1 次提交
  4. 20 5月, 2008 1 次提交
  5. 01 5月, 2008 1 次提交
  6. 29 1月, 2008 5 次提交
  7. 01 7月, 2006 1 次提交
  8. 06 6月, 2006 1 次提交
  9. 04 10月, 2005 1 次提交
  10. 30 8月, 2005 1 次提交
  11. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4