linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: benjamin@sipsolutions.net
To: linux-um@lists.infradead.org
Cc: Benjamin Berg <benjamin@sipsolutions.net>
Subject: [PATCH v3 00/11] General cleanups and fixes from SECCOMP patchset
Date: Fri, 10 Nov 2023 12:03:37 +0100	[thread overview]
Message-ID: <20231110110348.1815612-1-benjamin@sipsolutions.net> (raw)

From: Benjamin Berg <benjamin@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


_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um

             reply	other threads:[~2023-11-10 11:04 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-10 11:03 benjamin [this message]
2023-11-10 11:03 ` [PATCH v3 01/11] um: Drop support for hosts without SYSEMU_SINGLESTEP support benjamin
2023-11-10 11:03 ` [PATCH v3 02/11] um: Drop NULL check from start_userspace benjamin
2023-11-10 11:03 ` [PATCH v3 03/11] um: Make errors to stop ptraced child fatal during startup benjamin
2023-11-10 11:03 ` [PATCH v3 04/11] um: Don't use vfprintf() for os_info() benjamin
2024-01-04 22:37   ` Richard Weinberger
2024-01-05  8:12     ` Benjamin Berg
2024-01-05  8:56       ` Johannes Berg
2024-01-05  9:16         ` Richard Weinberger
2023-11-10 11:03 ` [PATCH v3 05/11] um: Do not use printk in SIGWINCH helper thread benjamin
2023-11-10 11:03 ` [PATCH v3 06/11] um: Reap winch thread if it fails benjamin
2023-11-10 11:03 ` [PATCH v3 07/11] um: Do not use printk in userspace trampoline benjamin
2023-11-10 11:03 ` [PATCH v3 08/11] um: Always inline stub functions benjamin
2023-11-10 11:03 ` [PATCH v3 09/11] um: Rely on PTRACE_SETREGSET to set FS/GS base registers benjamin
2024-01-04 23:05   ` Richard Weinberger
2024-01-04 23:34     ` Richard Weinberger
2024-01-05  9:54     ` Benjamin Berg
2024-01-05 13:29       ` Richard Weinberger
2023-11-10 11:03 ` [PATCH v3 10/11] um: Remove unused register save/restore functions benjamin
2023-11-10 11:03 ` [PATCH v3 11/11] um: Mark 32bit syscall helpers as clobbering memory benjamin

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=20231110110348.1815612-1-benjamin@sipsolutions.net \
    --to=benjamin@sipsolutions.net \
    --cc=linux-um@lists.infradead.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 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 read-only IMAP folder(s) and NNTP newsgroup(s).