diff options
author | Andreas Jaeger <aj@suse.de> | 2012-07-26 13:09:25 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2012-07-26 13:11:18 +0200 |
commit | bfc07087bf30879023acb498d8b17b4b0affb4e3 (patch) | |
tree | cee79a302440b91861a25984e79159163b8b12e8 /ports | |
parent | 89b4b02f421d2a6d24eb632d9c6977dbe786e6ee (diff) | |
download | glibc-bfc07087bf30879023acb498d8b17b4b0affb4e3.tar glibc-bfc07087bf30879023acb498d8b17b4b0affb4e3.tar.gz glibc-bfc07087bf30879023acb498d8b17b4b0affb4e3.tar.bz2 glibc-bfc07087bf30879023acb498d8b17b4b0affb4e3.zip |
Merge _sigsys changes from Linux 3.5
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ChangeLog.alpha | 6 | ||||
-rw-r--r-- | ports/ChangeLog.tile | 6 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/alpha/bits/siginfo.h | 11 | ||||
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/tile/bits/siginfo.h | 11 |
4 files changed, 34 insertions, 0 deletions
diff --git a/ports/ChangeLog.alpha b/ports/ChangeLog.alpha index 13933cf1f7..65536e51bb 100644 --- a/ports/ChangeLog.alpha +++ b/ports/ChangeLog.alpha @@ -1,3 +1,9 @@ +2012-07-26 Andreas Jaeger <aj@suse.de> + + * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (siginfo_t): Add + _sigsys. + (si_call_addr, si_syscall, si_arch): Define new macro. + 2012-07-25 Florian Weimer <fweimer@redhat.com> * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Add diff --git a/ports/ChangeLog.tile b/ports/ChangeLog.tile index 317909addd..fee4509ccf 100644 --- a/ports/ChangeLog.tile +++ b/ports/ChangeLog.tile @@ -1,3 +1,9 @@ +2012-07-26 Andreas Jaeger <aj@suse.de> + + * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (siginfo_t): Add + _sigsys. + (si_call_addr, si_syscall, si_arch): Define new macro. + 2012-07-25 Florian Weimer <fweimer@redhat.com> * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist: diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/siginfo.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/siginfo.h index 4a465a5bd5..4a8c8d56b9 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/bits/siginfo.h +++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/siginfo.h @@ -97,6 +97,14 @@ typedef struct int si_band; /* Band event for SIGPOLL. */ int si_fd; } _sigpoll; + + /* SIGSYS. */ + struct + { + void *_call_addr; /* Calling user insn. */ + int _syscall; /* Triggering system call number. */ + unsigned int _arch; /* AUDIT_ARCH_* of syscall. */ + } _sigsys; } _sifields; } siginfo_t; @@ -115,6 +123,9 @@ typedef struct # define si_addr _sifields._sigfault.si_addr # define si_band _sifields._sigpoll.si_band # define si_fd _sifields._sigpoll.si_fd +# define si_call_addr _sifields._sigsys._call_addr +# define si_syscall _sifields._sigsys._syscall +# define si_arch _sifields._sigsys._arch /* Values for `si_code'. Positive values are reserved for kernel-generated diff --git a/ports/sysdeps/unix/sysv/linux/tile/bits/siginfo.h b/ports/sysdeps/unix/sysv/linux/tile/bits/siginfo.h index 44ffcc04d1..6fa354a78d 100644 --- a/ports/sysdeps/unix/sysv/linux/tile/bits/siginfo.h +++ b/ports/sysdeps/unix/sysv/linux/tile/bits/siginfo.h @@ -104,6 +104,14 @@ typedef struct long int si_band; /* Band event for SIGPOLL. */ int si_fd; } _sigpoll; + + /* SIGSYS. */ + struct + { + void *_call_addr; /* Calling user insn. */ + int _syscall; /* Triggering system call number. */ + unsigned int _arch; /* AUDIT_ARCH_* of syscall. */ + } _sigsys; } _sifields; } siginfo_t; @@ -123,6 +131,9 @@ typedef struct # define si_trapno _sifields._sigfault.si_trapno # define si_band _sifields._sigpoll.si_band # define si_fd _sifields._sigpoll.si_fd +# define si_call_addr _sifields._sigsys._call_addr +# define si_syscall _sifields._sigsys._syscall +# define si_arch _sifields._sigsys._arch /* Values for `si_code'. Positive values are reserved for kernel-generated |