Home
last modified time | relevance | path

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

/linux/security/apparmor/
A 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()
A Dlsm.c739 unsigned int resource, struct rlimit *new_rlim) in apparmor_task_setrlimit() argument
745 error = aa_task_setrlimit(label, task, resource, new_rlim); in apparmor_task_setrlimit()
/linux/kernel/
A Dsys.c1570 if (new_rlim) { in do_prlimit()
1571 if (new_rlim->rlim_cur > new_rlim->rlim_max) in do_prlimit()
1574 new_rlim->rlim_max > sysctl_nr_open) in do_prlimit()
1587 if (new_rlim) { in do_prlimit()
1590 if (new_rlim->rlim_max > rlim->rlim_max && in do_prlimit()
1599 if (new_rlim) in do_prlimit()
1600 *rlim = *new_rlim; in do_prlimit()
1610 new_rlim->rlim_cur != RLIM_INFINITY && in do_prlimit()
1642 const struct rlimit64 __user *, new_rlim, in SYSCALL_DEFINE4() argument
1654 if (new_rlim) { in SYSCALL_DEFINE4()
[all …]
/linux/include/linux/
A Dresource.h12 struct rlimit *new_rlim, struct rlimit *old_rlim);
A Dsecurity.h429 struct rlimit *new_rlim);
1156 struct rlimit *new_rlim) in security_task_setrlimit() argument
A Dlsm_hook_defs.h219 struct rlimit *new_rlim)
A Dsyscalls.h963 const struct rlimit64 __user *new_rlim,
/linux/security/apparmor/include/
A Dresource.h37 unsigned int resource, struct rlimit *new_rlim);
/linux/security/
A Dsecurity.c1847 struct rlimit *new_rlim) in security_task_setrlimit() argument
1849 return call_int_hook(task_setrlimit, 0, p, resource, new_rlim); in security_task_setrlimit()
/linux/security/selinux/
A Dhooks.c4261 struct rlimit *new_rlim) in selinux_task_setrlimit() argument
4269 if (old_rlim->rlim_max != new_rlim->rlim_max) in selinux_task_setrlimit()

Completed in 41 milliseconds