Searched refs:RLIM_NLIMITS (Results 1 – 8 of 8) sorted by relevance
49 #define RLIM_NLIMITS 16 macro
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()
30 struct rlimit limits[RLIM_NLIMITS];
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];
576 static const struct limit_names lnames[RLIM_NLIMITS] = {602 struct rlimit rlim[RLIM_NLIMITS]; in proc_pid_limits()606 memcpy(rlim, task->signal->rlim, sizeof(struct rlimit) * RLIM_NLIMITS); in proc_pid_limits()617 for (i = 0; i < RLIM_NLIMITS; i++) { in proc_pid_limits()
2487 for (i = 0; i < RLIM_NLIMITS; i++) { in selinux_bprm_committing_creds()