Searched refs:rlimits (Results 1 – 4 of 4) sorted by relevance
/external/mksh/src/ |
D | funcs.c | 3280 static const struct limits * const rlimits[] = { variable 3315 while (i < NELEM(rlimits)) { in c_ulimit() 3316 if (rlimits[i]->optchar == what) in c_ulimit() 3328 return (set_ulimit(rlimits[i], wp[builtin_opt.optind], how)); in c_ulimit() 3331 print_ulimit(rlimits[i], how); in c_ulimit() 3332 else for (i = 0; i < NELEM(rlimits); ++i) { in c_ulimit() 3333 shprintf("-%c: %-20s ", rlimits[i]->optchar, rlimits[i]->name); in c_ulimit() 3334 print_ulimit(rlimits[i], how); in c_ulimit()
|
D | rlimits.opt | 22 __RCSID("$MirOS: src/bin/mksh/rlimits.opt,v 1.3 2015/12/12 21:08:44 tg Exp $");
|
D | rlimits.gen | 24 __RCSID("$MirOS: src/bin/mksh/rlimits.opt,v 1.3 2015/12/12 21:08:44 tg Exp $");
|
/external/minijail/ |
D | libminijail.c | 194 struct minijail_rlimit rlimits[MAX_RLIMITS]; member 719 if (j->rlimits[i].type == type) in minijail_rlimit() 723 j->rlimits[j->rlimit_count].type = type; in minijail_rlimit() 724 j->rlimits[j->rlimit_count].cur = cur; in minijail_rlimit() 725 j->rlimits[j->rlimit_count].max = max; in minijail_rlimit() 1724 limit.rlim_cur = j->rlimits[i].cur; in set_rlimits_or_die() 1725 limit.rlim_max = j->rlimits[i].max; in set_rlimits_or_die() 1726 if (prlimit(j->initpid, j->rlimits[i].type, &limit, NULL)) in set_rlimits_or_die()
|