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-04-04 17:26:08 -07:00
2012-03-26 17:19:03 +02:00
2011-07-26 16:49:45 -07:00
2012-03-30 18:08:05 -07:00
2012-03-28 23:31:24 +02:00
2012-03-31 13:35:31 -07:00
2012-03-29 14:16:48 -07:00
2012-04-05 15:30:34 -07:00
2012-01-08 12:19:57 -08:00
2012-01-13 09:32:18 +10:30
2011-07-20 14:10:11 -07:00
2012-03-20 21:29:40 -04:00
2012-01-17 16:16:57 -05:00
2012-01-17 16:17:01 -05:00
2012-04-14 11:13:20 +10:00
2012-01-17 10:19:41 -08:00
2012-02-02 09:20:22 -08:00
2012-03-29 22:03:33 -07:00
2012-02-20 12:48:47 -08:00
2011-07-25 20:57:15 -07:00
2011-09-23 12:05:29 +05:30
2012-01-08 13:10:57 -08:00
2012-04-02 08:53:24 -07:00
2011-11-06 19:44:47 -08:00
2012-02-14 10:45:42 +11:00
2011-07-14 12:59:14 +03:00
2012-03-28 18:30:03 +01:00
2012-03-29 18:12:23 -07:00
2012-04-14 11:13:20 +10:00
2012-03-04 23:08:54 +01:00
2012-03-29 11:37:17 +02:00
2012-03-29 11:37:17 +02:00
2011-10-31 09:20:12 -04:00
2011-11-28 08:43:52 -08:00
2012-03-05 15:49:42 -08:00
2012-04-02 08:48:04 -07:00
2011-12-15 14:56:19 +01:00
2012-02-28 20:01:08 +01:00
2012-03-23 13:18:57 +01:00
2012-03-23 13:18:57 +01:00
2012-03-28 17:19:28 -07:00
2011-10-31 09:20:12 -04:00
2012-03-28 23:30:28 +02:00
2012-03-05 15:49:42 -08:00
2011-10-31 09:20:13 -04:00
2011-11-23 09:28:17 -08:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2012-02-21 09:06:06 -08:00
2012-01-24 16:37:54 -08:00
2012-03-26 12:50:53 +10:30
2011-10-31 09:20:12 -04:00
2012-03-01 10:28:03 +01:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2012-03-29 19:52:46 +08:00
2012-01-12 20:13:11 -08:00
2012-03-26 12:50:51 +10:30
2012-03-28 17:14:36 -07:00
2012-02-13 20:45:38 -05:00
2011-12-15 14:56:19 +01:00
2011-10-31 09:20:12 -04:00
2012-03-20 10:31:44 -07:00
2011-10-31 09:20:12 -04:00
2012-03-23 16:58:41 -07:00
2011-10-31 09:20:11 -04:00
2012-02-21 09:06:12 -08:00
2012-02-21 09:06:03 -08:00
2012-02-21 09:03:43 -08:00
2012-02-21 09:06:13 -08:00
2012-02-21 09:06:10 -08:00
2012-02-21 09:42:30 -08:00
2012-02-21 09:06:07 -08:00
2012-02-21 15:33:34 -08:00
2012-02-21 09:06:07 -08:00
2012-02-10 09:04:49 +01:00
2012-01-22 15:08:46 -05:00
2012-02-03 23:37:07 +01:00
2011-12-06 08:16:49 +01:00
2011-12-14 14:54:22 -08:00
2011-12-11 10:33:18 -08:00
2012-03-28 18:30:03 +01:00
2012-04-14 11:13:21 +10:00
2011-10-31 09:20:12 -04:00
2012-04-14 11:13:21 +10:00
2012-03-28 17:14:35 -07:00
2012-03-20 10:32:09 -07:00
2012-03-23 13:18:57 +01:00
2012-02-21 09:06:08 -08:00
2011-10-31 09:20:12 -04:00
2011-11-06 19:44:47 -08:00
2011-10-31 17:30:44 -07:00
2012-04-14 11:13:20 +10:00
2011-12-20 10:25:04 -08:00
2012-04-05 14:51:43 +10:00
2011-09-19 17:04:37 -07:00
2012-03-15 18:17:55 -07:00
2012-01-06 07:53:34 -08:00
2012-02-24 10:05:59 +01:00
2011-12-15 14:56:19 +01:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-10-31 09:20:12 -04:00
2011-11-06 19:44:47 -08:00
2011-10-31 09:20:12 -04:00
2011-12-21 10:07:39 +01:00
2012-03-23 16:58:32 -07:00
2012-03-20 18:13:22 -07:00