• D
    ppoll: use __kernel_timespec · 8bd27a30
    Deepa Dinamani 提交于
    struct timespec is not y2038 safe.
    struct __kernel_timespec is the new y2038 safe structure for all
    syscalls that are using struct timespec.
    Update ppoll interfaces to use struct __kernel_timespec.
    
    sigset_t also has different representations on 32 bit and 64 bit
    architectures. Hence, we need to support the following different
    syscalls:
    
    New y2038 safe syscalls:
    (Controlled by CONFIG_64BIT_TIME for 32 bit ABIs)
    
    Native 64 bit(unchanged) and native 32 bit : sys_ppoll
    Compat : compat_sys_ppoll_time64
    
    Older y2038 unsafe syscalls:
    (Controlled by CONFIG_32BIT_COMPAT_TIME for 32 bit ABIs)
    
    Native 32 bit : ppoll_time32
    Compat : compat_sys_ppoll
    Signed-off-by: NDeepa Dinamani <deepa.kernel@gmail.com>
    Signed-off-by: NArnd Bergmann <arnd@arndb.de>
    8bd27a30
select.c 33.8 KB
新手
引导
客服 返回
顶部