summaryrefslogtreecommitdiffstats
path: root/kernel/ucount.c
AgeCommit message (Expand)AuthorFilesLines
2022-05-18ucounts: Split rlimit and ucount values and max valuesAlexey Gladkov1-19/+15
2022-02-17ucounts: Handle wrapping in is_ucounts_overlimitEric W. Biederman1-1/+2
2022-01-26ucount: Make get_ucount a safe get_user replacementEric W. Biederman1-0/+2
2021-12-09ucounts: Fix rlimit max values checkAlexey Gladkov1-6/+9
2021-10-20ucounts: Use atomic_long_sub_return for clarityEric W. Biederman1-3/+3
2021-10-20ucounts: Add get_ucounts_or_wrap for clarityEric W. Biederman1-4/+10
2021-10-20ucounts: Remove unnecessary test for NULL ucount in get_ucountsEric W. Biederman1-1/+1
2021-10-18ucounts: Fix signal ucount refcountingEric W. Biederman1-0/+49
2021-08-09ucounts: add missing data type changesSven Schnelle1-8/+11
2021-07-28ucounts: Fix race condition between alloc_ucounts and put_ucountsAlexey Gladkov1-3/+7
2021-06-28Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-25/+91
2021-04-30ucounts: Silence warning in dec_rlimit_ucountsEric W. Biederman1-1/+1
2021-04-30Reimplement RLIMIT_MEMLOCK on top of ucountsAlexey Gladkov1-0/+1
2021-04-30Reimplement RLIMIT_SIGPENDING on top of ucountsAlexey Gladkov1-0/+1
2021-04-30Reimplement RLIMIT_MSGQUEUE on top of ucountsAlexey Gladkov1-0/+1
2021-04-30Reimplement RLIMIT_NPROC on top of ucountsAlexey Gladkov1-0/+44
2021-04-30Use atomic_t for ucounts reference countingAlexey Gladkov1-34/+19
2021-04-30Add a reference to ucounts for each credAlexey Gladkov1-3/+37
2021-04-30Increase size of ucounts to atomic_long_tAlexey Gladkov1-8/+8
2021-03-16fanotify: configurable limits via sysfsAmir Goldstein1-0/+4
2020-04-07ucount: Make sure ucounts in /proc/sys/user don't regress againJan Kara1-0/+2
2020-04-07time/namespace: Add max_time_namespaces ucountDmitry Safonov1-0/+1
2019-07-18proc/sysctl: add shared variables for range checkMatteo Croce1-4/+2
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441Thomas Gleixner1-6/+1
2018-04-05headers: untangle kmemleak.h from mm.hRandy Dunlap1-0/+1
2017-03-06ucount: Remove the atomicity from ucount->countEric W. Biederman1-7/+11
2017-03-02sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h>Ingo Molnar1-0/+1
2017-02-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-1/+5
2017-02-08kernel/ucount.c: mark user_header with kmemleak_ignore()Luis R. Rodriguez1-2/+1
2017-01-24inotify: Convert to using per-namespace limitsNikolay Borisov1-1/+5
2017-01-24userns: Make ucounts lock irq-safeNikolay Borisov1-6/+8
2016-08-31mntns: Add a limit on the number of mount namespaces.Eric W. Biederman1-0/+1
2016-08-08netns: Add a limit on the number of net namespacesEric W. Biederman1-0/+1
2016-08-08cgroupns: Add a limit on the number of cgroup namespacesEric W. Biederman1-0/+1
2016-08-08ipcns: Add a limit on the number of ipc namespacesEric W. Biederman1-0/+1
2016-08-08utsns: Add a limit on the number of uts namespacesEric W. Biederman1-0/+1
2016-08-08pidns: Add a limit on the number of pid namespacesEric W. Biederman1-0/+1
2016-08-08userns: Generalize the user namespace count into ucountEric W. Biederman1-18/+21
2016-08-08userns: Make the count of user namespaces per userEric W. Biederman1-21/+95
2016-08-08userns: Add a limit on the number of user namespacesEric W. Biederman1-0/+53
2016-08-08userns: Add per user namespace sysctls.Eric W. Biederman1-0/+99