Home
last modified time | relevance | path

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

/linux-6.6.21/include/uapi/asm-generic/
Dresource.h49 #define RLIM_NLIMITS 16 macro
/linux-6.6.21/security/apparmor/
Dresource.c174 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()
Dpolicy_unpack.c625 size > RLIM_NLIMITS) in unpack_rlimits()
/linux-6.6.21/security/apparmor/include/
Dresource.h30 struct rlimit limits[RLIM_NLIMITS];
/linux-6.6.21/kernel/
Dsys.c1461 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()
/linux-6.6.21/include/linux/sched/
Dsignal.h213 struct rlimit rlim[RLIM_NLIMITS];
/linux-6.6.21/fs/proc/
Dbase.c576 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()
/linux-6.6.21/security/selinux/
Dhooks.c2487 for (i = 0; i < RLIM_NLIMITS; i++) { in selinux_bprm_committing_creds()