linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v10 0/4] seccomp trap to userspace
@ 2018-12-09 18:24 Tycho Andersen
  2018-12-09 18:24 ` [PATCH v10 1/4] seccomp: hoist struct seccomp_data recalculation higher Tycho Andersen
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Tycho Andersen @ 2018-12-09 18:24 UTC (permalink / raw)
  To: Kees Cook
  Cc: Andy Lutomirski, Oleg Nesterov, Eric W . Biederman,
	Serge E . Hallyn, Christian Brauner, Tyler Hicks, Akihiro Suda,
	Aleksa Sarai, Jann Horn, linux-kernel, containers, linux-api,
	Tycho Andersen

Hi all,

Here's v10 of the seccomp trap to userspace series. The only changes
since v9 was to fix up a compilation error in the
!CONFIG_ARCH_HAS_SYSCALL_WRAPPER case, and to add Serge's acks.

Link to v9: https://lore.kernel.org/lkml/20181203032827.27978-1-tycho@tycho.ws/T/#u

Cheers,

Tycho

Tycho Andersen (4):
  seccomp: hoist struct seccomp_data recalculation higher
  seccomp: switch system call argument type to void *
  seccomp: add a return code to trap to userspace
  samples: add an example of seccomp user trap

 Documentation/ioctl/ioctl-number.txt          |   1 +
 .../userspace-api/seccomp_filter.rst          |  84 ++++
 include/linux/seccomp.h                       |   9 +-
 include/linux/syscalls.h                      |   2 +-
 include/uapi/linux/seccomp.h                  |  40 +-
 kernel/seccomp.c                              | 468 +++++++++++++++++-
 samples/seccomp/.gitignore                    |   1 +
 samples/seccomp/Makefile                      |   7 +-
 samples/seccomp/user-trap.c                   | 375 ++++++++++++++
 tools/testing/selftests/seccomp/seccomp_bpf.c | 447 ++++++++++++++++-
 10 files changed, 1411 insertions(+), 23 deletions(-)
 create mode 100644 samples/seccomp/user-trap.c

-- 
2.19.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-12-12  0:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-09 18:24 [PATCH v10 0/4] seccomp trap to userspace Tycho Andersen
2018-12-09 18:24 ` [PATCH v10 1/4] seccomp: hoist struct seccomp_data recalculation higher Tycho Andersen
2018-12-12  0:30   ` Kees Cook
2018-12-09 18:24 ` [PATCH v10 2/4] seccomp: switch system call argument type to void * Tycho Andersen
2018-12-12  0:31   ` Kees Cook
2018-12-09 18:24 ` [PATCH v10 3/4] seccomp: add a return code to trap to userspace Tycho Andersen
2018-12-12  0:46   ` Kees Cook
2018-12-09 18:24 ` [PATCH v10 4/4] samples: add an example of seccomp user trap Tycho Andersen
2018-12-11 22:24   ` Serge E. Hallyn
2018-12-12  0:46     ` Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).