Home
last modified time | relevance | path

Searched refs:oldact (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/tools/testing/selftests/perf_events/
Dremove_on_exec.c71 struct sigaction oldact; in FIXTURE() local
86 ASSERT_EQ(sigaction(SIGTRAP, &action, &self->oldact), 0); in FIXTURE_SETUP()
96 sigaction(SIGTRAP, &self->oldact, NULL); in FIXTURE_TEARDOWN()
Dsigtrap_threads.c112 struct sigaction oldact; in FIXTURE() local
130 ASSERT_EQ(sigaction(SIGTRAP, &action, &self->oldact), 0); in FIXTURE_SETUP()
146 sigaction(SIGTRAP, &self->oldact, NULL); in FIXTURE_TEARDOWN()
/linux-6.12.1/tools/perf/tests/
Dsigtrap.c237 struct sigaction oldact; in test__sigtrap() local
253 if (sigaction(SIGTRAP, &action, &oldact)) { in test__sigtrap()
282 sigaction(SIGTRAP, &oldact, NULL); in test__sigtrap()
/linux-6.12.1/tools/testing/selftests/x86/
Dtest_shadow_stack.c666 struct sigaction *restrict oldact) in sigaction32() argument
671 register long oldact_reg asm("edx") = (long)oldact; in sigaction32()
675 : "=a"(ret), "=m"(oldact) in sigaction32()
/linux-6.12.1/tools/testing/selftests/mm/
Dprotection_keys.c417 struct sigaction oldact; in setup_sigsegv_handler() local
434 r = sigaction(signum, &newact, &oldact); in setup_sigsegv_handler()
435 r = sigaction(SIGALRM, &newact, &oldact); in setup_sigsegv_handler()
/linux-6.12.1/tools/tracing/latency/
Dlatency-collector.c303 struct sigaction *oldact) in sigaction_or_die() argument
305 if (unlikely(sigaction(signum, act, oldact) != 0)) { in sigaction_or_die()