Searched refs:getrlimit (Results 1 - 25 of 68) sorted by relevance

123

/freebsd-13-stable/lib/libc/gen/
H A Dulimit.c48 if (getrlimit(RLIMIT_FSIZE, &limit) == -1)
H A Delf_utils.c89 if (getrlimit(RLIMIT_STACK, &rlim) == -1)
H A Dsysconf.c91 if (getrlimit(RLIMIT_NPROC, &rl) != 0)
107 if (getrlimit(RLIMIT_NOFILE, &rl) != 0)
117 if (getrlimit(RLIMIT_NOFILE, &rl) != 0)
/freebsd-13-stable/bin/pax/
H A Dpax.c362 if (getrlimit(RLIMIT_DATA , &reslimit) == 0){
371 if (getrlimit(RLIMIT_FSIZE , &reslimit) == 0){
379 if (getrlimit(RLIMIT_STACK , &reslimit) == 0){
387 if (getrlimit(RLIMIT_RSS , &reslimit) == 0){
/freebsd-13-stable/crypto/heimdal/lib/roken/
H A Dgetdtablesize.c73 if (getrlimit(RLIMIT_NOFILE, &res) == 0)
/freebsd-13-stable/contrib/ntp/lib/isc/unix/
H A Dresource.c189 if (getrlimit(unixresource, &rl) == 0) {
208 unixresult = getrlimit(unixresource, &rl);
225 unixresult = getrlimit(unixresource, &rl);
/freebsd-13-stable/sys/sys/
H A Dresource.h187 int getrlimit(int, struct rlimit *);
/freebsd-13-stable/tests/sys/file/
H A Ddup_test.c184 if (getrlimit(RLIMIT_NOFILE, &rlp) < 0)
185 err(1, "getrlimit");
242 if (getrlimit(RLIMIT_NOFILE, &rlp) < 0)
243 err(1, "getrlimit");
301 if (getrlimit(RLIMIT_NOFILE, &rlp) < 0)
302 err(1, "getrlimit");
376 if (getrlimit(RLIMIT_NOFILE, &rlp) < 0)
377 err(1, "getrlimit");
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_setrlimit.c96 if (getrlimit(rlimit[i], &res) != 0)
122 if (getrlimit(rlimit[i], &res) != 0)
150 ATF_REQUIRE(getrlimit(rlimit[i], &res) == 0);
170 ATF_REQUIRE(getrlimit(rlimit[i], (void *)0) != 0);
176 ATF_REQUIRE(getrlimit(INT_MAX, &res) != 0);
526 ATF_REQUIRE(getrlimit(rlimit[i], &res) == 0);
556 ATF_REQUIRE(getrlimit(RLIMIT_STACK, &res) == 0);
H A Dt_dup.c175 (void)getrlimit(RLIMIT_NOFILE, &res);
255 (void)getrlimit(RLIMIT_NOFILE, &res);
H A Dt_clone.c228 ATF_REQUIRE_ERRNO(errno, getrlimit(RLIMIT_NPROC, &rl) != -1);
H A Dt_pipe2.c131 err = getrlimit(RLIMIT_NOFILE, &rl);
H A Dt_revoke.c65 (void)getrlimit(RLIMIT_NOFILE, &res);
/freebsd-13-stable/tools/regression/priv/
H A Dpriv_proc_setrlimit.c60 if (getrlimit(RLIMIT_DATA, &rl_base) < 0) {
61 warn("priv_proc_setrlimit_setup: getrlimit");
/freebsd-13-stable/sys/kern/
H A Dcapabilities.conf329 getrlimit
/freebsd-13-stable/crypto/heimdal/appl/login/
H A Dlimits_conf.c191 if(getrlimit(l->resource, &l->limit) < 0)
/freebsd-13-stable/crypto/heimdal/appl/rsh/
H A Dlimits_conf.c191 if(getrlimit(l->resource, &l->limit) < 0)
/freebsd-13-stable/contrib/tcpdump/lbl/
H A Dos-sunos4.h99 int getrlimit(int, struct rlimit *);
/freebsd-13-stable/sbin/fsirand/
H A Dfsirand.c87 if (getrlimit(RLIMIT_DATA, &rl) == 0) {
/freebsd-13-stable/lib/libthr/thread/
H A Dthr_stack.c161 if (getrlimit(RLIMIT_STACK, &rlim) == -1)
/freebsd-13-stable/contrib/libpcap/lbl/
H A Dos-sunos4.h98 int getrlimit(int, struct rlimit *);
/freebsd-13-stable/contrib/llvm-project/clang/tools/driver/
H A Dcc1_main.cpp138 if (getrlimit(RLIMIT_STACK, &rlim) != 0)
/freebsd-13-stable/contrib/tcsh/
H A Dtc.os.h422 # define getrlimit bsd_getrlimit macro
591 extern int getrlimit (int, struct rlimit *);
/freebsd-13-stable/bin/sh/
H A Dmiscbltin.c578 if (getrlimit(l->cmd, &limit) < 0)
593 if (getrlimit(l->cmd, &limit) < 0)
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix_libcdep.cpp92 CHECK_EQ(0, getrlimit(res, &rlim));
98 if (getrlimit(res, const_cast<struct rlimit *>(&rlim))) {
99 Report("ERROR: %s getrlimit() failed %d\n", SanitizerToolName, errno);

Completed in 206 milliseconds

123