Home
last modified time | relevance | path

Searched refs:sigact (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/tools/testing/selftests/resctrl/
Dresctrl_val.c485 struct sigaction sigact; in signal_handler_register() local
488 sigact.sa_sigaction = ctrlc_handler; in signal_handler_register()
489 sigemptyset(&sigact.sa_mask); in signal_handler_register()
490 sigact.sa_flags = SA_SIGINFO; in signal_handler_register()
491 if (sigaction(SIGINT, &sigact, NULL) || in signal_handler_register()
492 sigaction(SIGTERM, &sigact, NULL) || in signal_handler_register()
493 sigaction(SIGHUP, &sigact, NULL)) { in signal_handler_register()
507 struct sigaction sigact; in signal_handler_unregister() local
509 sigact.sa_handler = SIG_DFL; in signal_handler_unregister()
510 sigemptyset(&sigact.sa_mask); in signal_handler_unregister()
[all …]
/Linux-v6.6/tools/testing/selftests/powerpc/pmu/sampling_tests/
Dmmcr2_fcs_fch_test.c32 struct sigaction sigact = { in mmcr2_fcs_fch() local
39 FAIL_IF(sigaction(SIGUSR2, &sigact, NULL)); in mmcr2_fcs_fch()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_progs.c1626 struct sigaction sigact = { in main() local
1632 sigaction(SIGSEGV, &sigact, NULL); in main()