lkml.org 
[lkml]   [2014]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v9 07/12] mips: sync struct siginfo with general version
    Date
    New fields about bound violation are added into general struct
    siginfo. This will impact MIPS and IA64, which extend general
    struct siginfo. This patch syncs this struct for MIPS with
    general version.

    Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
    ---
    arch/mips/include/uapi/asm/siginfo.h | 4 ++++
    1 files changed, 4 insertions(+), 0 deletions(-)

    diff --git a/arch/mips/include/uapi/asm/siginfo.h b/arch/mips/include/uapi/asm/siginfo.h
    index e811744..d08f83f 100644
    --- a/arch/mips/include/uapi/asm/siginfo.h
    +++ b/arch/mips/include/uapi/asm/siginfo.h
    @@ -92,6 +92,10 @@ typedef struct siginfo {
    int _trapno; /* TRAP # which caused the signal */
    #endif
    short _addr_lsb;
    + struct {
    + void __user *_lower;
    + void __user *_upper;
    + } _addr_bnd;
    } _sigfault;

    /* SIGPOLL, SIGXFSZ (To do ...) */
    --
    1.7.1


    \
     
     \ /
      Last update: 2014-10-12 07:41    [W:4.584 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site