Searched refs:RLIMIT_NPROC (Results 1 - 12 of 12) sorted by relevance

/linux-master/arch/alpha/include/uapi/asm/
H A Dresource.h11 #define RLIMIT_NPROC 8 /* max number of processes */ macro
/linux-master/arch/mips/include/uapi/asm/
H A Dresource.h21 #define RLIMIT_NPROC 8 /* max number of processes */ macro
/linux-master/arch/sparc/include/uapi/asm/
H A Dresource.h16 #define RLIMIT_NPROC 7 /* max number of processes */ macro
/linux-master/include/uapi/asm-generic/
H A Dresource.h26 #ifndef RLIMIT_NPROC
27 # define RLIMIT_NPROC 6 /* max number of processes */ macro
/linux-master/include/asm-generic/
H A Dresource.h19 [RLIMIT_NPROC] = { 0, 0 }, \
/linux-master/tools/testing/selftests/rlimits/
H A Drlimits-per-userns.c38 warnx("(pid=%d): Setting RLIMIT_NPROC=%ld", pid, n);
40 if (setrlimit(RLIMIT_NPROC, &limit) < 0)
41 err(EXIT_FAILURE, "(pid=%d): setrlimit(RLIMIT_NPROC)", pid);
/linux-master/io_uring/
H A Dio-wq.c1167 task_rlimit(current, RLIMIT_NPROC);
1347 if (new_count[i] > task_rlimit(current, RLIMIT_NPROC))
1348 new_count[i] = task_rlimit(current, RLIMIT_NPROC);
/linux-master/kernel/
H A Dfork.c1061 init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2;
1062 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2;
1064 init_task.signal->rlim[RLIMIT_NPROC];
2259 if (is_rlimit_overlimit(task_ucounts(p), UCOUNT_RLIMIT_NPROC, rlimit(RLIMIT_NPROC))) {
H A Duser_namespace.c66 /* Is RLIMIT_NPROC currently enforced? */
69 limit = rlimit(RLIMIT_NPROC);
H A Dsys.c507 if (is_rlimit_overlimit(new->ucounts, UCOUNT_RLIMIT_NPROC, rlimit(RLIMIT_NPROC)) &&
/linux-master/fs/
H A Dexec.c1915 * We move the actual failure in case of RLIMIT_NPROC excess from
1921 is_rlimit_overlimit(current_ucounts(), UCOUNT_RLIMIT_NPROC, rlimit(RLIMIT_NPROC))) {
/linux-master/fs/proc/
H A Dbase.c584 [RLIMIT_NPROC] = {"Max processes", "processes"},

Completed in 370 milliseconds