[PATCH v3 00/11] General cleanups and fixes from SECCOMP patchset

benjamin at sipsolutions.net benjamin at sipsolutions.net
Fri Nov 10 03:03:37 PST 2023


From: Benjamin Berg <benjamin at sipsolutions.net>

Hi,

the SECCOMP patchset is not ready yet as I need to change it quite a bit
for the FD passing based security model that was proposed.

Until then, the cleanups and small fixes from the start of the patchset
are still relevant and it could be nice to pull them in anyway. So I am
resending just these.

I purely rebased the patchset. There should be no other differences
between v2 and v3 here.

Benjamin

Benjamin Berg (11):
  um: Drop support for hosts without SYSEMU_SINGLESTEP support
  um: Drop NULL check from start_userspace
  um: Make errors to stop ptraced child fatal during startup
  um: Don't use vfprintf() for os_info()
  um: Do not use printk in SIGWINCH helper thread
  um: Reap winch thread if it fails
  um: Do not use printk in userspace trampoline
  um: Always inline stub functions
  um: Rely on PTRACE_SETREGSET to set FS/GS base registers
  um: Remove unused register save/restore functions
  um: Mark 32bit syscall helpers as clobbering memory

 arch/um/drivers/chan_user.c             |  42 +++++----
 arch/um/drivers/line.c                  |  13 ++-
 arch/um/include/asm/processor-generic.h |   1 -
 arch/um/include/shared/kern_util.h      |   3 +-
 arch/um/include/shared/os.h             |   3 -
 arch/um/include/shared/ptrace_user.h    |  41 ---------
 arch/um/include/shared/registers.h      |   2 -
 arch/um/kernel/process.c                |  12 +--
 arch/um/kernel/ptrace.c                 |   2 -
 arch/um/kernel/signal.c                 |  12 ---
 arch/um/os-Linux/registers.c            |  20 ----
 arch/um/os-Linux/skas/process.c         | 117 ++++++++----------------
 arch/um/os-Linux/start_up.c             | 111 ++++------------------
 arch/um/os-Linux/util.c                 |  19 +++-
 arch/x86/um/asm/elf.h                   |   4 +-
 arch/x86/um/asm/processor_64.h          |   3 -
 arch/x86/um/os-Linux/Makefile           |   1 -
 arch/x86/um/os-Linux/prctl.c            |  12 ---
 arch/x86/um/ptrace_32.c                 |  24 -----
 arch/x86/um/ptrace_64.c                 |  26 ------
 arch/x86/um/shared/sysdep/ptrace_32.h   |   4 -
 arch/x86/um/shared/sysdep/ptrace_user.h |  12 +--
 arch/x86/um/shared/sysdep/stub_32.h     |  39 ++++----
 arch/x86/um/shared/sysdep/stub_64.h     |  17 ++--
 arch/x86/um/syscalls_64.c               |  62 +++----------
 arch/x86/um/tls_64.c                    |   2 +-
 26 files changed, 159 insertions(+), 445 deletions(-)
 delete mode 100644 arch/x86/um/os-Linux/prctl.c

-- 
2.41.0




More information about the linux-um mailing list