From: Kees Cook <keescook@chromium.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, Andrei Vagin <avagin@google.com>,
Andy Lutomirski <luto@amacapital.net>,
Arnd Bergmann <arnd@arndb.de>, Arnd Bergmann <arnd@kernel.org>,
Kees Cook <keescook@chromium.org>,
kernel test robot <lkp@intel.com>,
Lecopzer Chen <lecopzer.chen@mediatek.com>,
linux-arm-kernel@lists.infradead.org,
Oleg Nesterov <oleg@redhat.com>, Peter Oskolkov <posk@google.com>,
"Peter Zijlstra (Intel)" <peterz@infradead.org>,
Russell King <linux@armlinux.org.uk>,
Will Drewry <wad@chromium.org>
Subject: [GIT PULL] seccomp updates for v6.6-rc1
Date: Mon, 28 Aug 2023 11:15:48 -0700 [thread overview]
Message-ID: <202308281112.3C1EB9E@keescook> (raw)
Hi Linus,
Please pull these seccomp updates for v6.6-rc1. These changes touch stuff
that doesn't normally look like things related to seccomp (sched, perf,
arm), but it is intentional. :) Each have been acked by maintainers and
have been in -next for a while.
Thanks!
-Kees
The following changes since commit fdf0eaf11452d72945af31804e2a1048ee1b574c:
Linux 6.5-rc2 (2023-07-16 15:10:37 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/seccomp-v6.6-rc1
for you to fetch changes up to 46822860a5a9a5a558475d323a55c8aab0b54012:
seccomp: Add missing kerndoc notations (2023-08-17 12:32:15 -0700)
----------------------------------------------------------------
seccomp updates for v6.6-rc1
- Provide USER_NOTIFY flag for synchronous mode (Andrei Vagin, Peter
Oskolkov). This touches the scheduler and perf but has been Acked by
Peter Zijlstra.
- Fix regression in syscall skipping and restart tracing on arm32.
This touches arch/arm/ but has been Acked by Arnd Bergmann.
----------------------------------------------------------------
Andrei Vagin (5):
seccomp: don't use semaphore and wait_queue together
sched: add a few helpers to wake up tasks on the current cpu
seccomp: add the synchronous mode for seccomp_unotify
selftest/seccomp: add a new test for the sync mode of seccomp_user_notify
perf/benchmark: add a new benchmark for seccom_unotify
Kees Cook (4):
selftests/seccomp: Handle arm32 corner cases better
ARM: ptrace: Restore syscall restart tracing
ARM: ptrace: Restore syscall skipping for tracers
seccomp: Add missing kerndoc notations
Peter Oskolkov (1):
sched: add WF_CURRENT_CPU and externise ttwu
arch/arm/include/asm/syscall.h | 3 +
arch/arm/kernel/entry-common.S | 1 +
arch/arm/kernel/ptrace.c | 5 +-
include/linux/completion.h | 1 +
include/linux/swait.h | 2 +-
include/linux/wait.h | 3 +
include/uapi/linux/seccomp.h | 4 +
kernel/sched/completion.c | 26 ++--
kernel/sched/core.c | 5 +-
kernel/sched/fair.c | 4 +
kernel/sched/sched.h | 13 +-
kernel/sched/swait.c | 8 +-
kernel/sched/wait.c | 5 +
kernel/seccomp.c | 84 ++++++++++--
tools/arch/x86/include/uapi/asm/unistd_32.h | 3 +
tools/arch/x86/include/uapi/asm/unistd_64.h | 3 +
tools/perf/bench/Build | 1 +
tools/perf/bench/bench.h | 1 +
tools/perf/bench/sched-seccomp-notify.c | 178 ++++++++++++++++++++++++++
tools/perf/builtin-bench.c | 1 +
tools/testing/selftests/seccomp/seccomp_bpf.c | 67 +++++++++-
21 files changed, 384 insertions(+), 34 deletions(-)
create mode 100644 tools/perf/bench/sched-seccomp-notify.c
--
Kees Cook
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Kees Cook <keescook@chromium.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, Andrei Vagin <avagin@google.com>,
Andy Lutomirski <luto@amacapital.net>,
Arnd Bergmann <arnd@arndb.de>, Arnd Bergmann <arnd@kernel.org>,
Kees Cook <keescook@chromium.org>,
kernel test robot <lkp@intel.com>,
Lecopzer Chen <lecopzer.chen@mediatek.com>,
linux-arm-kernel@lists.infradead.org,
Oleg Nesterov <oleg@redhat.com>, Peter Oskolkov <posk@google.com>,
"Peter Zijlstra (Intel)" <peterz@infradead.org>,
Russell King <linux@armlinux.org.uk>,
Will Drewry <wad@chromium.org>
Subject: [GIT PULL] seccomp updates for v6.6-rc1
Date: Mon, 28 Aug 2023 11:15:48 -0700 [thread overview]
Message-ID: <202308281112.3C1EB9E@keescook> (raw)
Hi Linus,
Please pull these seccomp updates for v6.6-rc1. These changes touch stuff
that doesn't normally look like things related to seccomp (sched, perf,
arm), but it is intentional. :) Each have been acked by maintainers and
have been in -next for a while.
Thanks!
-Kees
The following changes since commit fdf0eaf11452d72945af31804e2a1048ee1b574c:
Linux 6.5-rc2 (2023-07-16 15:10:37 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/seccomp-v6.6-rc1
for you to fetch changes up to 46822860a5a9a5a558475d323a55c8aab0b54012:
seccomp: Add missing kerndoc notations (2023-08-17 12:32:15 -0700)
----------------------------------------------------------------
seccomp updates for v6.6-rc1
- Provide USER_NOTIFY flag for synchronous mode (Andrei Vagin, Peter
Oskolkov). This touches the scheduler and perf but has been Acked by
Peter Zijlstra.
- Fix regression in syscall skipping and restart tracing on arm32.
This touches arch/arm/ but has been Acked by Arnd Bergmann.
----------------------------------------------------------------
Andrei Vagin (5):
seccomp: don't use semaphore and wait_queue together
sched: add a few helpers to wake up tasks on the current cpu
seccomp: add the synchronous mode for seccomp_unotify
selftest/seccomp: add a new test for the sync mode of seccomp_user_notify
perf/benchmark: add a new benchmark for seccom_unotify
Kees Cook (4):
selftests/seccomp: Handle arm32 corner cases better
ARM: ptrace: Restore syscall restart tracing
ARM: ptrace: Restore syscall skipping for tracers
seccomp: Add missing kerndoc notations
Peter Oskolkov (1):
sched: add WF_CURRENT_CPU and externise ttwu
arch/arm/include/asm/syscall.h | 3 +
arch/arm/kernel/entry-common.S | 1 +
arch/arm/kernel/ptrace.c | 5 +-
include/linux/completion.h | 1 +
include/linux/swait.h | 2 +-
include/linux/wait.h | 3 +
include/uapi/linux/seccomp.h | 4 +
kernel/sched/completion.c | 26 ++--
kernel/sched/core.c | 5 +-
kernel/sched/fair.c | 4 +
kernel/sched/sched.h | 13 +-
kernel/sched/swait.c | 8 +-
kernel/sched/wait.c | 5 +
kernel/seccomp.c | 84 ++++++++++--
tools/arch/x86/include/uapi/asm/unistd_32.h | 3 +
tools/arch/x86/include/uapi/asm/unistd_64.h | 3 +
tools/perf/bench/Build | 1 +
tools/perf/bench/bench.h | 1 +
tools/perf/bench/sched-seccomp-notify.c | 178 ++++++++++++++++++++++++++
tools/perf/builtin-bench.c | 1 +
tools/testing/selftests/seccomp/seccomp_bpf.c | 67 +++++++++-
21 files changed, 384 insertions(+), 34 deletions(-)
create mode 100644 tools/perf/bench/sched-seccomp-notify.c
--
Kees Cook
next reply other threads:[~2023-08-28 18:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-28 18:15 Kees Cook [this message]
2023-08-28 18:15 ` [GIT PULL] seccomp updates for v6.6-rc1 Kees Cook
2023-08-28 20:14 ` pr-tracker-bot
2023-08-28 20:14 ` pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202308281112.3C1EB9E@keescook \
--to=keescook@chromium.org \
--cc=arnd@arndb.de \
--cc=arnd@kernel.org \
--cc=avagin@google.com \
--cc=lecopzer.chen@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=lkp@intel.com \
--cc=luto@amacapital.net \
--cc=oleg@redhat.com \
--cc=peterz@infradead.org \
--cc=posk@google.com \
--cc=torvalds@linux-foundation.org \
--cc=wad@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.