]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'ucount-rlimits-cleanups-for-v5.19' of git://git.kernel.org/pub/scm/linux...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 9 Oct 2022 23:24:05 +0000 (16:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 9 Oct 2022 23:24:05 +0000 (16:24 -0700)
commit0232c378460bf563c1d6ec0d7a23aea34eff4fc6
tree116e94c55fc708946ef62a5241bb0cc9a4ee9d3f
parent11f5713755d9b75dd2533f8f5991638b4db8742b
parent3003a4c08c9cc9e1ab701c98b4fc9009433a926b
Merge tag 'ucount-rlimits-cleanups-for-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace

Pull ucounts update from Eric Biederman:
 "Split rlimit and ucount values and max values

  After the ucount rlimit code was merged a bunch of small but
  siginificant bugs were found and fixed. At the time it was realized
  that part of the problem was that while the ucount rlimits were very
  similar to the oridinary ucounts (in being nested counts with limits)
  the semantics were slightly different and the code would be less error
  prone if there was less sharing.

  This is the long awaited cleanup that should hopefully keep things
  more comprehensible and less error prone for whoever needs to touch
  that code next"

* tag 'ucount-rlimits-cleanups-for-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
  ucounts: Split rlimit and ucount values and max values
fs/exec.c
fs/proc/array.c
kernel/fork.c
kernel/sys.c
kernel/user_namespace.c