incubator-nuttx/sched/clock
Peter Bee 8a47dd95c9 sched/clock: add nsec range check in clock_settime
MIRTOS-109

Return error when tv_nsec <0 or >=1000 million.

Change-Id: Iddbbcda163cb402551f619efb7486f6798859d57
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2021-07-09 14:19:03 -03:00
..
Make.defs sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
clock.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
clock.h sched: nxstyle fixes 2021-02-09 01:21:53 -08:00
clock_abstime2ticks.c sched: nxstyle fixes 2021-02-09 01:21:53 -08:00
clock_dow.c Fix typos reported by codespell 2021-02-25 11:31:49 -08:00
clock_getres.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
clock_gettime.c sched: Don't include nuttx/sched.h inside sched.h 2021-05-24 12:11:53 +09:00
clock_initialize.c Replace mktime with timegm in rtc and fs driver 2021-06-23 13:43:32 -03:00
clock_settime.c sched/clock: add nsec range check in clock_settime 2021-07-09 14:19:03 -03:00
clock_systime_ticks.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
clock_systime_timespec.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
clock_ticks2time.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
clock_time2ticks.c Include assert.h in necessary place 2021-06-08 13:06:08 -07:00
clock_timekeeping.c sched: update licenses to Apache 2021-05-25 08:46:53 -05:00
clock_timekeeping.h sched: update licenses to Apache 2021-05-25 08:46:53 -05:00
clock_timespec_add.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
clock_timespec_subtract.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00