| 84 | // --------------------------------------------------------------------------- |
| 85 | |
| 86 | void sigkill_target(void* /*arg*/) { |
| 87 | // Attempt to ignore SIGKILL -- this should fail |
| 88 | (void)sys_sigaction(signal_number::kSigKill, kSigIgn); |
| 89 | |
| 90 | // Sleep long enough for the parent to send SIGKILL |
| 91 | (void)sys_sleep(5000); |
| 92 | // Should never reach here |
| 93 | sys_exit(0); |
| 94 | } |
| 95 | |
| 96 | void test_sigkill(void* /*arg*/) { |
| 97 | klog::Info("=== Signal: SIGKILL Test ==="); |
nothing calls this directly
no test coverage detected