• Cyrill Gorcunov's avatar
    x86: headers cleanup - prctl.h · 44402703
    Cyrill Gorcunov authored
    Impact: cleanup (internal kernel function exported)
    
    'make headers_check' warn us about leaking of kernel private
    (mostly compile time vars) data to userspace in headers. Fix it.
    
    sys_arch_prctl is completely removed from
    header since frankly I don't even understand why we
    describe it here. It is described like
    __SYSCALL(__NR_arch_prctl, sys_arch_prctl) in unistd_64.h
    and implemented in process_64.c. User-mode linux involved?
    So this one in fact is suspicious.
    Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
    44402703
prctl.h 190 Bytes