mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 15:50:23 +00:00
timer_gethandle() accepted any allocated timer in the system, so a process could set, read or delete another process's timer by its handle. Accept a handle only from a thread of the owner's process. The expiry callback runs in interrupt context, where the current task is unrelated, and is exempt. Signed-off-by: Royyan Zahir <royzah@gmail.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Make.defs | ||
| timer.h | ||
| timer_create.c | ||
| timer_delete.c | ||
| timer_getitimer.c | ||
| timer_getoverrun.c | ||
| timer_gettime.c | ||
| timer_initialize.c | ||
| timer_release.c | ||
| timer_setitimer.c | ||
| timer_settime.c | ||