nuttx/sched
Ville Juven be0cb4cbe3 signal/sig_dispatch: Fix case where signal action is sent twice
As far as I can interpret how signal delivery should work when the signal
is blocked, it should still be sent to the pending queue even if the signal
is masked. When the sigmask changes it will be delivered.

The original implementation did not add the pending signal action, if
stcb->task_state == TSTATE_WAIT_SIG is true.

An attempt to patch this was made in #8563 but it is insufficient as it
creates an issue when the task is not waiting for a signal, but is in
syscall, in this case the signal is incorrectly queued twice.
2023-02-22 01:29:06 +08:00
..
addrenv sched/addrenv: Remove up_addrenv_restore 2023-02-08 02:51:23 +08:00
clock
environ
group task/task_cancelpt: Kill the child if it is not in a cancel point 2023-02-17 22:57:36 +08:00
init Launch the initial task through task_spawn instead of nxtask_create 2023-01-25 23:34:52 +02:00
irq sched/irq: add spin_unlock_irqsave/irqrestore_wo_note 2023-01-02 22:29:01 +08:00
misc sync ps/assert output 2023-02-17 23:35:44 +08:00
module nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
mqueue sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
paging nuttx/sched: merge up_block_task and up_unblock_task 2022-11-22 22:59:08 +08:00
pthread libc/exit: Purge calls to userspace API exit() from kernel 2023-02-17 23:07:17 +08:00
sched sync ps/assert output 2023-02-17 23:35:44 +08:00
semaphore sched/semaphore: increase sem count when holder task exit 2023-02-12 16:49:45 +08:00
signal signal/sig_dispatch: Fix case where signal action is sent twice 2023-02-22 01:29:06 +08:00
task libc/exit: Purge calls to userspace API exit() from kernel 2023-02-17 23:07:17 +08:00
timer sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
tls sched/group: fix task info heap-use-after-free 2023-01-11 01:53:59 +08:00
wdog nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
wqueue sched/wqueue: semaphore count should be consistent with the number of work entries. 2023-01-28 21:45:10 +09:00
Kconfig driver/note: Restore SCHED_INSTRUMENTATION config to sched/Konfig 2023-02-20 14:30:59 +08:00
Makefile group/group_addrenv: Move address environment from group -> tcb 2023-02-08 02:51:23 +08:00