Home
last modified time | relevance | path

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

/mirbsd/src/bin/pax/
Dpax.c352 struct rlimit reslimit; in gen_init() local
360 if (getrlimit(RLIMIT_DATA , &reslimit) == 0){ in gen_init()
361 reslimit.rlim_cur = reslimit.rlim_max; in gen_init()
362 (void)setrlimit(RLIMIT_DATA , &reslimit); in gen_init()
369 if (getrlimit(RLIMIT_FSIZE , &reslimit) == 0){ in gen_init()
370 reslimit.rlim_cur = reslimit.rlim_max; in gen_init()
371 (void)setrlimit(RLIMIT_FSIZE , &reslimit); in gen_init()
377 if (getrlimit(RLIMIT_STACK , &reslimit) == 0){ in gen_init()
378 reslimit.rlim_cur = reslimit.rlim_max; in gen_init()
379 (void)setrlimit(RLIMIT_STACK , &reslimit); in gen_init()
[all …]