Home
last modified time | relevance | path

Searched refs:SAFE_SETRLIMIT (Results 1 – 18 of 18) 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.c46 SAFE_SETRLIMIT(RLIMIT_NOFILE, &lnew); in verify_getrandom()
54 SAFE_SETRLIMIT(RLIMIT_NOFILE, &lold); in verify_getrandom()
/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/testcases/kernel/syscalls/mq_open/
Dmq_open01.c196 SAFE_SETRLIMIT(RLIMIT_NOFILE, &r); in set_rlimit()
202 SAFE_SETRLIMIT(RLIMIT_NOFILE, &rlim); in restore_rlimit()
/external/ltp/testcases/kernel/syscalls/setrlimit/
Dsetrlimit04.c44 SAFE_SETRLIMIT(RLIMIT_STACK, &rlim); in test_setrlimit()
/external/ltp/testcases/kernel/syscalls/tgkill/
Dtgkill02.c36 SAFE_SETRLIMIT(RLIMIT_SIGPENDING, &sigpending); in thread_func()
/external/ltp/testcases/kernel/syscalls/abort/
Dabort01.c142 SAFE_SETRLIMIT(NULL, RLIMIT_CORE, &rlim); in setup()
/external/ltp/testcases/kernel/mem/thp/
Dthp01.c136 SAFE_SETRLIMIT(RLIMIT_STACK, &rl); in setup()
/external/ltp/testcases/kernel/syscalls/llseek/
Dllseek01.c194 SAFE_SETRLIMIT(cleanup, RLIMIT_FSIZE, &rlp); in setup()
/external/ltp/testcases/kernel/syscalls/ipc/shmat/
Dshmat01.c86 SAFE_SETRLIMIT(RLIMIT_CORE, &r); in do_child()
/external/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c132 SAFE_SETRLIMIT(RLIMIT_AS, &lim); in setup()
/external/ltp/testcases/kernel/syscalls/sched_setscheduler/
Dsched_setscheduler03.c90 SAFE_SETRLIMIT(type, limit); in l_rlimit_setup()
/external/ltp/testcases/kernel/syscalls/truncate/
Dtruncate03.c147 SAFE_SETRLIMIT(cleanup, RLIMIT_FSIZE, &rlim); in setup()
/external/ltp/testcases/kernel/syscalls/kill/
Dkill11.c207 SAFE_SETRLIMIT(NULL, RLIMIT_CORE, &rlim); in setup()
/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise08.c70 SAFE_SETRLIMIT(RLIMIT_CORE, &limit); in setup()
/external/ltp/testcases/cve/
Dstack_clash.c157 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.h394 #define SAFE_SETRLIMIT(resource, rlim) \ macro