Home
last modified time | relevance | path

Searched refs:SAFE_SETRLIMIT (Results 1 – 19 of 19) sorted by relevance

/external/ltp/testcases/kernel/syscalls/mlock/
Dmlock02.c116 SAFE_SETRLIMIT(cleanup, RLIMIT_MEMLOCK, &rl); in test_enomem1()
141 SAFE_SETRLIMIT(cleanup, RLIMIT_MEMLOCK, &rl); in test_enomem2()
154 SAFE_SETRLIMIT(cleanup, RLIMIT_MEMLOCK, &original); in test_enomem2()
170 SAFE_SETRLIMIT(cleanup, RLIMIT_MEMLOCK, &rl); in test_eperm()
183 SAFE_SETRLIMIT(cleanup, RLIMIT_MEMLOCK, &original); in test_eperm()
/external/ltp/testcases/kernel/syscalls/getrandom/
Dgetrandom04.c22 SAFE_SETRLIMIT(RLIMIT_NOFILE, &lnew); in verify_getrandom()
30 SAFE_SETRLIMIT(RLIMIT_NOFILE, &lold); in verify_getrandom()
/external/ltp/testcases/kernel/syscalls/bpf/
Dbpf_common.h21 SAFE_SETRLIMIT(RLIMIT_MEMLOCK, &memlock_r); in rlimit_bump_memlock()
24 SAFE_SETRLIMIT(RLIMIT_MEMLOCK, &memlock_r); in rlimit_bump_memlock()
/external/ltp/testcases/kernel/syscalls/mlock2/
Dmlock202.c59 SAFE_SETRLIMIT(RLIMIT_MEMLOCK, &new_limit); in verify_mlock2()
81 SAFE_SETRLIMIT(RLIMIT_MEMLOCK, &orig_limit); in verify_mlock2()
/external/ltp/lib/
Dtst_coredump.c27 SAFE_SETRLIMIT(RLIMIT_CORE, &new_r); in tst_no_corefile()
/external/ltp/testcases/kernel/syscalls/setrlimit/
Dsetrlimit04.c34 SAFE_SETRLIMIT(RLIMIT_STACK, &rlim); in test_setrlimit()
/external/ltp/testcases/kernel/syscalls/mq_open/
Dmq_open01.c183 SAFE_SETRLIMIT(RLIMIT_NOFILE, &r); in set_rlimit()
189 SAFE_SETRLIMIT(RLIMIT_NOFILE, &rlim); in restore_rlimit()
/external/ltp/testcases/kernel/syscalls/tgkill/
Dtgkill02.c36 SAFE_SETRLIMIT(RLIMIT_SIGPENDING, &sigpending); in thread_func()
/external/ltp/testcases/kernel/syscalls/abort/
Dabort01.c75 SAFE_SETRLIMIT(RLIMIT_CORE, &rlim); in setup()
/external/ltp/testcases/kernel/syscalls/llseek/
Dllseek01.c69 SAFE_SETRLIMIT(RLIMIT_FSIZE, &rlp); in setup()
/external/ltp/testcases/kernel/mem/thp/
Dthp01.c127 SAFE_SETRLIMIT(RLIMIT_STACK, &rl); in setup()
/external/ltp/testcases/kernel/syscalls/truncate/
Dtruncate03.c147 SAFE_SETRLIMIT(cleanup, RLIMIT_FSIZE, &rlim); in setup()
/external/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c132 SAFE_SETRLIMIT(RLIMIT_AS, &lim); in setup()
/external/ltp/testcases/kernel/syscalls/kill/
Dkill11.c207 SAFE_SETRLIMIT(NULL, RLIMIT_CORE, &rlim); in setup()
/external/ltp/testcases/kernel/syscalls/sched_setscheduler/
Dsched_setscheduler03.c78 SAFE_SETRLIMIT(type, limit); in l_rlimit_setup()
/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise08.c61 SAFE_SETRLIMIT(RLIMIT_CORE, &limit); in setup()
/external/ltp/testcases/cve/
Dstack_clash.c143 SAFE_SETRLIMIT(RLIMIT_STACK, &rlimit); in do_child()
/external/ltp/include/old/
Dsafe_macros.h319 #define SAFE_SETRLIMIT(cleanup_fn, resource, rlim) \ macro
/external/ltp/include/
Dtst_safe_macros.h412 #define SAFE_SETRLIMIT(resource, rlim) \ macro