| H A D | pkey_sighandler_tests.c | 6 * using an alternate signal stack, with the default pkey (pkey 0) disabled. 79 static inline long clone_raw(unsigned long flags, void *stack, 83 long a2 = (long)stack; in clone_raw() 172 /* After we disable MPK 0, we can't access the stack to return */ in thread_segv_pkuerr_stack() 178 stack_t *stack = ptr; in thread_segv_maperr_ptr() 182 * Setup alternate signal stack, which should be pkey_mprotect()ed by in thread_segv_maperr_ptr() 183 * MPK 0. The thread's stack cannot be used for signals because it is in thread_segv_maperr_ptr() 186 syscall_raw(SYS_sigaltstack, (long)stack, 0, 0, 0, 0, 0); in thread_segv_maperr_ptr() 201 * Note that the new thread stack and the alternate signal stack i 80 clone_raw(unsigned long flags,void * stack,int * parent_tid,int * child_tid) clone_raw() argument 179 stack_t *stack = ptr; thread_segv_maperr_ptr() local 286 void *stack; test_sigsegv_handler_with_different_pkey_for_stack() local 405 stack_t *stack = ptr; thread_sigusr2_self() local 442 void *stack; test_pkru_sigreturn() local [all...] |