nuttx/drivers/timers
dongjiuzhu1 d61661e4c2 timers/rtc: check ioctl null pointer and return -ENOTTY
Add null pointer check for ioctl operations in RTC driver.
Return -ENOTTY when ioctl function pointer is NULL to prevent crashes.

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2026-01-22 14:07:59 +08:00
..
arch_alarm.c sched/sched: add hrtimer support to drive the scheduler 2026-01-20 06:55:15 +08:00
arch_rtc.c rtc_time:set zero rtc_time struct 2025-12-19 01:58:44 +01:00
arch_timer.c drivers/timers: check CONFIG_BOARD_LOOPSPERMSEC != 0 at runtime 2026-01-15 22:57:19 +08:00
capture.c drivers/timers/capture: fix typo in capture.h 2026-01-22 00:06:45 +08:00
CMakeLists.txt drivers/capture: add fake capture driver for testing and development 2026-01-02 07:46:52 -03:00
cs2100-cp.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
ds3231.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
ds3231.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
fake_capture.c drivers/capture: add fake capture driver for testing and development 2026-01-02 07:46:52 -03:00
goldfish_timer.c driver/timers: Simplify Goldfish timer driver. 2025-11-24 19:43:07 +08:00
Kconfig drivers/timer/rpmsg_rtc: export ept about rtc to remote cpu 2026-01-22 14:07:59 +08:00
Make.defs drivers/capture: add fake capture driver for testing and development 2026-01-02 07:46:52 -03:00
mcp794xx.c sched/sleep: replace all Signal-based sleep implement to Scheduled sleep 2025-10-17 14:05:02 +08:00
mcp794xx.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
oneshot.c drivers/timers: Fix oneshot callback arg. 2025-11-24 19:43:07 +08:00
pcf85263.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pcf85263.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pl031.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
ptp_clock.c drivers/ptp: add set/get statistics interface for driver 2025-12-30 10:22:09 -03:00
ptp_clock_dummy.c drivers/timers/ptp: support ptp clock dummy driver 2025-12-30 10:22:09 -03:00
pwm.c drivers: unify Private Types banners 2025-05-28 10:17:15 +08:00
rpmsg_rtc.c timers/rtc: check ioctl null pointer and return -ENOTTY 2026-01-22 14:07:59 +08:00
rtc.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
rx8010.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
rx8010.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
timer.c timer: add timer operation support 2026-01-09 17:10:43 +08:00
watchdog.c timers/oneshot: Remove all callback and args. 2025-11-18 13:02:29 +01:00