• Chris Metcalf's avatar
    arch/tile: Change struct sigcontext to be more useful · 74fca9da
    Chris Metcalf authored
    Rather than just using pt_regs, it now contains the actual saved
    state explicitly, similar to pt_regs.  By doing it this way, we
    provide a cleaner API for userspace (or equivalently, we avoid the
    need for libc to provide its own definition of sigcontext).
    
    While we're at it, move PT_FLAGS_xxx to where they are not visible
    from userspace.  And always pass siginfo and mcontext to signal
    handlers, even if they claim they don't need it, since sometimes
    they actually try to use it anyway in practice.
    Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
    74fca9da
sigcontext.h 1.17 KB