| 910 | } |
| 911 | |
| 912 | static U32 syscall_rt_sigprocmask(CPU* cpu, U32 eipCount) { |
| 913 | SYS_LOG1(SYSCALL_SIGNAL, cpu, "rt_sigprocmask: how=%d set=%X(%X) oset=%X", ARG1, ARG2, ARG2?(ARG4==4?cpu->memory->readd(ARG2):cpu->memory->readq(ARG2)):0, ARG3); |
| 914 | U32 result = cpu->thread->sigprocmask(ARG1, ARG2, ARG3, ARG4); |
| 915 | EAX = result; |
| 916 | cpu->eip.u32+=eipCount; |
| 917 | cpu->thread->runSignals(); |
| 918 | SYS_LOG(SYSCALL_SIGNAL, cpu, " result=%d(0x%X)\n", result, result); |
| 919 | return -K_CONTINUE; |
| 920 | } |
| 921 | |
| 922 | static U32 syscall_rt_sigsuspend(CPU* cpu, U32 eipCount) { |
| 923 | SYS_LOG1(SYSCALL_SIGNAL, cpu, "rt_sigsuspend: mask=%X", ARG1); |
nothing calls this directly
no test coverage detected