Skip to contentSkip to conversation

seccomp updates for next

GIT PULL Kees Cook 2 participants 2 messages Dec 12, 2018 – Dec 13, 2018

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

Hi James,

Please pull these seccomp changes for next.

Thanks!

-Kees

The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad:

Linux 4.20-rc2 (2018-11-11 17:12:31 -0600)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/seccomp-next

for you to fetch changes up to fec7b6690541b8128663a13c9586b1daf42b0a6c:

samples: add an example of seccomp user trap (2018-12-11 16:32:11 -0800)

----------------------------------------------------------------
Add SECCOMP_RET_USER_NOTIF

----------------------------------------------------------------
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 +
 Documentation/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
Signature · 1 line
Kees Cook
#1 lore raw
Quoted 4 lines · Kees Cook

Hi James,

Please pull these seccomp changes for next.

Pulled to next-seccomp and next-testing in:

git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git

Signature · 2 lines
James Morris
<[email protected]>