Home
last modified time | relevance | path

Searched refs:trap_act (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dexec_prot.c110 struct sigaction segv_act, trap_act; in test() local
128 trap_act.sa_handler = 0; in test()
129 trap_act.sa_sigaction = trap_handler; in test()
130 FAIL_IF(sigprocmask(SIG_SETMASK, 0, &trap_act.sa_mask) != 0); in test()
131 trap_act.sa_flags = SA_SIGINFO; in test()
132 trap_act.sa_restorer = 0; in test()
133 FAIL_IF(sigaction(SIGTRAP, &trap_act, NULL) != 0); in test()
H A Dpkey_exec_prot.c104 struct sigaction segv_act, trap_act; in test() local
121 trap_act.sa_handler = 0; in test()
122 trap_act.sa_sigaction = trap_handler; in test()
123 FAIL_IF(sigprocmask(SIG_SETMASK, 0, &trap_act.sa_mask) != 0); in test()
124 trap_act.sa_flags = SA_SIGINFO; in test()
125 trap_act.sa_restorer = 0; in test()
126 FAIL_IF(sigaction(SIGTRAP, &trap_act, NULL) != 0); in test()