linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Kees Cook <keescook@chromium.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org,
	Alexander Viro <viro@zeniv.linux.org.uk>,
	Alexey Dobriyan <adobriyan@gmail.com>,
	Alexey Izbyshev <izbyshev@ispras.ru>,
	Andrei Vagin <avagin@gmail.com>,
	Bernd Edlinger <bernd.edlinger@hotmail.de>,
	Bo Liu <liubo03@inspur.com>,
	Christian Brauner <brauner@kernel.org>,
	David Hildenbrand <david@redhat.com>,
	Dmitry Safonov <0x7f454c46@gmail.com>,
	Eric Biederman <ebiederm@xmission.com>,
	Florian Weimer <fweimer@redhat.com>,
	Kees Cook <keescook@chromium.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	linux-fsdevel@vger.kernel.org, linux-mm@kvack.org,
	Liu Shixin <liushixin2@huawei.com>,
	Li Zetao <lizetao1@huawei.com>, Rolf Eike Beer <eb@emlix.com>,
	Wang Yufen <wangyufen@huawei.com>
Subject: [GIT PULL] execve updates for v6.2-rc1
Date: Mon, 5 Dec 2022 16:41:23 -0800	[thread overview]
Message-ID: <202212051637.93142F409@keescook> (raw)

Hi Linus,

Please pull these execve updates for v6.2-rc1. Most are small
refactorings and bug fixes, but three things stand out: switching timens
(which got reverted before) looks solid now, FOLL_FORCE has been removed
(no failures seen yet across several weeks in -next), and some
whitespace cleanups (which are long overdue). The latter does end up
conflicting with changes from Al[1], but should be trivial to resolve.

Thanks!

-Kees

[1] https://lore.kernel.org/linux-next/20221128143704.3fe8f7b1@canb.auug.org.au/

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/execve-v6.2-rc1

for you to fetch changes up to 6a46bf558803dd2b959ca7435a5c143efe837217:

  binfmt_misc: fix shift-out-of-bounds in check_special_flags (2022-12-02 13:57:04 -0800)

----------------------------------------------------------------
execve updates for v6.2-rc1

- Add timens support (when switching mm). This version has survived
  in -next for the entire cycle (Andrei Vagin).

- Various small bug fixes, refactoring, and readability improvements
  (Bernd Edlinger, Rolf Eike Beer, Bo Liu, Li Zetao Liu Shixin).

- Remove FOLL_FORCE for stack setup (Kees Cook).

- Whilespace cleanups (Rolf Eike Beer, Kees Cook).

----------------------------------------------------------------
Andrei Vagin (2):
      fs/exec: switch timens when a task gets a new mm
      selftests/timens: add a test for vfork+exit

Bernd Edlinger (1):
      exec: Copy oldsighand->action under spin-lock

Bo Liu (1):
      binfmt_elf: replace IS_ERR() with IS_ERR_VALUE()

Kees Cook (3):
      exec: Add comments on check_unsafe_exec() fs counting
      binfmt: Fix whitespace issues
      exec: Remove FOLL_FORCE for stack setup

Li Zetao (1):
      fs/binfmt_elf: Fix memory leak in load_elf_binary()

Liu Shixin (1):
      binfmt_misc: fix shift-out-of-bounds in check_special_flags

Rolf Eike Beer (4):
      ELF uapi: add spaces before '{'
      exec: simplify initial stack size expansion
      binfmt_elf: fix documented return value for load_elf_phdrs()
      binfmt_elf: simplify error handling in load_elf_phdrs()

Wang Yufen (1):
      binfmt: Fix error return code in load_elf_fdpic_binary()

 fs/binfmt_elf.c                             |  35 +++----
 fs/binfmt_elf_fdpic.c                       |   7 +-
 fs/binfmt_misc.c                            |   8 +-
 fs/exec.c                                   |  38 +++++---
 include/linux/nsproxy.h                     |   1 +
 include/uapi/linux/elf.h                    |  14 +--
 kernel/fork.c                               |   9 --
 kernel/nsproxy.c                            |  23 ++++-
 tools/testing/selftests/timens/.gitignore   |   1 +
 tools/testing/selftests/timens/Makefile     |   2 +-
 tools/testing/selftests/timens/vfork_exec.c | 139 ++++++++++++++++++++++++++++
 11 files changed, 219 insertions(+), 58 deletions(-)
 create mode 100644 tools/testing/selftests/timens/vfork_exec.c

-- 
Kees Cook


             reply	other threads:[~2022-12-06  0:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-06  0:41 Kees Cook [this message]
2022-12-12 17:33 ` [GIT PULL] execve updates for v6.2-rc1 pr-tracker-bot

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=202212051637.93142F409@keescook \
    --to=keescook@chromium.org \
    --cc=0x7f454c46@gmail.com \
    --cc=adobriyan@gmail.com \
    --cc=avagin@gmail.com \
    --cc=bernd.edlinger@hotmail.de \
    --cc=brauner@kernel.org \
    --cc=david@redhat.com \
    --cc=eb@emlix.com \
    --cc=ebiederm@xmission.com \
    --cc=fweimer@redhat.com \
    --cc=izbyshev@ispras.ru \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=liubo03@inspur.com \
    --cc=liushixin2@huawei.com \
    --cc=lizetao1@huawei.com \
    --cc=torvalds@linux-foundation.org \
    --cc=viro@zeniv.linux.org.uk \
    --cc=wangyufen@huawei.com \
    /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 NNTP newsgroup(s).