Searched refs:altstack (Results 1 – 8 of 8) sorted by relevance
/external/ltp/testcases/kernel/syscalls/signal/ |
D | signal06.c | 64 char altstack[4096 * 10] __attribute__((aligned(4096))); variable 102 TEST(mprotect(altstack, sizeof(altstack), PROT_READ)); in tfunc() 107 TEST(mprotect(altstack, sizeof(altstack), PROT_READ | PROT_WRITE)); in tfunc() 124 .ss_sp = altstack, in main() 125 .ss_size = sizeof(altstack), in main()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix_libcdep.cc | 149 stack_t altstack, oldstack; in SetAlternateSignalStack() local 158 altstack.ss_sp = (char*) base; in SetAlternateSignalStack() 159 altstack.ss_flags = 0; in SetAlternateSignalStack() 160 altstack.ss_size = kAltStackSize; in SetAlternateSignalStack() 161 CHECK_EQ(0, sigaltstack(&altstack, nullptr)); in SetAlternateSignalStack() 165 stack_t altstack, oldstack; in UnsetAlternateSignalStack() local 166 altstack.ss_sp = nullptr; in UnsetAlternateSignalStack() 167 altstack.ss_flags = SS_DISABLE; in UnsetAlternateSignalStack() 168 altstack.ss_size = kAltStackSize; // Some sane value required on Darwin. in UnsetAlternateSignalStack() 169 CHECK_EQ(0, sigaltstack(&altstack, &oldstack)); in UnsetAlternateSignalStack()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/ |
D | stress.c | 173 if (scenarii[sc].altstack != 0) in main() 230 if ((scenarii[sc].altstack == 0) in main()
|
D | threads_scenarii.c | 37 int altstack; /* 0 => system manages the stack; 1 => stack is provided */ member 53 .altstack=sta, \ 334 if (scenarii[i].altstack != 0) { in scenar_init()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/ |
D | threads_scenarii.c | 58 int altstack; member 96 .altstack = sta, \ 380 if (scenarii[i].altstack != 0) { in scenar_init()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/ |
D | threads_scenarii.c | 37 int altstack; /* 0 => system manages the stack; 1 => stack is provided */ member 53 .altstack=sta, \ 401 if (scenarii[i].altstack != 0) { in scenar_init()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/ |
D | threads_scenarii.c | 37 int altstack; /* 0 => system manages the stack; 1 => stack is provided */ member 53 .altstack=sta, \ 334 if (scenarii[i].altstack != 0) { in scenar_init()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 3-2.c | 430 if ((scenarii[sc].altstack == 0) in main() 486 if ((scenarii[sc].altstack == 0) in main()
|