| 4063 | } |
| 4064 | |
| 4065 | static bool |
| 4066 | sigfastblock_fetch_sig(struct thread *td, bool sendsig, uint32_t *valp) |
| 4067 | { |
| 4068 | uint32_t res; |
| 4069 | |
| 4070 | if ((td->td_pflags & TDP_SIGFASTBLOCK) == 0) |
| 4071 | return (true); |
| 4072 | if (fueword32((void *)td->td_sigblock_ptr, &res) == -1) { |
| 4073 | sigfastblock_failed(td, sendsig, false); |
| 4074 | return (false); |
| 4075 | } |
| 4076 | *valp = res; |
| 4077 | td->td_sigblock_val = res & ~SIGFASTBLOCK_FLAGS; |
| 4078 | return (true); |
| 4079 | } |
| 4080 | |
| 4081 | static void |
| 4082 | sigfastblock_resched(struct thread *td, bool resched) |
no test coverage detected