]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'ucount-rlimit-fixes-for-v5.17-rc2' of git://git.kernel.org/pub/scm...
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Jan 2022 17:25:24 +0000 (19:25 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Jan 2022 17:25:24 +0000 (19:25 +0200)
commit792906e86649af8262e046b311378c78cf0d2c4c
tree7d3afcdf830cfc2fae495c00f7ddeca79be0c026
parent20897269a6cbde271458d2f5ebb330b338d93d07
parent98a64d11710582d26079a29623c238bd3f1b7835
Merge branch 'ucount-rlimit-fixes-for-v5.17-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace

Pull ucount rlimit fix from Eric Biederman.

Make sure the ucounts have a reference to the user namespace it refers
to, so that users that themselves don't carry such a reference around
can safely use the ucount functions.

* 'ucount-rlimit-fixes-for-v5.17-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
  ucount:  Make get_ucount a safe get_user replacement