Searched refs:SAFE_SETRLIMIT (Results 1 – 18 of 18) 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 | 46 SAFE_SETRLIMIT(RLIMIT_NOFILE, &lnew); in verify_getrandom() 54 SAFE_SETRLIMIT(RLIMIT_NOFILE, &lold); in verify_getrandom()
|
/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/testcases/kernel/syscalls/mq_open/ |
D | mq_open01.c | 196 SAFE_SETRLIMIT(RLIMIT_NOFILE, &r); in set_rlimit() 202 SAFE_SETRLIMIT(RLIMIT_NOFILE, &rlim); in restore_rlimit()
|
/external/ltp/testcases/kernel/syscalls/setrlimit/ |
D | setrlimit04.c | 44 SAFE_SETRLIMIT(RLIMIT_STACK, &rlim); in test_setrlimit()
|
/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 | 142 SAFE_SETRLIMIT(NULL, RLIMIT_CORE, &rlim); in setup()
|
/external/ltp/testcases/kernel/mem/thp/ |
D | thp01.c | 136 SAFE_SETRLIMIT(RLIMIT_STACK, &rl); in setup()
|
/external/ltp/testcases/kernel/syscalls/llseek/ |
D | llseek01.c | 194 SAFE_SETRLIMIT(cleanup, RLIMIT_FSIZE, &rlp); in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmat/ |
D | shmat01.c | 86 SAFE_SETRLIMIT(RLIMIT_CORE, &r); in do_child()
|
/external/ltp/testcases/kernel/mem/tunable/ |
D | overcommit_memory.c | 132 SAFE_SETRLIMIT(RLIMIT_AS, &lim); in setup()
|
/external/ltp/testcases/kernel/syscalls/sched_setscheduler/ |
D | sched_setscheduler03.c | 90 SAFE_SETRLIMIT(type, limit); in l_rlimit_setup()
|
/external/ltp/testcases/kernel/syscalls/truncate/ |
D | truncate03.c | 147 SAFE_SETRLIMIT(cleanup, RLIMIT_FSIZE, &rlim); 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/madvise/ |
D | madvise08.c | 70 SAFE_SETRLIMIT(RLIMIT_CORE, &limit); in setup()
|
/external/ltp/testcases/cve/ |
D | stack_clash.c | 157 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 | 394 #define SAFE_SETRLIMIT(resource, rlim) \ macro
|