| /freebsd-11-stable/contrib/ntp/sntp/m4/ |
| HD | ntp_rlimit.m4 | 41 [for RLIMIT_STACK], 57 getrlimit(RLIMIT_STACK, 0); 98 [Default number of 4k pages for RLIMIT_STACK])
|
| /freebsd-11-stable/bin/pax/ |
| HD | pax.c | 359 if (getrlimit(RLIMIT_STACK , &reslimit) == 0){ in gen_init() 361 (void)setrlimit(RLIMIT_STACK , &reslimit); in gen_init()
|
| /freebsd-11-stable/contrib/llvm-project/clang/tools/driver/ |
| HD | cc1_main.cpp | 138 if (getrlimit(RLIMIT_STACK, &rlim) != 0) in ensureSufficientStack() 154 if (setrlimit(RLIMIT_STACK, &rlim) != 0 || in ensureSufficientStack()
|
| /freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
| HD | t_setrlimit.c | 72 RLIMIT_STACK 555 ATF_REQUIRE(setrlimit(RLIMIT_STACK, &res) == 0); in ATF_TC_BODY() 556 ATF_REQUIRE(getrlimit(RLIMIT_STACK, &res) == 0); in ATF_TC_BODY()
|
| /freebsd-11-stable/sys/sys/ |
| HD | resource.h | 105 #define RLIMIT_STACK 3 /* stack size */ macro
|
| /freebsd-11-stable/lib/libc/gen/ |
| HD | elf_utils.c | 74 if (getrlimit(RLIMIT_STACK, &rlim) == -1) in __libc_map_stacks_exec()
|
| /freebsd-11-stable/bin/sh/ |
| HD | miscbltin.c | 456 #ifdef RLIMIT_STACK 457 { "stack size", "kbytes", RLIMIT_STACK, 1024, 's' },
|
| /freebsd-11-stable/sys/compat/linux/ |
| HD | linux_mmap.c | 172 lim_cur_proc(p, RLIMIT_STACK); in linux_mmap_common()
|
| /freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| HD | sanitizer_posix_libcdep.cpp | 116 rlim_t stack_size = getlim(RLIMIT_STACK); in StackSizeIsUnlimited() 121 setlim(RLIMIT_STACK, (rlim_t)limit); in SetStackSizeLimitInBytes()
|
| /freebsd-11-stable/contrib/ntp/lib/isc/unix/ |
| HD | resource.c | 87 *rlim_resource = RLIMIT_STACK; in resource2rlim()
|
| /freebsd-11-stable/release/picobsd/tinyware/passwd/ |
| HD | pw_util.c | 94 (void)setrlimit(RLIMIT_STACK, &rlim); in pw_init()
|
| /freebsd-11-stable/sys/compat/ia32/ |
| HD | ia32_sysvec.c | 218 case RLIMIT_STACK: in ia32_fixlimit()
|
| /freebsd-11-stable/lib/libthr/thread/ |
| HD | thr_stack.c | 159 if (getrlimit(RLIMIT_STACK, &rlim) == -1) in singlethread_map_stacks_exec()
|
| HD | thr_init.c | 472 if (getrlimit(RLIMIT_STACK, &rlim) == -1) in init_private()
|
| /freebsd-11-stable/usr.sbin/rpc.yppasswdd/ |
| HD | yppasswdd_main.c | 331 (void)setrlimit(RLIMIT_STACK, &rlim); in main()
|
| /freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/safestack/ |
| HD | safestack.cpp | 271 if (getrlimit(RLIMIT_STACK, &limit) == 0 && limit.rlim_cur != RLIM_INFINITY) in __safestack_init()
|
| /freebsd-11-stable/sys/compat/svr4/ |
| HD | svr4_resource.c | 95 return RLIMIT_STACK;
|
| /freebsd-11-stable/sys/kern/ |
| HD | init_main.c | 570 p->p_limit->pl_rlimit[RLIMIT_STACK].rlim_cur = dflssiz; in proc0_init() 571 p->p_limit->pl_rlimit[RLIMIT_STACK].rlim_max = maxssiz; in proc0_init()
|
| HD | kern_resource.c | 696 case RLIMIT_STACK: in kern_proc_setrlimit() 704 RLIMIT_STACK); in kern_proc_setrlimit() 733 if (which == RLIMIT_STACK && in kern_proc_setrlimit()
|
| /freebsd-11-stable/contrib/tcsh/ |
| HD | sh.func.c | 1831 # define RLIMIT_STACK 1005 macro 1858 # define RLIMIT_STACK 3 macro 1919 # ifdef RLIMIT_STACK 1921 { RLIMIT_STACK, "stacksize", 1024, "kbytes" }, 1923 { RLIMIT_STACK, "stacksize", 1024 * 1024, "kbytes"},
|
| /freebsd-11-stable/gnu/usr.bin/grep/ |
| HD | grep.c | 1226 #if defined(HAVE_SETRLIMIT) && defined(RLIMIT_STACK) in install_matcher() 1233 if (!getrlimit (RLIMIT_STACK, &rlim)) in install_matcher() 1248 setrlimit (RLIMIT_STACK, &rlim); in install_matcher()
|
| /freebsd-11-stable/lib/libutil/ |
| HD | login_class.c | 59 { "stacksize", login_getcapsize, RLIMIT_STACK },
|
| HD | pw_util.c | 138 (void)setrlimit(RLIMIT_STACK, &rlim); in pw_init()
|
| /freebsd-11-stable/usr.bin/limits/ |
| HD | limits.c | 621 case RLIMIT_STACK: in resource_num()
|
| /freebsd-11-stable/contrib/ntp/ntpd/ |
| HD | ntp_config.c | 3121 #if defined(RLIMIT_STACK) in config_rlimit() 3122 ntp_rlimit(RLIMIT_STACK, in config_rlimit() 5492 # ifdef RLIMIT_STACK in ntp_rlimit() 5493 case RLIMIT_STACK: in ntp_rlimit() 5501 if (-1 == getrlimit(RLIMIT_STACK, &rl)) { in ntp_rlimit() 5512 if (-1 == setrlimit(RLIMIT_STACK, &rl)) { in ntp_rlimit()
|