Skip to contentSkip to conversation

ucounts: Split rlimit and ucount values and max values

GIT PULL Merged Eric W. Biederman 2 participants 2 messages Oct 3, 2022 – Oct 10, 2022

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull ucount-rlimits-cleanups-for-v5.19 from the git tree:
git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git refs/tags/ucount-rlimits-cleanups-for-v5.19
HEAD: de399236e240743ad2dd10d719c37b97ddf31996 ucounts: 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.

Alexey Gladkov (1):
ucounts: Split rlimit and ucount values and max values

 fs/exec.c                      |  2 +-
 fs/proc/array.c                |  2 +-
 include/linux/user_namespace.h | 35 ++++++++++++++++++++++-------------
 kernel/fork.c                  | 12 ++++++------
 kernel/sys.c                   |  2 +-
 kernel/ucount.c                | 34 +++++++++++++++-------------------
 kernel/user_namespace.c        | 10 +++++-----
 7 files changed, 51 insertions(+), 46 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 03 Oct 2022 16:54:30 -0500:

The pull request you sent on Mon, 03 Oct 2022 16:54:30 -0500:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git refs/tags/ucount-rlimits-cleanups-for-v5.19

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/493ffd6605b2d3d4dc7008ab927dba319f36671f

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html