Home
last modified time | relevance | path

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

/Linux-v4.19/security/apparmor/
Dresource.c86 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()
Dlsm.c723 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/
Dsys.c1524 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/
Dresource.h12 struct rlimit *new_rlim, struct rlimit *old_rlim);
Dsecurity.h360 struct rlimit *new_rlim);
1002 struct rlimit *new_rlim) in security_task_setrlimit() argument
Dlsm_hooks.h1605 struct rlimit *new_rlim);
Dsyscalls.h837 const struct rlimit64 __user *new_rlim,
/Linux-v4.19/security/apparmor/include/
Dresource.h41 unsigned int resource, struct rlimit *new_rlim);
/Linux-v4.19/arch/s390/kernel/
Dcompat_wrapper.c160 …64, pid_t, pid, unsigned int, resource, const struct rlimit64 __user *, new_rlim, struct rlimit64 …
/Linux-v4.19/security/
Dsecurity.c1130 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/
Dhooks.c4152 struct rlimit *new_rlim) in selinux_task_setrlimit() argument
4160 if (old_rlim->rlim_max != new_rlim->rlim_max) in selinux_task_setrlimit()