Searched refs:new_rlim (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/security/apparmor/ |
D | resource.c | 82 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()
|
D | lsm.c | 766 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/ |
D | sys.c | 1438 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/ |
D | resource.h | 37 unsigned int resource, struct rlimit *new_rlim);
|
/Linux-v6.1/include/linux/ |
D | security.h | 433 struct rlimit *new_rlim); 1162 struct rlimit *new_rlim) in security_task_setrlimit() argument
|
D | lsm_hook_defs.h | 217 struct rlimit *new_rlim)
|
D | syscalls.h | 959 const struct rlimit64 __user *new_rlim,
|
/Linux-v6.1/security/ |
D | security.c | 1865 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/ |
D | hooks.c | 4157 struct rlimit *new_rlim) in selinux_task_setrlimit() argument 4165 if (old_rlim->rlim_max != new_rlim->rlim_max) in selinux_task_setrlimit()
|