Lines Matching refs:stack
134 stack_t *stack = ptr; in thread_segv_maperr_ptr() local
142 syscall_raw(SYS_sigaltstack, (long)stack, 0, 0, 0, 0, 0); in thread_segv_maperr_ptr()
239 void *stack; in test_sigsegv_handler_with_different_pkey_for_stack() local
254 stack = mmap(0, STACK_SIZE, PROT_READ | PROT_WRITE, in test_sigsegv_handler_with_different_pkey_for_stack()
257 assert(stack != MAP_FAILED); in test_sigsegv_handler_with_different_pkey_for_stack()
264 pkey_mprotect(stack, STACK_SIZE, PROT_READ | PROT_WRITE, pkey); in test_sigsegv_handler_with_different_pkey_for_stack()
280 (long) ((char *)(stack) + STACK_SIZE), in test_sigsegv_handler_with_different_pkey_for_stack()
349 stack_t *stack = ptr; in thread_sigusr2_self() local
356 syscall(SYS_sigaltstack, (long)stack, 0, 0, 0, 0, 0); in thread_sigusr2_self()
383 void *stack; in test_pkru_sigreturn() local
410 stack = mmap(0, STACK_SIZE, PROT_READ | PROT_WRITE, in test_pkru_sigreturn()
413 assert(stack != MAP_FAILED); in test_pkru_sigreturn()
425 pkey_mprotect(stack, STACK_SIZE, PROT_READ | PROT_WRITE, pkey); in test_pkru_sigreturn()
439 (long) ((char *)(stack) + STACK_SIZE), in test_pkru_sigreturn()