/freebsd-11-stable/sys/sys/ |
H A D | resource.h | 105 #define RLIMIT_STACK 3 /* stack size */ macro
|
/freebsd-11-stable/bin/pax/ |
H A D | pax.c | 359 if (getrlimit(RLIMIT_STACK , &reslimit) == 0){ 361 (void)setrlimit(RLIMIT_STACK , &reslimit);
|
/freebsd-11-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-11-stable/lib/libc/gen/ |
H A D | elf_utils.c | 74 if (getrlimit(RLIMIT_STACK, &rlim) == -1)
|
/freebsd-11-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-11-stable/contrib/ntp/lib/isc/unix/ |
H A D | resource.c | 87 *rlim_resource = RLIMIT_STACK;
|
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_stack.c | 159 if (getrlimit(RLIMIT_STACK, &rlim) == -1)
|
H A D | thr_init.c | 472 if (getrlimit(RLIMIT_STACK, &rlim) == -1)
|
/freebsd-11-stable/release/picobsd/tinyware/passwd/ |
H A D | pw_util.c | 94 (void)setrlimit(RLIMIT_STACK, &rlim);
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_mmap.c | 172 lim_cur_proc(p, RLIMIT_STACK);
|
/freebsd-11-stable/bin/sh/ |
H A D | miscbltin.c | 456 #ifdef RLIMIT_STACK 457 { "stack size", "kbytes", RLIMIT_STACK, 1024, 's' },
|
/freebsd-11-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-11-stable/sys/compat/svr4/ |
H A D | svr4_resource.c | 95 return RLIMIT_STACK;
|
/freebsd-11-stable/sys/compat/ia32/ |
H A D | ia32_sysvec.c | 218 case RLIMIT_STACK:
|
/freebsd-11-stable/usr.sbin/rpc.yppasswdd/ |
H A D | yppasswdd_main.c | 331 (void)setrlimit(RLIMIT_STACK, &rlim);
|
/freebsd-11-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-11-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-11-stable/sys/kern/ |
H A D | kern_resource.c | 696 case RLIMIT_STACK: 704 RLIMIT_STACK); 733 if (which == RLIMIT_STACK &&
|
H A D | init_main.c | 570 p->p_limit->pl_rlimit[RLIMIT_STACK].rlim_cur = dflssiz; 571 p->p_limit->pl_rlimit[RLIMIT_STACK].rlim_max = maxssiz;
|
H A D | kern_exec.c | 1146 lim_rlimit_proc(p, RLIMIT_STACK, &rlim_stack); 1152 kern_setrlimit(curthread, RLIMIT_STACK, &rlim_stack);
|
/freebsd-11-stable/lib/libutil/ |
H A D | login_class.c | 59 { "stacksize", login_getcapsize, RLIMIT_STACK },
|
H A D | pw_util.c | 138 (void)setrlimit(RLIMIT_STACK, &rlim);
|
/freebsd-11-stable/usr.bin/limits/ |
H A D | limits.c | 621 case RLIMIT_STACK:
|
/freebsd-11-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...] |