Merge tag 'ucount-rlimit-for-v5.18' of git://git.kernel.org/pub/scm/linux/kernel...
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Mar 2022 00:10:07 +0000 (17:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Mar 2022 00:10:07 +0000 (17:10 -0700)
commit0a815d0135f1be20c1a04d07f7573a26272ef846
tree22880ee573e2cbe142933345782c478d5c1876ea
parentd717e4cae0fe77e10a27e8545a967b8c379873ac
parente97824ff663ce3509fe040431c713182c2f058b1
Merge tag 'ucount-rlimit-for-v5.18' of git://git./linux/kernel/git/ebiederm/user-namespace

Pull shm ucounts fix from Eric Biederman:
 "The introduction of a new failure mode when the code was converted to
  ucounts resulted in user_shm_lock misbehaving.

  The change simplifies the code to make the code easier to follow and
  removes the known misbehaviors"

* tag 'ucount-rlimit-for-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
  mm/mlock: fix two bugs in user_shm_lock()
mm/mlock.c