• Eric W. Biederman's avatar
    signal/nds32: Use force_sig(SIGILL) in do_revisn · f6ed1eca
    Eric W. Biederman authored
    As originally committed do_revisn would deliver a siginfo for SIGILL
    with an si_code composed of random stack contents.  That makes no
    sense and is not something userspace can depend on.  So simplify
    the code and just use "force_sig(SIG_ILL, current)" instead.
    
    Fixes: 2923f5ea ("nds32: Exception handling")
    Cc: Vincent Chen <vincentc@andestech.com>
    Cc: Greentime Hu <greentime@andestech.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
    f6ed1eca
traps.c 10.1 KB