Searched refs:RLIM_NLIMITS (Results 1 – 10 of 10) sorted by relevance
49 #define RLIM_NLIMITS 16 macro
30 struct rlimit limits[RLIM_NLIMITS];
174 for (j = 0, mask = 1; j < RLIM_NLIMITS; j++, in __aa_transition_rlimits()195 for (j = 0, mask = 1; j < RLIM_NLIMITS; j++, mask <<= 1) { in __aa_transition_rlimits()
625 size > RLIM_NLIMITS) in unpack_rlimits()
93 for (unsigned i = 0; i < RLIM_NLIMITS; i++)
1461 if (resource >= RLIM_NLIMITS) in do_prlimit()1463 resource = array_index_nospec(resource, RLIM_NLIMITS); in do_prlimit()1587 if (resource >= RLIM_NLIMITS) in SYSCALL_DEFINE2()1590 resource = array_index_nospec(resource, RLIM_NLIMITS); in SYSCALL_DEFINE2()1607 if (resource >= RLIM_NLIMITS) in COMPAT_SYSCALL_DEFINE2()1610 resource = array_index_nospec(resource, RLIM_NLIMITS); in COMPAT_SYSCALL_DEFINE2()
213 struct rlimit rlim[RLIM_NLIMITS];
611 static const struct limit_names lnames[RLIM_NLIMITS] = {637 struct rlimit rlim[RLIM_NLIMITS]; in proc_pid_limits()641 memcpy(rlim, task->signal->rlim, sizeof(struct rlimit) * RLIM_NLIMITS); in proc_pid_limits()652 for (i = 0; i < RLIM_NLIMITS; i++) { in proc_pid_limits()
2487 for (i = 0; i < RLIM_NLIMITS; i++) { in selinux_bprm_committing_creds()