]> Git Repo - linux.git/commit
Increase size of ucounts to atomic_long_t
authorAlexey Gladkov <[email protected]>
Thu, 22 Apr 2021 12:27:08 +0000 (14:27 +0200)
committerEric W. Biederman <[email protected]>
Fri, 30 Apr 2021 19:14:00 +0000 (14:14 -0500)
commitf9c82a4ea89c384d49ce03768ba88d049ed3f1f0
treedc997760082f277fea8b2cb0b4c6a3f6048fb806
parent9f4ad9e425a1d3b6a34617b8ea226d56a119a717
Increase size of ucounts to atomic_long_t

RLIMIT_MSGQUEUE and RLIMIT_MEMLOCK use unsigned long to store their
counters. As a preparation for moving rlimits based on ucounts, we need
to increase the size of the variable to long.

Signed-off-by: Alexey Gladkov <[email protected]>
Link: https://lkml.kernel.org/r/257aa5fb1a7d81cf0f4c34f39ada2320c4284771.1619094428.git.legion@kernel.org
Signed-off-by: Eric W. Biederman <[email protected]>
include/linux/user_namespace.h
kernel/ucount.c
This page took 0.059286 seconds and 4 git commands to generate.