This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch hjl/pr18696 created. glibc-2.21-618-g0155388


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, hjl/pr18696 has been created
        at  01553882206ff284e70bad78131685ce171c8947 (commit)

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=01553882206ff284e70bad78131685ce171c8947

commit 01553882206ff284e70bad78131685ce171c8947
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jul 20 09:24:33 2015 -0700

    Add si_addr_bnd to _sigfault in x86 struct siginfo
    
    X86 struct siginfo in kernel 3.19 has been changed by
    
    commit ee1b58d36aa1b5a79eaba11f5c3633c88231da83
    Author: Qiaowei Ren <qiaowei.ren@intel.com>
    Date:   Fri Nov 14 07:18:19 2014 -0800
    
        mpx: Extend siginfo structure to include bound violation information
    
        This patch adds new fields about bound violation into siginfo
        structure. si_lower and si_upper are respectively lower bound
        and upper bound when bound violation is caused.
    
    This patch updates x86 struct siginfo to enable GDB with MPX support.

diff --git a/sysdeps/unix/sysv/linux/x86/bits/siginfo.h b/sysdeps/unix/sysv/linux/x86/bits/siginfo.h
index 9431869..1cfac24 100644
--- a/sysdeps/unix/sysv/linux/x86/bits/siginfo.h
+++ b/sysdeps/unix/sysv/linux/x86/bits/siginfo.h
@@ -108,6 +108,11 @@ typedef struct
 	  {
 	    void *si_addr;	/* Faulting insn/memory ref.  */
 	    short int si_addr_lsb;	/* Valid LSB of the reported address.  */
+	    struct
+	      {
+		void *_lower;
+		void *_upper;
+	      } si_addr_bnd;
 	  } _sigfault;
 
 	/* SIGPOLL.  */

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]