Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965897AbcCPJZT (ORCPT ); Wed, 16 Mar 2016 05:25:19 -0400 Received: from cn.fujitsu.com ([59.151.112.132]:60092 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752659AbcCPJZO (ORCPT ); Wed, 16 Mar 2016 05:25:14 -0400 X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="4635930" From: Zhao Lei To: , Mateusz Guzik CC: , Zhao Lei Subject: [PATCH 0/2] Make core_pattern support namespace Date: Wed, 16 Mar 2016 17:23:17 +0800 Message-ID: X-Mailer: git-send-email 1.8.5.1 MIME-Version: 1.0 Content-Type: text/plain X-yoursite-MailScanner-ID: 9780B42B4B10.A171F X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: zhaolei@cn.fujitsu.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1024 Lines: 32 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 1/2], I send the origional patch with it. Zhao Lei (2): Run dump pipe in container's namespace Make core_pattern support namespace arch/x86/kernel/process_32.c | 5 +-- arch/x86/kernel/process_64.c | 5 +-- fs/coredump.c | 79 +++++++++++++++++++++++++------------------ include/linux/pid_namespace.h | 2 ++ include/linux/sched.h | 5 +-- kernel/fork.c | 24 +++++++------ kernel/pid.c | 1 + kernel/pid_namespace.c | 3 ++ kernel/sysctl.c | 22 ++++++++---- 9 files changed, 92 insertions(+), 54 deletions(-) -- 1.8.5.1