Files
linux/arch/x86/include/asm
Will Drewry a0727e8ce5 signal, x86: add SIGSYS info and make it synchronous.
This change enables SIGSYS, defines _sigfields._sigsys, and adds
x86 (compat) arch support.  _sigsys defines fields which allow
a signal handler to receive the triggering system call number,
the relevant AUDIT_ARCH_* value for that number, and the address
of the callsite.

SIGSYS is added to the SYNCHRONOUS_MASK because it is desirable for it
to have setup_frame() called for it. The goal is to ensure that
ucontext_t reflects the machine state from the time-of-syscall and not
from another signal handler.

The first consumer of SIGSYS would be seccomp filter.  In particular,
a filter program could specify a new return value, SECCOMP_RET_TRAP,
which would result in the system call being denied and the calling
thread signaled.  This also means that implementing arch-specific
support can be dependent upon HAVE_ARCH_SECCOMP_FILTER.

Suggested-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Will Drewry <wad@chromium.org>
Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Reviewed-by: H. Peter Anvin <hpa@zytor.com>
Acked-by: Eric Paris <eparis@redhat.com>

v18: - added acked by, rebase
v17: - rebase and reviewed-by addition
v14: - rebase/nochanges
v13: - rebase on to 88ebdda615
v12: - reworded changelog (oleg@redhat.com)
v11: - fix dropped words in the change description
     - added fallback copy_siginfo support.
     - added __ARCH_SIGSYS define to allow stepped arch support.
v10: - first version based on suggestion
Signed-off-by: James Morris <james.l.morris@oracle.com>
2012-04-14 11:13:21 +10:00
..
2011-12-05 17:17:24 +01:00
…
2009-01-29 14:16:51 +01:00
2011-08-29 13:44:12 -07:00
2011-08-29 13:44:12 -07:00
2012-03-28 18:11:12 +01:00
2012-03-28 18:11:12 +01:00
2011-01-13 08:03:25 -08:00
2012-03-28 18:11:12 +01:00
…
2012-03-28 18:11:12 +01:00
2011-02-14 12:08:28 +01:00
…
2011-05-02 17:24:48 +02:00
…
…
2012-03-28 18:11:12 +01:00
2010-02-16 21:22:26 -08:00
…
…
2011-05-16 14:55:57 -04:00
2012-03-28 18:11:12 +01:00
2011-04-18 09:26:48 -07:00
2012-03-20 21:48:30 +08:00
…
2011-01-07 10:03:50 -05:00
2012-03-28 18:11:12 +01:00
2009-08-27 00:35:56 +02:00
2011-11-11 10:22:55 +01:00
…
2010-10-26 16:52:08 -07:00
2009-01-21 17:26:06 +09:00
2011-02-23 22:27:52 +01:00
…
2012-02-20 12:51:00 -08:00
2011-07-26 16:49:43 -07:00
2009-06-13 15:37:30 +02:00
…
2011-07-22 14:39:50 +09:30
2011-05-24 14:33:35 +02:00
2010-06-09 11:12:36 +02:00
2012-03-28 18:11:12 +01:00
…
…
2011-07-26 16:49:47 -07:00
…
…
2012-01-26 21:23:53 +01:00
2010-05-07 17:13:04 -07:00
2011-12-05 14:28:37 +01:00
…
2010-06-29 12:12:59 +02:00
…
2010-11-01 15:38:34 -04:00
2010-10-26 16:52:08 -07:00
2011-01-13 17:32:44 -08:00
2011-06-05 21:30:33 +02:00
2011-01-13 17:32:44 -08:00
…
2012-02-20 12:48:47 -08:00
2009-02-02 23:27:09 +05:30
2011-03-15 15:34:15 -07:00
2010-02-12 09:42:39 -08:00
2011-03-18 10:39:30 +01:00
…
…
2011-08-29 13:44:12 -07:00
…
2012-03-28 18:11:12 +01:00
…
…
2012-02-20 12:52:05 -08:00
…
2011-12-05 12:00:16 +01:00
…
…
2009-06-15 12:40:02 +02:00
…
…
2009-01-31 00:19:32 +05:30
2012-03-28 18:11:12 +01:00
…
…
2012-03-28 18:11:12 +01:00
2011-03-23 19:47:18 -07:00
2011-05-20 12:50:29 -07:00
2011-05-20 12:50:29 -07:00
2012-02-20 12:52:05 -08:00
…
…
…
…
2012-03-28 18:11:12 +01:00
…
2011-06-05 21:30:32 +02:00
…
…
…
2009-06-15 12:40:02 +02:00