Home
last modified time | relevance | path

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

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