Searched refs:UCOUNT_RLIMIT_NPROC (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.15/include/linux/ |
| D | user_namespace.h | 57 UCOUNT_RLIMIT_NPROC, enumerator 64 #define MAX_PER_NAMESPACE_UCOUNTS UCOUNT_RLIMIT_NPROC
|
| /Linux-v5.15/kernel/ |
| D | cred.c | 361 inc_rlimit_ucounts(task_ucounts(p), UCOUNT_RLIMIT_NPROC, 1); in copy_creds() 398 inc_rlimit_ucounts(task_ucounts(p), UCOUNT_RLIMIT_NPROC, 1); in copy_creds() 499 inc_rlimit_ucounts(new->ucounts, UCOUNT_RLIMIT_NPROC, 1); in commit_creds() 503 dec_rlimit_ucounts(old->ucounts, UCOUNT_RLIMIT_NPROC, 1); in commit_creds()
|
| D | ucount.c | 365 inc_rlimit_ucounts(&init_ucounts, UCOUNT_RLIMIT_NPROC, 1); in user_namespace_sysctl_init()
|
| D | fork.c | 843 set_rlimit_ucount_max(&init_user_ns, UCOUNT_RLIMIT_NPROC, RLIM_INFINITY); in fork_init() 2059 if (is_ucounts_overlimit(task_ucounts(p), UCOUNT_RLIMIT_NPROC, rlimit(RLIMIT_NPROC))) { in copy_process() 2469 dec_rlimit_ucounts(task_ucounts(p), UCOUNT_RLIMIT_NPROC, 1); in copy_process()
|
| D | user_namespace.c | 125 set_rlimit_ucount_max(ns, UCOUNT_RLIMIT_NPROC, rlimit(RLIMIT_NPROC)); in create_user_ns()
|
| D | exit.c | 191 dec_rlimit_ucounts(task_ucounts(p), UCOUNT_RLIMIT_NPROC, 1); in release_task()
|
| D | sys.c | 482 if (is_ucounts_overlimit(new->ucounts, UCOUNT_RLIMIT_NPROC, rlimit(RLIMIT_NPROC)) && in set_user()
|
| /Linux-v5.15/fs/ |
| D | exec.c | 1882 is_ucounts_overlimit(current_ucounts(), UCOUNT_RLIMIT_NPROC, rlimit(RLIMIT_NPROC))) { in do_execveat_common()
|