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: <cover.1458305141.git.zhaolei@cn.fujitsu.com>
Date:	Fri, 18 Mar 2016 20:48:32 +0800
From:	Zhao Lei <zhaolei@...fujitsu.com>
To:	<linux-kernel@...r.kernel.org>
CC:	<containers@...ts.linux-foundation.org>,
	"Eric W. Biederman" <ebiederm@...ssion.com>,
	Mateusz Guzik <mguzik@...hat.com>,
	Zhao Lei <zhaolei@...fujitsu.com>
Subject: [PATCH v2 0/3] Make core_pattern support namespace

We discussed patch titled:
 [PATCH] Make core_pattern support namespace
before.

Above patch can solve half problem of custom core_dump pattern
in container, but there are also another problem that limit
custom core_pattern in container, it is the pipe-type core_pattern
will write core dump into host's filesystem.
(See discussion of that patch for detail)

Now we can solve the second problem by [PATCH 2/3], I send
the origional patch with it.

Changelog v1->v2:
1: Fix compile fail in xtensa which is reported by
   kbuild test robot <lkp@...el.com>
2: Use a wapper to avoid calling _do_fork() outside kernel/fork.c,
   suggested by: Kamezawa Hiroyuki <kamezawa.hiroyu@...fujitsu.com>

Zhao Lei (3):
  Make _do_fork support return to caller's code
  Run dump pipe in container's namespace
  Make core_pattern support namespace

 arch/alpha/kernel/process.c         |  4 +-
 arch/arc/kernel/process.c           |  4 +-
 arch/arm/kernel/process.c           |  4 +-
 arch/arm64/kernel/process.c         |  5 ++-
 arch/avr32/kernel/process.c         |  5 ++-
 arch/blackfin/kernel/process.c      |  5 ++-
 arch/c6x/kernel/process.c           |  5 ++-
 arch/cris/arch-v10/kernel/process.c |  4 +-
 arch/cris/arch-v32/kernel/process.c |  4 +-
 arch/frv/kernel/process.c           |  4 +-
 arch/h8300/kernel/process.c         |  4 +-
 arch/hexagon/kernel/process.c       |  4 +-
 arch/ia64/kernel/process.c          |  4 +-
 arch/m32r/kernel/process.c          |  4 +-
 arch/m68k/kernel/process.c          |  4 +-
 arch/metag/kernel/process.c         |  5 ++-
 arch/microblaze/kernel/process.c    |  4 +-
 arch/mips/kernel/process.c          |  4 +-
 arch/mn10300/kernel/process.c       |  4 +-
 arch/nios2/kernel/process.c         |  5 ++-
 arch/openrisc/kernel/process.c      |  4 +-
 arch/parisc/kernel/process.c        |  5 ++-
 arch/powerpc/kernel/process.c       |  5 ++-
 arch/s390/kernel/process.c          |  4 +-
 arch/score/kernel/process.c         |  4 +-
 arch/sh/kernel/process_32.c         |  4 +-
 arch/sh/kernel/process_64.c         |  4 +-
 arch/sparc/kernel/process_32.c      |  4 +-
 arch/sparc/kernel/process_64.c      |  4 +-
 arch/tile/kernel/process.c          |  4 +-
 arch/um/kernel/process.c            | 22 ++++++-----
 arch/unicore32/kernel/process.c     |  4 +-
 arch/x86/kernel/process_32.c        |  5 ++-
 arch/x86/kernel/process_64.c        |  5 ++-
 arch/xtensa/kernel/process.c        |  5 ++-
 fs/coredump.c                       | 79 ++++++++++++++++++++++---------------
 include/linux/pid_namespace.h       |  2 +
 include/linux/sched.h               | 12 +++---
 kernel/fork.c                       | 30 +++++++++-----
 kernel/pid.c                        |  1 +
 kernel/pid_namespace.c              |  3 ++
 kernel/sysctl.c                     | 22 ++++++++---
 42 files changed, 187 insertions(+), 131 deletions(-)

-- 
1.8.5.1



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ