[PATCH 1/1] hwclock: Verify RTC file descriptor; use reentrant functions

Ralf Friedl Ralf.Friedl at online.de
Tue Apr 29 15:50:00 UTC 2014


Bryan Evenson wrote:
> Similarly, the returned pointer of ctime and localtime was
> being used without checking if the pointer was valid. One of
> these calls was causing a call to hwclock to enter an
> uninterruptable sleep when the invalid hwclock access occurred.

An uninterruptable sleep is a kernel bug. Can you use strace on your 
script to see the sequence of calls that leads to this uninterruptable 
sleep?


More information about the busybox mailing list