Searched refs:new_rlim (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/security/apparmor/ |
D | resource.c | 90 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()
|
D | lsm.c | 813 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/ |
D | sys.c | 1456 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/ |
D | resource.h | 38 unsigned int resource, struct rlimit *new_rlim);
|
/linux-6.6.21/include/linux/ |
D | security.h | 441 struct rlimit *new_rlim); 1200 struct rlimit *new_rlim) in security_task_setrlimit() argument
|
D | lsm_hook_defs.h | 227 struct rlimit *new_rlim)
|
D | syscalls.h | 840 const struct rlimit64 __user *new_rlim,
|
/linux-6.6.21/security/ |
D | security.c | 3350 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/ |
D | hooks.c | 4191 struct rlimit *new_rlim) in selinux_task_setrlimit() argument 4199 if (old_rlim->rlim_max != new_rlim->rlim_max) in selinux_task_setrlimit()
|