Home
last modified time | relevance | path

Searched refs:RLIMIT_FSIZE (Results 1 – 25 of 69) sorted by relevance

123

/external/python/cpython2/Lib/test/
Dtest_resource.py19 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
28 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
32 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
44 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max))
68 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
73 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
80 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
84 resource.setrlimit(resource.RLIMIT_FSIZE, (too_big, max))
88 resource.setrlimit(resource.RLIMIT_FSIZE, (max, too_big))
/external/python/cpython3/Lib/test/
Dtest_resource.py22 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
32 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
36 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
49 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max))
73 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
78 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max))
85 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE)
90 resource.setrlimit(resource.RLIMIT_FSIZE, (too_big, max))
94 resource.setrlimit(resource.RLIMIT_FSIZE, (max, too_big))
/external/strace/xlat/
Dresources.h13 #if defined(RLIMIT_FSIZE) || (defined(HAVE_DECL_RLIMIT_FSIZE) && HAVE_DECL_RLIMIT_FSIZE)
15 static_assert((RLIMIT_FSIZE) == (1), "RLIMIT_FSIZE != 1");
18 # define RLIMIT_FSIZE 1
240 [RLIMIT_FSIZE] = XLAT(RLIMIT_FSIZE),
Dresources.in3 RLIMIT_FSIZE 1
/external/mksh/src/
Drlimits.gen34 #ifdef RLIMIT_FSIZE
35 FN("file(blocks)", RLIMIT_FSIZE, 512, 'f')
124 #ifdef RLIMIT_FSIZE
Drlimits.opt38 >f|RLIMIT_FSIZE
39 FN("file(blocks)", RLIMIT_FSIZE, 512
/external/kernel-headers/original/uapi/asm-generic/
Dresource.h17 #define RLIMIT_FSIZE 1 /* Maximum filesize */ macro
/external/python/cpython2/Modules/
Dresource.c274 #ifdef RLIMIT_FSIZE in initresource()
275 PyModule_AddIntConstant(m, "RLIMIT_FSIZE", RLIMIT_FSIZE); in initresource()
/external/openssh/
Dsandbox-rlimit.c67 if (setrlimit(RLIMIT_FSIZE, &rl_zero) == -1) in ssh_sandbox_child()
Dsandbox-darwin.c75 if (setrlimit(RLIMIT_FSIZE, &rl_zero) == -1) in ssh_sandbox_child()
Dsandbox-capsicum.c75 if (setrlimit(RLIMIT_FSIZE, &rl_zero) == -1) in ssh_sandbox_child()
Dsandbox-seccomp-filter.c315 if (setrlimit(RLIMIT_FSIZE, &rl_zero) == -1) in ssh_sandbox_child()
/external/ltp/testcases/kernel/syscalls/getrlimit/
Dgetrlimit01.c40 {RLIMIT_FSIZE, "RLIMIT_FSIZE"},
/external/python/cpython3/Modules/
Dresource.c376 #ifdef RLIMIT_FSIZE in PyInit_resource()
377 PyModule_AddIntMacro(m, RLIMIT_FSIZE); in PyInit_resource()
/external/toybox/toys/posix/
Dulimit.c65 char map[] = {RLIMIT_CORE, RLIMIT_DATA, RLIMIT_NICE, RLIMIT_FSIZE, in ulimit_main()
/external/ltp/testcases/kernel/syscalls/llseek/
Dllseek01.c194 SAFE_SETRLIMIT(cleanup, RLIMIT_FSIZE, &rlp); in setup()
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c93 ret = getrlimit(RLIMIT_FSIZE, &rlim); in increase_core_file_limit()
103 ret = setrlimit(RLIMIT_FSIZE, &rlim); in increase_core_file_limit()
/external/syzkaller/executor/
Dexecutor_bsd.h34 setrlimit(RLIMIT_FSIZE, &rlim); in os_init()
/external/syzkaller/sys/netbsd/
Dsys_amd64.const69 RLIMIT_FSIZE = 1
/external/ltp/testcases/kernel/syscalls/truncate/
Dtruncate03.c147 SAFE_SETRLIMIT(cleanup, RLIMIT_FSIZE, &rlim); in setup()
/external/syzkaller/sys/freebsd/
Dsys_amd64.const91 RLIMIT_FSIZE = 1
/external/ltp/testcases/kernel/syscalls/setrlimit/
Dsetrlimit01.c145 if ((setrlimit(RLIMIT_FSIZE, &rlim)) == -1) in test2()
/external/python/cpython2/Lib/plat-irix6/
DWAIT.py328 RLIMIT_FSIZE = 1 variable
/external/e2fsprogs/lib/ext2fs/
Dunix_io.c698 setrlimit(RLIMIT_FSIZE, &rlim); in unix_open_channel()
699 getrlimit(RLIMIT_FSIZE, &rlim); in unix_open_channel()
703 setrlimit(RLIMIT_FSIZE, &rlim); in unix_open_channel()
/external/syzkaller/sys/linux/
Dsys_386.const484 RLIMIT_FSIZE = 1

123