Will Drewry
bb6ea4301a
seccomp: Add SECCOMP_RET_TRAP
...
Adds a new return value to seccomp filters that triggers a SIGSYS to be
delivered with the new SYS_SECCOMP si_code.
This allows in-process system call emulation, including just specifying
an errno or cleanly dumping core, rather than just dying.
Suggested-by: Markus Gutschke <markus@chromium.org >
Suggested-by: Julien Tinnes <jln@chromium.org >
Signed-off-by: Will Drewry <wad@chromium.org >
Acked-by: Eric Paris <eparis@redhat.com >
v18: - acked-by, rebase
- don't mention secure_computing_int() anymore
v15: - use audit_seccomp/skip
- pad out error spacing; clean up switch (indan@nul.nu )
v14: - n/a
v13: - rebase on to 88ebdda615
v12: - rebase on to linux-next
v11: - clarify the comment (indan@nul.nu )
- s/sigtrap/sigsys
v10: - use SIGSYS, syscall_get_arch, updates arch/Kconfig
note suggested-by (though original suggestion had other behaviors)
v9: - changes to SIGILL
v8: - clean up based on changes to dependent patches
v7: - introduction
Signed-off-by: James Morris <james.l.morris@oracle.com >
2012-04-14 11:13:21 +10:00
..
2012-03-29 15:34:57 -07:00
2012-03-28 10:01:29 -07:00
2012-03-27 00:37:23 +01:00
2012-03-28 13:56:35 -07:00
2012-03-30 16:09:02 -07:00
2012-03-24 10:41:37 -07:00
2012-03-28 20:59:45 -07:00
2012-03-30 17:31:56 -07:00
2012-03-26 21:06:30 +02:00
2012-03-26 11:49:47 -04:00
2012-04-02 14:41:25 -07:00
2012-03-26 20:41:01 +04:00
2012-04-04 10:09:30 -07:00
2012-03-28 12:34:33 -07:00
2012-03-24 10:08:39 -07:00
2012-03-26 11:48:54 -04:00
2012-03-30 16:45:39 -07:00
2012-03-22 09:31:55 -04:00
2012-03-24 10:41:37 -07:00
2012-04-14 11:13:20 +10:00
2012-03-20 21:29:46 -04:00
2012-03-24 10:08:39 -07:00
2012-03-23 16:58:34 -07:00
2012-03-24 10:41:37 -07:00
2012-03-21 17:55:01 -07:00
2012-03-28 18:30:03 +01:00
2012-03-21 17:54:56 -07:00
2012-03-29 18:12:23 -07:00
2012-03-23 16:58:36 -07:00
2012-03-24 10:41:37 -07:00
2012-03-24 10:41:37 -07:00
2012-03-30 03:23:30 -04:00
2012-03-29 15:38:31 +10:30
2012-03-29 14:46:05 -07:00
2012-03-23 16:58:38 -07:00
2012-03-24 10:08:39 -07:00
2012-03-29 19:52:48 +08:00
2012-03-20 21:29:37 -04:00
2012-03-28 15:58:21 -07:00
2012-03-20 21:29:53 -04:00
2012-03-21 18:55:10 -07:00
2012-03-28 16:36:44 +02:00
2012-03-28 15:02:41 -07:00
2012-04-04 17:13:43 -07:00
2012-03-29 15:34:57 -07:00
2012-03-28 14:24:40 -07:00
2012-03-28 18:30:03 +01:00
2012-04-06 02:43:12 -04:00
2012-03-31 16:03:16 -04:00
2012-03-24 10:41:37 -07:00
2012-03-20 21:29:32 -04:00
2012-04-14 11:13:19 +10:00
2012-04-02 14:41:27 -07:00
2012-04-05 15:30:34 -07:00
2012-03-19 17:56:18 -07:00
2012-03-28 14:08:46 -07:00
2012-03-24 10:08:39 -07:00
2012-03-21 17:55:02 -07:00
2012-03-21 17:54:59 -07:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-28 15:58:21 -07:00
2012-03-27 22:45:26 -04:00
2012-03-24 10:08:39 -07:00
2012-03-21 17:54:59 -07:00
2012-03-28 18:30:03 +01:00
2012-04-14 11:13:20 +10:00
2012-03-21 17:54:57 -07:00
2012-03-31 13:34:04 -07:00
2012-03-23 08:53:47 -07:00
2012-03-29 17:41:25 -05:00
2012-03-28 23:30:28 +02:00
2012-03-28 14:35:31 -07:00
2012-03-23 16:58:35 -07:00
2012-03-23 16:58:34 -07:00
2012-03-28 18:30:03 +01:00
2012-03-23 16:58:33 -07:00
2012-03-26 20:40:59 +04:00
2012-04-03 09:49:59 -07:00
2012-03-23 16:58:31 -07:00
2012-03-21 17:55:02 -07:00
2012-03-21 17:54:57 -07:00
2012-03-28 17:19:28 -07:00
2012-03-21 17:54:56 -07:00
2012-03-27 16:30:09 -07:00
2012-03-26 12:50:52 +10:30
2012-03-26 12:50:51 +10:30
2012-03-27 08:26:34 +01:00
2012-04-03 17:23:23 -04:00
2012-03-26 11:48:54 -04:00
2012-03-21 09:31:44 -04:00
2012-03-21 09:31:46 -04:00
2012-03-23 16:58:31 -07:00
2012-03-24 10:41:37 -07:00
2012-03-28 14:41:36 -07:00
2012-03-21 17:54:58 -07:00
2012-03-21 17:55:01 -07:00
2012-03-24 10:08:39 -07:00
2012-03-28 18:30:03 +01:00
2012-03-23 14:02:12 -07:00
2012-03-24 08:46:59 +01:00
2012-03-28 17:14:36 -07:00
2012-03-23 16:58:31 -07:00
2012-03-24 10:41:37 -07:00
2012-03-28 23:31:24 +02:00
2012-03-23 16:58:38 -07:00
2012-04-14 11:13:18 +10:00
2012-03-20 11:16:20 -07:00
2012-03-24 10:08:39 -07:00
2012-03-20 21:29:38 -04:00
2012-03-28 17:14:37 -07:00
2012-03-24 10:08:39 -07:00
2012-03-24 10:41:37 -07:00
2012-03-24 10:08:39 -07:00
2012-03-20 21:29:43 -04:00
2012-03-20 21:29:42 -04:00
2012-03-21 17:54:57 -07:00
2012-03-28 18:30:03 +01:00
2012-04-14 11:13:19 +10:00
2012-04-14 11:13:21 +10:00
2012-04-14 11:13:18 +10:00
2012-03-24 10:08:39 -07:00
2012-03-28 15:58:21 -07:00
2012-03-28 15:04:26 -07:00
2012-03-28 17:14:35 -07:00
2012-04-05 19:04:27 -04:00
2012-03-23 13:18:57 +01:00
2012-03-28 15:58:21 -07:00
2012-03-28 18:30:03 +01:00
2012-04-05 15:25:51 -07:00
2012-03-29 18:12:23 -07:00
2012-03-22 19:43:43 -07:00
2012-03-20 21:29:40 -04:00
2012-03-23 16:58:40 -07:00
2012-03-28 18:30:03 +01:00
2012-03-27 16:30:09 -07:00
2012-03-31 08:09:50 +05:30
2012-03-28 18:30:03 +01:00
2012-03-27 20:15:37 +02:00