nuttx/sched/signal
Royyan Zahir 87998e3f61 sched/signal: validate a sigevent where it is registered
A SIGEV_SIGNAL | SIGEV_THREAD_ID timer skipped timer_create's signal
check, and nxsig_notification honoured any thread ID. Add
nxsig_event_valid(): the signal must exist and a SIGEV_THREAD_ID target
must be one of the caller's own threads, as on Linux. timer_create,
gpio, button and phy_notify call it before storing an event, so the
caller gets EINVAL and an expiring timer never fails its DEBUGVERIFY.

Signed-off-by: Royyan Zahir <royzah@gmail.com>
2026-10-09 20:34:16 +08:00
..
CMakeLists.txt arch, sched/signal: Fix compilation with ENABLE_PARTIAL_SIGNALS=y 2026-06-16 17:07:32 +08:00
Make.defs arch, sched/signal: Fix compilation with ENABLE_PARTIAL_SIGNALS=y 2026-06-16 17:07:32 +08:00
sig_action.c libc, sched: Resolve FDPIC descriptors at module callback entry points. 2026-09-25 10:46:48 -03:00
sig_allocpendingsigaction.c
sig_cleanup.c arch, sched/signal: Fix compilation with ENABLE_PARTIAL_SIGNALS=y 2026-06-16 17:07:32 +08:00
sig_clockwait.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sig_default.c sched/signal: run no cleanup handlers on signal termination 2026-10-02 15:38:52 -03:00
sig_deliver.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sig_dispatch.c sched: Skip wd_cancel() on wakeup when the waiter set no timeout. 2026-10-05 20:17:02 +08:00
sig_findaction.c
sig_initialize.c arch, sched/signal: Fix compilation with ENABLE_PARTIAL_SIGNALS=y 2026-06-16 17:07:32 +08:00
sig_kill.c arch, sched/signal: Fix compilation with ENABLE_PARTIAL_SIGNALS=y 2026-06-16 17:07:32 +08:00
sig_lowest.c
sig_nanosleep.c
sig_notification.c sched/signal: validate a sigevent where it is registered 2026-10-09 20:34:16 +08:00
sig_pause.c
sig_pending.c sched/signal: use spinlock to protect signal queues 2026-01-17 18:29:17 -03:00
sig_ppoll.c
sig_procmask.c arch, sched/signal: Fix compilation with ENABLE_PARTIAL_SIGNALS=y 2026-06-16 17:07:32 +08:00
sig_pselect.c
sig_queue.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sig_releasependingsigaction.c
sig_releasependingsignal.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sig_removependingsignal.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sig_sleep.c
sig_suspend.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sig_tgkill.c arch, sched/signal: Fix compilation with ENABLE_PARTIAL_SIGNALS=y 2026-06-16 17:07:32 +08:00
sig_timedwait.c sched/signal: Unblock sigtimedwait through kernel memory. 2026-08-08 14:59:21 -03:00
sig_unmaskpendingsignal.c
sig_usleep.c
sig_waitinfo.c
signal.h arch, sched/signal: Fix compilation with ENABLE_PARTIAL_SIGNALS=y 2026-06-16 17:07:32 +08:00