summaryrefslogtreecommitdiff
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-12-15 13:24:10 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2023-12-15 14:08:46 -0800
commitf8fa5d76925991976b3e7076f9d1052515ec1fca (patch)
treec4f3a3499057e652b189ea296badff01c72ca276 /kernel/exit.c
parent3bd7d748816927202268cb335921f7f68b3ca723 (diff)
cred: switch to using atomic_long_t
There are multiple ways to grab references to credentials, and the only protection we have against overflowing it is the memory required to do so. With memory sizes only moving in one direction, let's bump the reference count to 64-bit and move it outside the realm of feasibly overflowing. Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions