OSDN Git Service

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)
commit76fcbc9c7c57a5d44e7ca493d8f2f6eba3964f29
tree7d3afcdf830cfc2fae495c00f7ddeca79be0c026
parenta773abf72eb0cac008743891068ca6edecc44683
parentf9d87929d451d3e649699d0f1d74f71f77ad38f5
Merge branch 'ucount-rlimit-fixes-for-v5.17-rc2' of git://git./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