diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-12-15 13:24:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-12-15 14:08:46 -0800 |
commit | f8fa5d76925991976b3e7076f9d1052515ec1fca (patch) | |
tree | c4f3a3499057e652b189ea296badff01c72ca276 /lib | |
parent | 3bd7d748816927202268cb335921f7f68b3ca723 (diff) | |
download | linux-f8fa5d76925991976b3e7076f9d1052515ec1fca.tar.gz linux-f8fa5d76925991976b3e7076f9d1052515ec1fca.tar.bz2 linux-f8fa5d76925991976b3e7076f9d1052515ec1fca.zip |
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 'lib')
0 files changed, 0 insertions, 0 deletions