Home
last modified time | relevance | path

Searched refs:TEST_SIGNAL (Results 1 – 8 of 8) sorted by relevance

/external/crosvm/base/tests/unix/
Dscoped_signal_handler.rs37 const TEST_SIGNAL: Signal = Signal::User1; constant
107 if TEST_SIGNAL == signal { in handle_signal()
122 assert!(has_default_signal_handler(TEST_SIGNAL.into()).unwrap()); in scopedsignalhandler_success()
123 let handler = ScopedSignalHandler::new::<TestHandler>(&[TEST_SIGNAL]).unwrap(); in scopedsignalhandler_success()
124 assert!(!has_default_signal_handler(TEST_SIGNAL.into()).unwrap()); in scopedsignalhandler_success()
140 assert!(has_default_signal_handler(TEST_SIGNAL.into()).unwrap()); in scopedsignalhandler_success()
152 assert!(has_default_signal_handler(TEST_SIGNAL.into()).unwrap()); in scopedsignalhandler_handleralreadyset()
154 let handler = ScopedSignalHandler::new::<TestHandler>(&[TEST_SIGNAL]).unwrap(); in scopedsignalhandler_handleralreadyset()
155 assert!(!has_default_signal_handler(TEST_SIGNAL.into()).unwrap()); in scopedsignalhandler_handleralreadyset()
165 assert!(has_default_signal_handler(TEST_SIGNAL.into()).unwrap()); in scopedsignalhandler_handleralreadyset()
/external/linux-kselftest/android/patches/
D0014-seccomp-bpf.patch48 TEST_SIGNAL(unknown_ret_is_kill_inside, SIGSYS)
107 TEST_SIGNAL(filter_flag_log, SIGSYS)
D0021-seccomp_bpf-disable-incompatible-tests-4.14.patch36 TEST_SIGNAL(unknown_ret_is_kill_inside, SIGSYS)
145 TEST_SIGNAL(filter_flag_log, SIGSYS)
/external/linux-kselftest/tools/testing/selftests/syscall_user_dispatch/
Dsud_test.c59 TEST_SIGNAL(dispatch_trigger_sigsys, SIGSYS) in TEST_SIGNAL() function
218 TEST_SIGNAL(bad_selector, SIGSYS) in TEST_SIGNAL() function
/external/seccomp-tests/linux/
Dtest_harness.h80 #define TEST_SIGNAL TEST_API(TEST_SIGNAL) macro
Dseccomp_bpf.c113 TEST_SIGNAL(mode_strict_cannot_call_prctl, SIGKILL) in TEST_SIGNAL() function
345 TEST_SIGNAL(unknown_ret_is_kill_inside, SIGSYS) in TEST_SIGNAL() function
367 TEST_SIGNAL(unknown_ret_is_kill_above_allow, SIGSYS) in TEST_SIGNAL() function
388 TEST_SIGNAL(KILL_all, SIGSYS) in TEST_SIGNAL() function
406 TEST_SIGNAL(KILL_one, SIGSYS) in TEST_SIGNAL() function
433 TEST_SIGNAL(KILL_one_arg_one, SIGSYS) in TEST_SIGNAL() function
469 TEST_SIGNAL(KILL_one_arg_six, SIGSYS) in TEST_SIGNAL() function
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c338 TEST_SIGNAL(mode_strict_cannot_call_prctl, SIGKILL) in TEST_SIGNAL() function
592 TEST_SIGNAL(unknown_ret_is_kill_inside, SIGSYS) in TEST_SIGNAL() function
614 TEST_SIGNAL(unknown_ret_is_kill_above_allow, SIGSYS) in TEST_SIGNAL() function
635 TEST_SIGNAL(KILL_all, SIGSYS) in TEST_SIGNAL() function
653 TEST_SIGNAL(KILL_one, SIGSYS) in TEST_SIGNAL() function
680 TEST_SIGNAL(KILL_one_arg_one, SIGSYS) in TEST_SIGNAL() function
716 TEST_SIGNAL(KILL_one_arg_six, SIGSYS) in TEST_SIGNAL() function
3186 TEST_SIGNAL(filter_flag_log, SIGSYS) in TEST_SIGNAL() function
/external/linux-kselftest/tools/testing/selftests/
Dkselftest_harness.h178 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal) macro