[GIT PULL] seccomp fixes for v5.10-rc5

From: Kees Cook
Date: Fri Nov 20 2020 - 14:14:17 EST


Hi Linus,

Please pull these seccomp fixes for v5.10-rc5. This gets the seccomp
selftests running against on powerpc and sh, and fixes an audit
reporting oversight noticed in both seccomp and ptrace.

Thanks!

-Kees

The following changes since commit 09162bc32c880a791c6c0668ce0745cf7958f576:

Linux 5.10-rc4 (2020-11-15 16:44:31 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/seccomp-v5.10-rc5

for you to fetch changes up to 4c222f31fb1db4d590503a181a6268ced9252379:

selftests/seccomp: sh: Fix register names (2020-11-20 11:03:08 -0800)

----------------------------------------------------------------
seccomp fixes for v5.10-rc5

- Fix typos in seccomp selftests on powerpc and sh (Kees Cook)

- Fix PF_SUPERPRIV audit marking in seccomp and ptrace (Mickaël Salaün)

----------------------------------------------------------------
Kees Cook (2):
selftests/seccomp: powerpc: Fix typo in macro variable name
selftests/seccomp: sh: Fix register names

Mickaël Salaün (2):
ptrace: Set PF_SUPERPRIV when checking capability
seccomp: Set PF_SUPERPRIV when checking capability

kernel/ptrace.c | 16 +++++-----------
kernel/seccomp.c | 5 ++---
tools/testing/selftests/seccomp/seccomp_bpf.c | 8 ++++----
3 files changed, 11 insertions(+), 18 deletions(-)

--
Kees Cook