Searched refs:SAFE_SETRLIMIT (Results 1 – 19 of 19) sorted by relevance
/external/ltp/testcases/kernel/syscalls/mlock/ |
D | mlock02.c | 116 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/ |
D | getrandom04.c | 22 SAFE_SETRLIMIT(RLIMIT_NOFILE, &lnew); in verify_getrandom() 30 SAFE_SETRLIMIT(RLIMIT_NOFILE, &lold); in verify_getrandom()
|
/external/ltp/testcases/kernel/syscalls/bpf/ |
D | bpf_common.h | 21 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/ |
D | mlock202.c | 59 SAFE_SETRLIMIT(RLIMIT_MEMLOCK, &new_limit); in verify_mlock2() 81 SAFE_SETRLIMIT(RLIMIT_MEMLOCK, &orig_limit); in verify_mlock2()
|
/external/ltp/lib/ |
D | tst_coredump.c | 27 SAFE_SETRLIMIT(RLIMIT_CORE, &new_r); in tst_no_corefile()
|
/external/ltp/testcases/kernel/syscalls/setrlimit/ |
D | setrlimit04.c | 34 SAFE_SETRLIMIT(RLIMIT_STACK, &rlim); in test_setrlimit()
|
/external/ltp/testcases/kernel/syscalls/mq_open/ |
D | mq_open01.c | 183 SAFE_SETRLIMIT(RLIMIT_NOFILE, &r); in set_rlimit() 189 SAFE_SETRLIMIT(RLIMIT_NOFILE, &rlim); in restore_rlimit()
|
/external/ltp/testcases/kernel/syscalls/tgkill/ |
D | tgkill02.c | 36 SAFE_SETRLIMIT(RLIMIT_SIGPENDING, &sigpending); in thread_func()
|
/external/ltp/testcases/kernel/syscalls/abort/ |
D | abort01.c | 75 SAFE_SETRLIMIT(RLIMIT_CORE, &rlim); in setup()
|
/external/ltp/testcases/kernel/syscalls/llseek/ |
D | llseek01.c | 69 SAFE_SETRLIMIT(RLIMIT_FSIZE, &rlp); in setup()
|
/external/ltp/testcases/kernel/mem/thp/ |
D | thp01.c | 127 SAFE_SETRLIMIT(RLIMIT_STACK, &rl); in setup()
|
/external/ltp/testcases/kernel/syscalls/truncate/ |
D | truncate03.c | 147 SAFE_SETRLIMIT(cleanup, RLIMIT_FSIZE, &rlim); in setup()
|
/external/ltp/testcases/kernel/mem/tunable/ |
D | overcommit_memory.c | 132 SAFE_SETRLIMIT(RLIMIT_AS, &lim); in setup()
|
/external/ltp/testcases/kernel/syscalls/kill/ |
D | kill11.c | 207 SAFE_SETRLIMIT(NULL, RLIMIT_CORE, &rlim); in setup()
|
/external/ltp/testcases/kernel/syscalls/sched_setscheduler/ |
D | sched_setscheduler03.c | 78 SAFE_SETRLIMIT(type, limit); in l_rlimit_setup()
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise08.c | 61 SAFE_SETRLIMIT(RLIMIT_CORE, &limit); in setup()
|
/external/ltp/testcases/cve/ |
D | stack_clash.c | 143 SAFE_SETRLIMIT(RLIMIT_STACK, &rlimit); in do_child()
|
/external/ltp/include/old/ |
D | safe_macros.h | 319 #define SAFE_SETRLIMIT(cleanup_fn, resource, rlim) \ macro
|
/external/ltp/include/ |
D | tst_safe_macros.h | 412 #define SAFE_SETRLIMIT(resource, rlim) \ macro
|