Searched refs:new_rlim (Results 1 – 1 of 1) sorted by relevance
1451 struct rlimit *new_rlim, struct rlimit *old_rlim) in do_prlimit() argument1460 if (new_rlim) { in do_prlimit()1461 if (new_rlim->rlim_cur > new_rlim->rlim_max) in do_prlimit()1464 new_rlim->rlim_max > sysctl_nr_open) in do_prlimit()1471 if (new_rlim) { in do_prlimit()1476 if (new_rlim->rlim_max > rlim->rlim_max && in do_prlimit()1480 retval = security_task_setrlimit(tsk, resource, new_rlim); in do_prlimit()1485 if (new_rlim) in do_prlimit()1486 *rlim = *new_rlim; in do_prlimit()1495 if (!retval && new_rlim && resource == RLIMIT_CPU && in do_prlimit()[all …]