1. 17 Jun, 2015 2 commits
  2. 16 Jun, 2015 5 commits
  3. 14 Jun, 2015 2 commits
  4. 29 May, 2015 1 commit
    • Al Viro's avatar
      d_walk() might skip too much · 2159184e
      Al Viro authored
      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: default avatarAl Viro <viro@zeniv.linux.org.uk>
      2159184e
  5. 15 May, 2015 27 commits
  6. 11 May, 2015 3 commits
    • Al Viro's avatar
      namei: store seq numbers in nd->stack[] · 0450b2d1
      Al Viro authored
      we'll need them for unlazy_walk()
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      0450b2d1
    • Al Viro's avatar
      new helper: __legitimize_mnt() · 294d71ff
      Al Viro authored
      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: default avatarAl Viro <viro@zeniv.linux.org.uk>
      294d71ff
    • Al Viro's avatar
      namei: make may_follow_link() safe in RCU mode · 31956502
      Al Viro authored
      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: default avatarAl Viro <viro@zeniv.linux.org.uk>
      31956502