lkml.org 
[lkml]   [2020]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 0/8] exec: Control flow simplifications
On Mon, May 18, 2020 at 07:29:00PM -0500, Eric W. Biederman wrote:
> arch/alpha/kernel/binfmt_loader.c | 11 +----
> fs/binfmt_elf.c | 4 +-
> fs/binfmt_elf_fdpic.c | 4 +-
> fs/binfmt_em86.c | 13 +----
> fs/binfmt_misc.c | 69 ++++-----------------------
> fs/binfmt_script.c | 82 ++++++++++++++------------------
> fs/exec.c | 97 ++++++++++++++++++++++++++------------
> include/linux/binfmts.h | 36 ++++++--------
> include/linux/lsm_hook_defs.h | 3 +-
> include/linux/lsm_hooks.h | 52 +++++++++++---------
> include/linux/security.h | 14 ++++--
> kernel/cred.c | 3 ++
> security/apparmor/domain.c | 7 +--
> security/apparmor/include/domain.h | 2 +-
> security/apparmor/lsm.c | 2 +-
> security/commoncap.c | 9 ++--
> security/security.c | 9 +++-
> security/selinux/hooks.c | 8 ++--
> security/smack/smack_lsm.c | 9 ++--
> security/tomoyo/tomoyo.c | 12 ++---
> 20 files changed, 202 insertions(+), 244 deletions(-)

Oh, BTW, heads up on this (trivially but annoyingly) conflicting with
the copy_strings_kernel/copy_string/kernel change:

https://ozlabs.org/~akpm/mmotm/broken-out/exec-simplify-the-copy_strings_kernel-calling-convention.patch

Is it worth pulling that and these into your tree?

https://ozlabs.org/~akpm/mmotm/broken-out/exec-open-code-copy_string_kernel.patch

https://ozlabs.org/~akpm/mmotm/broken-out/umh-fix-refcount-underflow-in-fork_usermode_blob.patch


--
Kees Cook

\
 
 \ /
  Last update: 2020-05-19 23:56    [W:0.485 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site