Home
last modified time | relevance | path

Searched refs:live_uc (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/arm64/signal/
H A Dtest_signals_utils.c168 memcpy(td->live_uc, uc, td->live_sz); in handle_signal_copyctx()
169 ASSERT_GOOD_CONTEXT(td->live_uc); in handle_signal_copyctx()
188 } else if (signum == sig_copyctx && current->live_uc && in default_handler()
H A Dtest_signals_utils.h32 * made available in td->live_uc.
40 * 1. grab a valid sigcontext into td->live_uc for result analysis: in
43 * 2. detect if, somehow, a previously grabbed live_uc context has been
67 td->live_uc = dest_uc; in get_current_context()
104 * If we get here with seen_already==1 it implies the td->live_uc in get_current_context()
106 * a test has failed to cause a SEGV...anyway live_uc does not in get_current_context()
111 "Unexpected successful sigreturn detected: live_uc is stale !\n"); in get_current_context()
H A Dtest_signals.h79 ucontext_t *live_uc; member
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/signal/
H A Dtest_signals_utils.c200 copied_extra = (struct extra_context *)&(td->live_uc->uc_mcontext.__reserved[offset]); in handle_signal_copyctx()
213 memcpy(td->live_uc, uc, to_copy); in handle_signal_copyctx()
244 } else if (signum == sig_copyctx && current->live_uc && in default_handler()
H A Dtest_signals.h84 ucontext_t *live_uc; member
H A Dtest_signals_utils.h36 * made available in td->live_uc.
44 * 1. grab a valid sigcontext into td->live_uc for result analysis: in
47 * 2. detect if, somehow, a previously grabbed live_uc context has been
84 td->live_uc = dest_uc; in get_current_context()
132 * If we get here with seen_already==1 it implies the td->live_uc in get_current_context()
134 * a test has failed to cause a SEGV...anyway live_uc does not in get_current_context()
139 "Unexpected successful sigreturn detected: live_uc is stale !\n"); in get_current_context()

Completed in 3 milliseconds