Home
last modified time | relevance | path

Searched refs:new_rlim (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/security/apparmor/
Dresource.c90 struct rlimit *new_rlim) in profile_setrlimit() argument
96 if (rules->rlimits.mask & (1 << resource) && new_rlim->rlim_max > in profile_setrlimit()
99 return audit_resource(subj_cred, profile, resource, new_rlim->rlim_max, in profile_setrlimit()
117 unsigned int resource, struct rlimit *new_rlim) in aa_task_setrlimit() argument
138 new_rlim->rlim_max, peer, in aa_task_setrlimit()
143 new_rlim)); in aa_task_setrlimit()
Dlsm.c813 unsigned int resource, struct rlimit *new_rlim) in apparmor_task_setrlimit() argument
820 resource, new_rlim); in apparmor_task_setrlimit()
/linux-6.6.21/kernel/
Dsys.c1456 struct rlimit *new_rlim, struct rlimit *old_rlim) in do_prlimit() argument
1465 if (new_rlim) { in do_prlimit()
1466 if (new_rlim->rlim_cur > new_rlim->rlim_max) in do_prlimit()
1469 new_rlim->rlim_max > sysctl_nr_open) in do_prlimit()
1476 if (new_rlim) { in do_prlimit()
1481 if (new_rlim->rlim_max > rlim->rlim_max && in do_prlimit()
1485 retval = security_task_setrlimit(tsk, resource, new_rlim); in do_prlimit()
1490 if (new_rlim) in do_prlimit()
1491 *rlim = *new_rlim; in do_prlimit()
1500 if (!retval && new_rlim && resource == RLIMIT_CPU && in do_prlimit()
[all …]
/linux-6.6.21/security/apparmor/include/
Dresource.h38 unsigned int resource, struct rlimit *new_rlim);
/linux-6.6.21/include/linux/
Dsecurity.h441 struct rlimit *new_rlim);
1200 struct rlimit *new_rlim) in security_task_setrlimit() argument
Dlsm_hook_defs.h227 struct rlimit *new_rlim)
Dsyscalls.h840 const struct rlimit64 __user *new_rlim,
/linux-6.6.21/security/
Dsecurity.c3350 struct rlimit *new_rlim) in security_task_setrlimit() argument
3352 return call_int_hook(task_setrlimit, 0, p, resource, new_rlim); in security_task_setrlimit()
/linux-6.6.21/security/selinux/
Dhooks.c4191 struct rlimit *new_rlim) in selinux_task_setrlimit() argument
4199 if (old_rlim->rlim_max != new_rlim->rlim_max) in selinux_task_setrlimit()