Lines Matching full:sa
210 struct sigaction sa; in test_sigsegv_handler_with_pkey0_disabled() local
214 sa.sa_flags = SA_SIGINFO; in test_sigsegv_handler_with_pkey0_disabled()
216 sa.sa_sigaction = sigsegv_handler; in test_sigsegv_handler_with_pkey0_disabled()
217 sigemptyset(&sa.sa_mask); in test_sigsegv_handler_with_pkey0_disabled()
218 if (sigaction(SIGSEGV, &sa, NULL) == -1) { in test_sigsegv_handler_with_pkey0_disabled()
250 struct sigaction sa; in test_sigsegv_handler_cannot_access_stack() local
254 sa.sa_flags = SA_SIGINFO; in test_sigsegv_handler_cannot_access_stack()
256 sa.sa_sigaction = sigsegv_handler; in test_sigsegv_handler_cannot_access_stack()
257 sigemptyset(&sa.sa_mask); in test_sigsegv_handler_cannot_access_stack()
258 if (sigaction(SIGSEGV, &sa, NULL) == -1) { in test_sigsegv_handler_cannot_access_stack()
287 struct sigaction sa; in test_sigsegv_handler_with_different_pkey_for_stack() local
295 sa.sa_flags = SA_SIGINFO | SA_ONSTACK; in test_sigsegv_handler_with_different_pkey_for_stack()
297 sa.sa_sigaction = sigsegv_handler; in test_sigsegv_handler_with_different_pkey_for_stack()
299 sigemptyset(&sa.sa_mask); in test_sigsegv_handler_with_different_pkey_for_stack()
300 if (sigaction(SIGSEGV, &sa, NULL) == -1) { in test_sigsegv_handler_with_different_pkey_for_stack()
362 struct sigaction sa; in test_pkru_preserved_after_sigusr1() local
371 sa.sa_flags = SA_SIGINFO; in test_pkru_preserved_after_sigusr1()
373 sa.sa_sigaction = sigusr1_handler; in test_pkru_preserved_after_sigusr1()
374 sigemptyset(&sa.sa_mask); in test_pkru_preserved_after_sigusr1()
375 if (sigaction(SIGUSR1, &sa, NULL) == -1) { in test_pkru_preserved_after_sigusr1()
443 struct sigaction sa = {0}; in test_pkru_sigreturn() local
451 sa.sa_handler = SIG_DFL; in test_pkru_sigreturn()
452 sa.sa_flags = 0; in test_pkru_sigreturn()
453 sigemptyset(&sa.sa_mask); in test_pkru_sigreturn()
459 if (sigaction(SIGSEGV, &sa, NULL) == -1) { in test_pkru_sigreturn()
464 sa.sa_flags = SA_SIGINFO | SA_ONSTACK; in test_pkru_sigreturn()
465 sa.sa_sigaction = sigusr2_handler; in test_pkru_sigreturn()
466 sigemptyset(&sa.sa_mask); in test_pkru_sigreturn()
468 if (sigaction(SIGUSR2, &sa, NULL) == -1) { in test_pkru_sigreturn()