nuttx/sched/signal
chao an a8de85de0b sched/signal: add sanity check for siginfo
add sanity check for siginfo to ensure whether there is really a
consumer waiting for the signal, since the task state will not be
changed appropriately if in cancel/killed case

Test Case:
https://github.com/linux-test-project/ltp/blob/master/testcases/open_posix_testsuite/conformance/interfaces/sigpause/1-1.c#L63

Signed-off-by: chao an <anchao@lixiang.com>
2024-03-26 20:55:04 +08:00
..
CMakeLists.txt cmake:complete missing changes during cmake reforming for sched 2023-09-08 21:20:16 +03:00
Make.defs sched: Implement tkill/tgkill 2023-01-26 08:11:56 +02:00
sig_action.c semantic/parser: fix compile warning found by sparse 2023-05-30 23:00:00 +08:00
sig_allocpendingsigaction.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
sig_cleanup.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
sig_default.c signal: SIGCONT can be caught 2023-07-12 21:27:06 +08:00
sig_deliver.c Signal must be masked when it is delivered to a signal handler 2023-05-18 01:19:12 +08:00
sig_dispatch.c sched/signal: add sanity check for siginfo 2024-03-26 20:55:04 +08:00
sig_findaction.c
sig_initialize.c sched/signal: merge allocate of signal pool 2024-03-22 21:40:56 +08:00
sig_kill.c semantic/parser: fix compile warning found by sparse 2023-05-30 23:00:00 +08:00
sig_lowest.c
sig_nanosleep.c sched: Check for zero sleep time and yield CPU if 2023-11-07 18:26:54 +08:00
sig_notification.c signal: use work_cancel_sync() to fix used after free 2023-09-19 15:52:48 +08:00
sig_pause.c
sig_pending.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
sig_ppoll.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
sig_procmask.c ltp: sigprocmask fix 2023-07-31 22:29:31 -07:00
sig_pselect.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
sig_queue.c sigaction: Expand si_user for non-kernel signals 2023-11-22 08:00:43 -08:00
sig_releasependingsigaction.c
sig_releasependingsignal.c
sig_removependingsignal.c
sig_sleep.c
sig_suspend.c sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
sig_tgkill.c sched: Implement tkill/tgkill 2023-01-26 08:11:56 +02:00
sig_timedwait.c sched/signal: add sanity check for siginfo 2024-03-26 20:55:04 +08:00
sig_unmaskpendingsignal.c Increase the number of real time signals. Two is not enough. 2023-03-27 16:59:04 +03:00
sig_usleep.c
sig_waitinfo.c
signal.h signal/nxsig_pengingset: move nxsig_pendingset to common header 2022-12-28 23:05:58 +08:00