/freebsd-12-stable/sys/sys/ |
H A D | resource.h | 107 #define RLIMIT_STACK 3 /* stack size */ macro
|
/freebsd-12-stable/contrib/llvm-project/clang/tools/driver/ |
H A D | cc1_main.cpp | 138 if (getrlimit(RLIMIT_STACK, &rlim) != 0) 154 if (setrlimit(RLIMIT_STACK, &rlim) != 0 ||
|
/freebsd-12-stable/bin/pax/ |
H A D | pax.c | 379 if (getrlimit(RLIMIT_STACK , &reslimit) == 0){ 381 (void)setrlimit(RLIMIT_STACK , &reslimit);
|
/freebsd-12-stable/lib/libc/gen/ |
H A D | elf_utils.c | 89 if (getrlimit(RLIMIT_STACK, &rlim) == -1)
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_setrlimit.c | 72 RLIMIT_STACK 545 atf_tc_set_md_var(tc, "descr", "Test setrlimit(2), RLIMIT_STACK"); 555 ATF_REQUIRE(setrlimit(RLIMIT_STACK, &res) == 0); 556 ATF_REQUIRE(getrlimit(RLIMIT_STACK, &res) == 0);
|
/freebsd-12-stable/contrib/ntp/lib/isc/unix/ |
H A D | resource.c | 87 *rlim_resource = RLIMIT_STACK;
|
/freebsd-12-stable/lib/libthr/thread/ |
H A D | thr_stack.c | 161 if (getrlimit(RLIMIT_STACK, &rlim) == -1)
|
H A D | thr_init.c | 474 if (getrlimit(RLIMIT_STACK, &rlim) == -1)
|
/freebsd-12-stable/release/picobsd/tinyware/passwd/ |
H A D | pw_util.c | 96 (void)setrlimit(RLIMIT_STACK, &rlim);
|
/freebsd-12-stable/bin/sh/ |
H A D | miscbltin.c | 458 #ifdef RLIMIT_STACK 459 { "stack size", "kbytes", RLIMIT_STACK, 1024, 's' },
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_posix_libcdep.cpp | 116 rlim_t stack_size = getlim(RLIMIT_STACK); 121 setlim(RLIMIT_STACK, (rlim_t)limit);
|
H A D | sanitizer_linux_libcdep.cpp | 101 CHECK_EQ(getrlimit(RLIMIT_STACK, &rl), 0);
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/safestack/ |
H A D | safestack.cpp | 271 if (getrlimit(RLIMIT_STACK, &limit) == 0 && limit.rlim_cur != RLIM_INFINITY)
|
/freebsd-12-stable/sys/compat/ia32/ |
H A D | ia32_sysvec.c | 218 case RLIMIT_STACK:
|
/freebsd-12-stable/usr.sbin/rpc.yppasswdd/ |
H A D | yppasswdd_main.c | 333 (void)setrlimit(RLIMIT_STACK, &rlim);
|
/freebsd-12-stable/sys/compat/linux/ |
H A D | linux_mmap.c | 182 lim_cur_proc(p, RLIMIT_STACK);
|
/freebsd-12-stable/sys/powerpc/powerpc/ |
H A D | elf32_machdep.c | 386 case RLIMIT_STACK:
|
/freebsd-12-stable/sys/kern/ |
H A D | kern_resource.c | 695 case RLIMIT_STACK: 703 RLIMIT_STACK); 732 if (which == RLIMIT_STACK &&
|
H A D | init_main.c | 568 p->p_limit->pl_rlimit[RLIMIT_STACK].rlim_cur = dflssiz; 569 p->p_limit->pl_rlimit[RLIMIT_STACK].rlim_max = maxssiz;
|
H A D | kern_exec.c | 1168 lim_rlimit_proc(p, RLIMIT_STACK, &rlim_stack); 1174 kern_setrlimit(curthread, RLIMIT_STACK, &rlim_stack); 1181 imgp->eff_stack_sz = lim_cur(curthread, RLIMIT_STACK);
|
/freebsd-12-stable/gnu/usr.bin/grep/ |
H A D | grep.c | 1226 #if defined(HAVE_SETRLIMIT) && defined(RLIMIT_STACK) 1233 if (!getrlimit (RLIMIT_STACK, &rlim)) 1248 setrlimit (RLIMIT_STACK, &rlim);
|
/freebsd-12-stable/lib/libutil/ |
H A D | login_class.c | 59 { "stacksize", login_getcapsize, RLIMIT_STACK },
|
H A D | pw_util.c | 136 (void)setrlimit(RLIMIT_STACK, &rlim);
|
/freebsd-12-stable/usr.bin/limits/ |
H A D | limits.c | 621 case RLIMIT_STACK:
|
/freebsd-12-stable/contrib/ntp/ntpd/ |
H A D | ntp_config.c | 3121 #if defined(RLIMIT_STACK) 3122 ntp_rlimit(RLIMIT_STACK, 3129 #endif /* RLIMIT_STACK */ 5492 # ifdef RLIMIT_STACK 5493 case RLIMIT_STACK: 5501 if (-1 == getrlimit(RLIMIT_STACK, &rl)) { 5502 msyslog(LOG_ERR, "getrlimit(RLIMIT_STACK) failed: %m"); 5512 if (-1 == setrlimit(RLIMIT_STACK, &rl)) { 5514 "ntp_rlimit: Cannot set RLIMIT_STACK: %m"); 5518 # endif /* RLIMIT_STACK */ [all...] |