Home
last modified time | relevance | path

Searched refs:UCOUNT_RLIMIT_NPROC (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/include/linux/
Duser_namespace.h57 UCOUNT_RLIMIT_NPROC, enumerator
64 #define MAX_PER_NAMESPACE_UCOUNTS UCOUNT_RLIMIT_NPROC
/Linux-v5.15/kernel/
Dcred.c361 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()
Ducount.c365 inc_rlimit_ucounts(&init_ucounts, UCOUNT_RLIMIT_NPROC, 1); in user_namespace_sysctl_init()
Dfork.c843 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()
Duser_namespace.c125 set_rlimit_ucount_max(ns, UCOUNT_RLIMIT_NPROC, rlimit(RLIMIT_NPROC)); in create_user_ns()
Dexit.c191 dec_rlimit_ucounts(task_ucounts(p), UCOUNT_RLIMIT_NPROC, 1); in release_task()
Dsys.c482 if (is_ucounts_overlimit(new->ucounts, UCOUNT_RLIMIT_NPROC, rlimit(RLIMIT_NPROC)) && in set_user()
/Linux-v5.15/fs/
Dexec.c1882 is_ucounts_overlimit(current_ucounts(), UCOUNT_RLIMIT_NPROC, rlimit(RLIMIT_NPROC))) { in do_execveat_common()