lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201014084153.170148-1-christian.brauner@ubuntu.com>
Date:   Wed, 14 Oct 2020 10:41:54 +0200
From:   Christian Brauner <christian.brauner@...ntu.com>
To:     Linus Torvalds <torvalds@...ux-foundation.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [GIT PULL] kernel_clone() for v5.10

Hi Linus,

/* Summary */
Here is the kernel_clone() series for v5.10. During the v5.9 merge window we
reworked the process creation codepaths across multiple architectures. After
this work we were only left with the _do_fork() helper based on the struct
kernel_clone_args calling convention. As was pointed out _do_fork() isn't valid
kernelese especially for a helper that isn't just static.

This series removes the _do_fork() helper and introduces the new kernel_clone()
helper. The process creation cleanup didn't change the name to something more
reasonable mainly because _do_fork() was used in quite a few places. So sending
this as a separate series seemed the better strategy.

I originally intended to send this early in the v5.9 development cycle after
the merge window had closed but given that this was touching quite a few places
I decided to defer this until the v5.10 merge window.

The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:

  Linux 5.9-rc1 (2020-08-16 13:04:57 -0700)

are available in the Git repository at:

  git@...olite.kernel.org:pub/scm/linux/kernel/git/brauner/linux tags/kernel-clone-v5.9

for you to fetch changes up to 06fe45634942dc96c316bbb789049a4b0b692542:

  sched: remove _do_fork() (2020-08-20 13:12:59 +0200)

/* Testing */
All patches are based on v5.9-rc1 and have been sitting in linux-next since
then. No build failures or warnings were observed. All old and new tests are
passing.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from linux-next and no merge
conflicts showed up doing a test-merge with current mainline b5fc7a89e58b
("Merge tag 'overflow-v5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux").

Please consider pulling these changes from the signed kernel-clone-v5.9 tag.

Thanks!
Christian

----------------------------------------------------------------
kernel-clone-v5.9

----------------------------------------------------------------
Christian Brauner (11):
      fork: introduce kernel_clone()
      h8300: switch to kernel_clone()
      ia64: switch to kernel_clone()
      m68k: switch to kernel_clone()
      nios2: switch to kernel_clone()
      sparc: switch to kernel_clone()
      x86: switch to kernel_clone()
      kprobes: switch to kernel_clone()
      kgdbts: switch to kernel_clone()
      tracing: switch to kernel_clone()
      sched: remove _do_fork()

 Documentation/trace/histogram.rst                  |  4 +-
 arch/h8300/kernel/process.c                        |  2 +-
 arch/ia64/kernel/process.c                         |  4 +-
 arch/m68k/kernel/process.c                         | 10 ++---
 arch/nios2/kernel/process.c                        |  2 +-
 arch/sparc/kernel/process.c                        |  6 +--
 arch/x86/kernel/sys_ia32.c                         |  2 +-
 drivers/misc/kgdbts.c                              | 48 +++++++++++-----------
 include/linux/sched/task.h                         |  2 +-
 kernel/fork.c                                      | 16 ++++----
 samples/kprobes/kprobe_example.c                   |  6 +--
 samples/kprobes/kretprobe_example.c                |  4 +-
 .../ftrace/test.d/dynevent/add_remove_kprobe.tc    |  2 +-
 .../ftrace/test.d/dynevent/clear_select_events.tc  |  2 +-
 .../ftrace/test.d/dynevent/generic_clear_event.tc  |  2 +-
 .../ftrace/test.d/ftrace/func-filter-stacktrace.tc |  4 +-
 .../ftrace/test.d/kprobe/add_and_remove.tc         |  2 +-
 .../selftests/ftrace/test.d/kprobe/busy_check.tc   |  2 +-
 .../selftests/ftrace/test.d/kprobe/kprobe_args.tc  |  4 +-
 .../ftrace/test.d/kprobe/kprobe_args_comm.tc       |  2 +-
 .../ftrace/test.d/kprobe/kprobe_args_string.tc     |  4 +-
 .../ftrace/test.d/kprobe/kprobe_args_symbol.tc     | 10 ++---
 .../ftrace/test.d/kprobe/kprobe_args_type.tc       |  2 +-
 .../ftrace/test.d/kprobe/kprobe_ftrace.tc          | 14 +++----
 .../ftrace/test.d/kprobe/kprobe_multiprobe.tc      |  2 +-
 .../ftrace/test.d/kprobe/kprobe_syntax_errors.tc   | 12 +++---
 .../ftrace/test.d/kprobe/kretprobe_args.tc         |  4 +-
 .../selftests/ftrace/test.d/kprobe/profile.tc      |  2 +-
 28 files changed, 88 insertions(+), 88 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ