Searched refs:new_rlim (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/security/apparmor/ |
D | resource.c | 86 struct rlimit *new_rlim) in profile_setrlimit() argument 90 if (profile->rlimits.mask & (1 << resource) && new_rlim->rlim_max > in profile_setrlimit() 93 return audit_resource(profile, resource, new_rlim->rlim_max, NULL, NULL, in profile_setrlimit() 109 unsigned int resource, struct rlimit *new_rlim) in aa_task_setrlimit() argument 130 new_rlim->rlim_max, peer, in aa_task_setrlimit() 134 profile_setrlimit(profile, resource, new_rlim)); in aa_task_setrlimit()
|
D | lsm.c | 723 unsigned int resource, struct rlimit *new_rlim) in apparmor_task_setrlimit() argument 729 error = aa_task_setrlimit(label, task, resource, new_rlim); in apparmor_task_setrlimit()
|
/Linux-v4.19/kernel/ |
D | sys.c | 1524 struct rlimit *new_rlim, struct rlimit *old_rlim) in do_prlimit() argument 1531 if (new_rlim) { in do_prlimit() 1532 if (new_rlim->rlim_cur > new_rlim->rlim_max) in do_prlimit() 1535 new_rlim->rlim_max > sysctl_nr_open) in do_prlimit() 1548 if (new_rlim) { in do_prlimit() 1551 if (new_rlim->rlim_max > rlim->rlim_max && in do_prlimit() 1555 retval = security_task_setrlimit(tsk, resource, new_rlim); in do_prlimit() 1556 if (resource == RLIMIT_CPU && new_rlim->rlim_cur == 0) { in do_prlimit() 1563 new_rlim->rlim_cur = 1; in do_prlimit() 1569 if (new_rlim) in do_prlimit() [all …]
|
/Linux-v4.19/include/linux/ |
D | resource.h | 12 struct rlimit *new_rlim, struct rlimit *old_rlim);
|
D | security.h | 360 struct rlimit *new_rlim); 1002 struct rlimit *new_rlim) in security_task_setrlimit() argument
|
D | lsm_hooks.h | 1605 struct rlimit *new_rlim);
|
D | syscalls.h | 837 const struct rlimit64 __user *new_rlim,
|
/Linux-v4.19/security/apparmor/include/ |
D | resource.h | 41 unsigned int resource, struct rlimit *new_rlim);
|
/Linux-v4.19/arch/s390/kernel/ |
D | compat_wrapper.c | 160 …64, pid_t, pid, unsigned int, resource, const struct rlimit64 __user *, new_rlim, struct rlimit64 …
|
/Linux-v4.19/security/ |
D | security.c | 1130 struct rlimit *new_rlim) in security_task_setrlimit() argument 1132 return call_int_hook(task_setrlimit, 0, p, resource, new_rlim); in security_task_setrlimit()
|
/Linux-v4.19/security/selinux/ |
D | hooks.c | 4152 struct rlimit *new_rlim) in selinux_task_setrlimit() argument 4160 if (old_rlim->rlim_max != new_rlim->rlim_max) in selinux_task_setrlimit()
|