Searched refs:TEST_SIGNAL (Results 1 – 8 of 8) sorted by relevance
/external/crosvm/sys_util/src/ |
D | scoped_signal_handler.rs | 205 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/ |
D | 0017-seccomp_bpf.patch | 37 TEST_SIGNAL(unknown_ret_is_kill_inside, SIGSYS) 113 TEST_SIGNAL(filter_flag_log, SIGSYS)
|
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | seccomp_bpf_tests.c | 89 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
|
D | test_harness.h | 77 #define TEST_SIGNAL TEST_API(TEST_SIGNAL) macro
|
/external/seccomp-tests/linux/ |
D | test_harness.h | 80 #define TEST_SIGNAL TEST_API(TEST_SIGNAL) macro
|
D | seccomp_bpf.c | 113 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/ |
D | seccomp_bpf.c | 248 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/ |
D | kselftest_harness.h | 167 #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal) macro
|