LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [GIT PULL] exit cleanups for v5.15-rc1
@ 2021-08-31 17:25 Eric W. Biederman
  2021-08-31 18:55 ` Eric W. Biederman
  2021-09-01 22:44 ` pr-tracker-bot
  0 siblings, 2 replies; 3+ messages in thread
From: Eric W. Biederman @ 2021-08-31 17:25 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Michael Schmitz, Geert Uytterhoeven, Arnd Bergmann,
	Cyril Hrubis, Kees Cook


Please pull the exit-cleanups-for-v5.15 branch from the git tree:

  git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git exit-cleanups-for-v5.15

  HEAD: d21918e5a94a862ccb297b9f2be38574c865fda0 signal/seccomp: Dump core when there is only one live thread

In preparation of doing something about PTRACE_EVENT_EXIT I have started
cleaning up various pieces of code related to do_exit.  Most of that
code I did not manage to get tested and reviewed before the merge window
opened but a handful of very useful cleanups are ready to be merged.

The first change is simply the removal of the bdflush system call.  The
code has now been disabled long enough that even the oldest userspace
working userspace setups anyone can find to test are fine with the
bdflush system call being removed.

Changing m68k fsp040_die to use force_sigsegv(SIGSEGV) instead of
calling do_exit directly is interesting only in that it is nearly the
most difficult of the incorrect uses of do_exit to remove.

The change to the seccomp code to simply send a signal instead of
calling do_coredump directly is a very nice little cleanup made possible
by realizing the existing signal sending helpers were missing a little
bit of functionality that is easy to provide.

Eric W. Biederman (4):
      exit/bdflush: Remove the deprecated bdflush system call
      signal/m68k: Use force_sigsegv(SIGSEGV) in fpsp040_die
      signal/seccomp: Refactor seccomp signal and coredump generation
      signal/seccomp: Dump core when there is only one live thread

 arch/alpha/kernel/syscalls/syscall.tbl             |  2 +-
 arch/arm/tools/syscall.tbl                         |  2 +-
 arch/arm64/include/asm/unistd32.h                  |  2 +-
 arch/ia64/kernel/syscalls/syscall.tbl              |  2 +-
 arch/m68k/fpsp040/skeleton.S                       |  3 +-
 arch/m68k/kernel/syscalls/syscall.tbl              |  2 +-
 arch/m68k/kernel/traps.c                           |  2 +-
 arch/microblaze/kernel/syscalls/syscall.tbl        |  2 +-
 arch/mips/kernel/syscalls/syscall_o32.tbl          |  2 +-
 arch/parisc/kernel/syscalls/syscall.tbl            |  2 +-
 arch/powerpc/kernel/syscalls/syscall.tbl           |  2 +-
 arch/s390/kernel/syscalls/syscall.tbl              |  2 +-
 arch/sh/kernel/syscalls/syscall.tbl                |  2 +-
 arch/sparc/kernel/syscalls/syscall.tbl             |  2 +-
 arch/x86/entry/syscalls/syscall_32.tbl             |  2 +-
 arch/xtensa/kernel/syscalls/syscall.tbl            |  2 +-
 fs/buffer.c                                        | 27 --------------
 include/linux/sched/signal.h                       |  1 +
 include/linux/syscalls.h                           |  1 -
 include/uapi/linux/capability.h                    |  1 -
 kernel/seccomp.c                                   | 42 ++++------------------
 kernel/signal.c                                    | 30 +++++++++++++---
 kernel/sys_ni.c                                    |  1 -
 tools/perf/arch/powerpc/entry/syscalls/syscall.tbl |  2 +-
 tools/perf/arch/s390/entry/syscalls/syscall.tbl    |  2 +-
 25 files changed, 53 insertions(+), 87 deletions(-)

Eric

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] exit cleanups for v5.15-rc1
  2021-08-31 17:25 [GIT PULL] exit cleanups for v5.15-rc1 Eric W. Biederman
@ 2021-08-31 18:55 ` Eric W. Biederman
  2021-09-01 22:44 ` pr-tracker-bot
  1 sibling, 0 replies; 3+ messages in thread
From: Eric W. Biederman @ 2021-08-31 18:55 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Michael Schmitz, Geert Uytterhoeven, Arnd Bergmann,
	Cyril Hrubis, Kees Cook

ebiederm@xmission.com (Eric W. Biederman) writes:

> Please pull the exit-cleanups-for-v5.15 branch from the git tree:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git exit-cleanups-for-v5.15
>
>   HEAD: d21918e5a94a862ccb297b9f2be38574c865fda0 signal/seccomp: Dump core when there is only one live thread
>

I failed to mention this pull request has a minor conflict with my
previous pull request.  They both want to add a declaration to the same
place in include/linux/sched/signal.h

Eric

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] exit cleanups for v5.15-rc1
  2021-08-31 17:25 [GIT PULL] exit cleanups for v5.15-rc1 Eric W. Biederman
  2021-08-31 18:55 ` Eric W. Biederman
@ 2021-09-01 22:44 ` pr-tracker-bot
  1 sibling, 0 replies; 3+ messages in thread
From: pr-tracker-bot @ 2021-09-01 22:44 UTC (permalink / raw)
  To: Eric W. Biederman
  Cc: Linus Torvalds, linux-kernel, Michael Schmitz,
	Geert Uytterhoeven, Arnd Bergmann, Cyril Hrubis, Kees Cook

The pull request you sent on Tue, 31 Aug 2021 12:25:24 -0500:

> git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git exit-cleanups-for-v5.15

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/bcfeebbff3627093014c7948aec9cc4730e50c3d

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-01 22:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-31 17:25 [GIT PULL] exit cleanups for v5.15-rc1 Eric W. Biederman
2021-08-31 18:55 ` Eric W. Biederman
2021-09-01 22:44 ` pr-tracker-bot

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 NNTP newsgroup(s).