Home
last modified time | relevance | path

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

/external/crosvm/sys_util/src/
Dscoped_signal_handler.rs205 const TEST_SIGNAL: Signal = Signal::User1; constant
275 if TEST_SIGNAL == signal { in handle_signal()
290 assert!(has_default_signal_handler(TEST_SIGNAL.into()).unwrap()); in scopedsignalhandler_success()
291 let handler = ScopedSignalHandler::new::<TestHandler>(&[TEST_SIGNAL]).unwrap(); in scopedsignalhandler_success()
292 assert!(!has_default_signal_handler(TEST_SIGNAL.into()).unwrap()); in scopedsignalhandler_success()
308 assert!(has_default_signal_handler(TEST_SIGNAL.into()).unwrap()); in scopedsignalhandler_success()
320 assert!(has_default_signal_handler(TEST_SIGNAL.into()).unwrap()); in scopedsignalhandler_handleralreadyset()
322 let handler = ScopedSignalHandler::new::<TestHandler>(&[TEST_SIGNAL]).unwrap(); in scopedsignalhandler_handleralreadyset()
323 assert!(!has_default_signal_handler(TEST_SIGNAL.into()).unwrap()); in scopedsignalhandler_handleralreadyset()
333 assert!(has_default_signal_handler(TEST_SIGNAL.into()).unwrap()); in scopedsignalhandler_handleralreadyset()
/external/linux-kselftest/android/patches/
D0017-seccomp_bpf.patch37 TEST_SIGNAL(unknown_ret_is_kill_inside, SIGSYS)
113 TEST_SIGNAL(filter_flag_log, SIGSYS)
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c89 TEST_SIGNAL(mode_strict_cannot_call_prctl, SIGKILL) { in TEST_SIGNAL() function
198 TEST_SIGNAL(unknown_ret_is_kill_inside, SIGSYS) { in TEST_SIGNAL() function
218 TEST_SIGNAL(unknown_ret_is_kill_above_allow, SIGSYS) { in TEST_SIGNAL() function
237 TEST_SIGNAL(KILL_all, SIGSYS) { in TEST_SIGNAL() function
253 TEST_SIGNAL(KILL_one, SIGSYS) { in TEST_SIGNAL() function
277 TEST_SIGNAL(KILL_one_arg_one, SIGSYS) { in TEST_SIGNAL() function
307 TEST_SIGNAL(KILL_one_arg_six, SIGSYS) { in TEST_SIGNAL() function
Dtest_harness.h77 #define TEST_SIGNAL TEST_API(TEST_SIGNAL) macro
/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.c248 TEST_SIGNAL(mode_strict_cannot_call_prctl, SIGKILL) in TEST_SIGNAL() function
505 TEST_SIGNAL(unknown_ret_is_kill_inside, SIGSYS) in TEST_SIGNAL() function
527 TEST_SIGNAL(unknown_ret_is_kill_above_allow, SIGSYS) in TEST_SIGNAL() function
548 TEST_SIGNAL(KILL_all, SIGSYS) in TEST_SIGNAL() function
566 TEST_SIGNAL(KILL_one, SIGSYS) in TEST_SIGNAL() function
593 TEST_SIGNAL(KILL_one_arg_one, SIGSYS) in TEST_SIGNAL() function
629 TEST_SIGNAL(KILL_one_arg_six, SIGSYS) in TEST_SIGNAL() function
2938 TEST_SIGNAL(filter_flag_log, SIGSYS)
/external/linux-kselftest/tools/testing/selftests/
Dkselftest_harness.h167 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal) macro