mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-16 01:05:15 +08:00
timerfd_do_settime() and timerfd_do_gettime() used vnode->data from any file descriptor as struct rt_timerfd. Validate that the descriptor's file operations are timerfd_fops before dereferencing the private data, using df->fops under DFS v2 and vnode->fops under DFS v1.