Skip to content
  • Philippe Gerum's avatar
    evl/timerfd: sanitize ABI · e04546a5
    Philippe Gerum authored
    
    
    We want userland to receive EFAULT when bad pointers are passed to the
    SET/GET operations, not SIGSEGV. So we need to handle any itimerspec
    copy directly from kernel space.
    
    At this chance, change the element name visible by userland from
    "timerfd" to "timer", not to confuse people.
    
    Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
    e04546a5