Home
last modified time | relevance | path

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

/Linux-v6.1/security/apparmor/
Dresource.c82 struct rlimit *new_rlim) in profile_setrlimit() argument
86 if (profile->rlimits.mask & (1 << resource) && new_rlim->rlim_max > in profile_setrlimit()
89 return audit_resource(profile, resource, new_rlim->rlim_max, NULL, NULL, in profile_setrlimit()
105 unsigned int resource, struct rlimit *new_rlim) in aa_task_setrlimit() argument
126 new_rlim->rlim_max, peer, in aa_task_setrlimit()
130 profile_setrlimit(profile, resource, new_rlim)); in aa_task_setrlimit()
Dlsm.c766 unsigned int resource, struct rlimit *new_rlim) in apparmor_task_setrlimit() argument
772 error = aa_task_setrlimit(label, task, resource, new_rlim); in apparmor_task_setrlimit()
/Linux-v6.1/kernel/
Dsys.c1438 struct rlimit *new_rlim, struct rlimit *old_rlim) in do_prlimit() argument
1445 if (new_rlim) { in do_prlimit()
1446 if (new_rlim->rlim_cur > new_rlim->rlim_max) in do_prlimit()
1449 new_rlim->rlim_max > sysctl_nr_open) in do_prlimit()
1456 if (new_rlim) { in do_prlimit()
1461 if (new_rlim->rlim_max > rlim->rlim_max && in do_prlimit()
1465 retval = security_task_setrlimit(tsk, resource, new_rlim); in do_prlimit()
1470 if (new_rlim) in do_prlimit()
1471 *rlim = *new_rlim; in do_prlimit()
1480 if (!retval && new_rlim && resource == RLIMIT_CPU && in do_prlimit()
[all …]
/Linux-v6.1/security/apparmor/include/
Dresource.h37 unsigned int resource, struct rlimit *new_rlim);
/Linux-v6.1/include/linux/
Dsecurity.h433 struct rlimit *new_rlim);
1162 struct rlimit *new_rlim) in security_task_setrlimit() argument
Dlsm_hook_defs.h217 struct rlimit *new_rlim)
Dsyscalls.h959 const struct rlimit64 __user *new_rlim,
/Linux-v6.1/security/
Dsecurity.c1865 struct rlimit *new_rlim) in security_task_setrlimit() argument
1867 return call_int_hook(task_setrlimit, 0, p, resource, new_rlim); in security_task_setrlimit()
/Linux-v6.1/security/selinux/
Dhooks.c4157 struct rlimit *new_rlim) in selinux_task_setrlimit() argument
4165 if (old_rlim->rlim_max != new_rlim->rlim_max) in selinux_task_setrlimit()