• A
    y2038: timerfd: Use timespec64 internally · bde9e963
    Arnd Bergmann 提交于
    timerfd_show() uses a 'struct itimerspec' internally, but that is
    deprecated because of the time_t overflow and a conflict with the glibc
    type of the same name that is now incompatible in user space.
    
    Use a pair of timespec64 variables instead as a simple replacement.
    
    As this removes the last use of itimerspec from the kernel, allowing the
    removal of the definition from the uapi headers along with timespec and
    timeval later.
    Reviewed-by: NThomas Gleixner <tglx@linutronix.de>
    Signed-off-by: NArnd Bergmann <arnd@arndb.de>
    bde9e963
timerfd.c 13.5 KB
新手
引导
客服 返回
顶部