1. 18 6月, 2015 2 次提交
  2. 16 6月, 2015 5 次提交
  3. 14 6月, 2015 2 次提交
  4. 29 5月, 2015 1 次提交
    • A
      d_walk() might skip too much · 2159184e
      Al Viro 提交于
      when we find that a child has died while we'd been trying to ascend,
      we should go into the first live sibling itself, rather than its sibling.
      
      Off-by-one in question had been introduced in "deal with deadlock in
      d_walk()" and the fix needs to be backported to all branches this one
      has been backported to.
      
      Cc: stable@vger.kernel.org # 3.2 and later
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      2159184e
  5. 15 5月, 2015 27 次提交
  6. 11 5月, 2015 3 次提交
    • A
      namei: store seq numbers in nd->stack[] · 0450b2d1
      Al Viro 提交于
      we'll need them for unlazy_walk()
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      0450b2d1
    • A
      new helper: __legitimize_mnt() · 294d71ff
      Al Viro 提交于
      same as legitimize_mnt(), except that it does *not* drop and regain
      rcu_read_lock; return values are
      0  =>  grabbed a reference, we are fine
      1  =>  failed, just go away
      -1 =>  failed, go away and mntput(bastard) when outside of rcu_read_lock
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      294d71ff
    • A
      namei: make may_follow_link() safe in RCU mode · 31956502
      Al Viro 提交于
      We *can't* call that audit garbage in RCU mode - it's doing a weird
      mix of allocations (GFP_NOFS, immediately followed by GFP_KERNEL)
      and I'm not touching that... thing again.
      
      So if this security sclero^Whardening feature gets triggered when
      we are in RCU mode, tough - we'll fail with -ECHILD and have
      everything restarted in non-RCU mode.  Only to hit the same test
      and fail, this time with EACCES and with (oh, rapture) an audit spew
      produced.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      31956502