Searched refs:RLIM_NLIMITS (Results 1 – 8 of 8) sorted by relevance
158 for (j = 0, mask = 1; j < RLIM_NLIMITS; j++, in __aa_transition_rlimits()176 for (j = 0, mask = 1; j < RLIM_NLIMITS; j++, mask <<= 1) { in __aa_transition_rlimits()
635 if (size > RLIM_NLIMITS) in unpack_rlimits()
49 #define RLIM_NLIMITS 16 macro
30 struct rlimit limits[RLIM_NLIMITS];
1443 if (resource >= RLIM_NLIMITS) in do_prlimit()1445 resource = array_index_nospec(resource, RLIM_NLIMITS); in do_prlimit()1569 if (resource >= RLIM_NLIMITS) in SYSCALL_DEFINE2()1572 resource = array_index_nospec(resource, RLIM_NLIMITS); in SYSCALL_DEFINE2()1589 if (resource >= RLIM_NLIMITS) in COMPAT_SYSCALL_DEFINE2()1592 resource = array_index_nospec(resource, RLIM_NLIMITS); in COMPAT_SYSCALL_DEFINE2()
213 struct rlimit rlim[RLIM_NLIMITS];
575 static const struct limit_names lnames[RLIM_NLIMITS] = {601 struct rlimit rlim[RLIM_NLIMITS]; in proc_pid_limits()605 memcpy(rlim, task->signal->rlim, sizeof(struct rlimit) * RLIM_NLIMITS); in proc_pid_limits()616 for (i = 0; i < RLIM_NLIMITS; i++) { in proc_pid_limits()
2482 for (i = 0; i < RLIM_NLIMITS; i++) { in selinux_bprm_committing_creds()