From patchwork Fri Sep 29 10:53:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amir Goldstein X-Patchwork-Id: 9977509 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1654560329 for ; Fri, 29 Sep 2017 10:53:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1847929783 for ; Fri, 29 Sep 2017 10:53:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B53629822; Fri, 29 Sep 2017 10:53:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46BDB29783 for ; Fri, 29 Sep 2017 10:53:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751224AbdI2KxC (ORCPT ); Fri, 29 Sep 2017 06:53:02 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:35497 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750807AbdI2KxB (ORCPT ); Fri, 29 Sep 2017 06:53:01 -0400 Received: by mail-wr0-f196.google.com with SMTP id n64so992004wrb.2 for ; Fri, 29 Sep 2017 03:53:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=o8Bc6lro/0qx3t0dXXDDMsx2cEudum1JNrO4YoSiUyM=; b=I9H7vOpFbQNk2NIExoWyr8DQj7cDYIJlIYA12TVF0pmg9KxSBISCEXZVMMIt5kVs/P lNLeaKebFluO6HLVK+TjlsMxvoTwd4fKjKySvmDfvnrakxiZ1I3TDK0C6/aVVEs6wZ8p 3oPiQkYLaI6JaYyL1ny70wK7VAcdMe3BXFy+PnVOdD46DwYpmwsS3IS0H2N9418djLMQ ZIory0DJV9x9N0wmT0xjc0lIIABvPoeY4opSoHOrVftC78PDpCgswHKbdLz3hmR6GSy5 lBwlK3GQLFXh/p9dvwd/HzFzJ3qpajEWD9MvwzsQ4jsc/tU7O/YXRvpntigMhqoABEWs Rtpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=o8Bc6lro/0qx3t0dXXDDMsx2cEudum1JNrO4YoSiUyM=; b=ftUPnXC73aBJFmtlSLrr/hCm3YLaAxDxOHv1ffjXKGnr7LNBlJfmxZoeRTRcIa9Db+ YAQbrL472ggzaPOpu2hmI5sostZuoviuFZqHDCzFsTwQXLQ7JKsru+8K5+CtR4t3doSO I9F4vSJB57fIDaezedjA9/QC7yQcUZGCx63blSdpse77b8TInnOxv3HbXhMCEtyeGroL AelbDPvNrVegBa1TphTujIeNCOuZiK5Kh/H5LHbfBpXumh5h6Cf77djcmvQjzi4FPELQ fdDlTpXBtacRnbKd8W8x6lqhxyLZaJH2dv48YIkugG5SojNUnoe5vDVmCNsp79l9XhDU u+vA== X-Gm-Message-State: AHPjjUiUFfJSwY+EgYQPO9ZPRYdmKZN1WfzH94DXO/B/etAbHtlrP8xr K6dTsET5u9mLyFrh2RLar+o= X-Google-Smtp-Source: AOwi7QDgux9b7aPDMAfvB0/Id2cbxG/bfjErV+wsA0TAHS1ljD7ProTK4K/byJzwmP/t09Wlxjkr3g== X-Received: by 10.223.187.129 with SMTP id q1mr7760031wrg.239.1506682380204; Fri, 29 Sep 2017 03:53:00 -0700 (PDT) Received: from localhost.localdomain ([141.226.182.168]) by smtp.gmail.com with ESMTPSA id s3sm7062128wrc.24.2017.09.29.03.52.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Sep 2017 03:52:59 -0700 (PDT) From: Amir Goldstein To: Theodore Ts'o Cc: Eric Biggers , Eryu Guan , Vivek Goyal , fstests@vger.kernel.org Subject: [PATCH] kernel-configs: enable namespace support Date: Fri, 29 Sep 2017 13:53:37 +0300 Message-Id: <1506682417-8701-1-git-send-email-amir73il@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP At this time there is only one xfstest that requires namespaces support (overlay/020) and it requires user namespace support. This test fails with default kvm-xfstests configs. Recently, a regression with overlayfs was reported relating to mount ns, so tests that require only mount ns may be needed too. This change re-enables the kernel default namespace support for all kernel configurations and enables user ns support for stable kernels v3.18 and above, where user ns is considered stable and maintained. Signed-off-by: Amir Goldstein --- kernel-configs/i386-config-3.10 | 4 ---- kernel-configs/i386-config-3.14 | 4 ---- kernel-configs/i386-config-3.18 | 5 +---- kernel-configs/i386-config-3.2 | 4 ---- kernel-configs/i386-config-3.4 | 4 ---- kernel-configs/i386-config-4.1 | 5 +---- kernel-configs/i386-config-4.4 | 5 +---- kernel-configs/i386-config-4.9 | 5 +---- kernel-configs/x86_64-config-3.10 | 4 ---- kernel-configs/x86_64-config-3.14 | 4 ---- kernel-configs/x86_64-config-3.18 | 5 +---- kernel-configs/x86_64-config-3.2 | 4 ---- kernel-configs/x86_64-config-3.4 | 4 ---- kernel-configs/x86_64-config-4.1 | 5 +---- kernel-configs/x86_64-config-4.4 | 5 +---- kernel-configs/x86_64-config-4.9 | 5 +---- 16 files changed, 8 insertions(+), 64 deletions(-) diff --git a/kernel-configs/i386-config-3.10 b/kernel-configs/i386-config-3.10 index 20f2e18..0ec01c5 100644 --- a/kernel-configs/i386-config-3.10 +++ b/kernel-configs/i386-config-3.10 @@ -8,10 +8,6 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/i386-config-3.14 b/kernel-configs/i386-config-3.14 index 1bd5159..7270033 100644 --- a/kernel-configs/i386-config-3.14 +++ b/kernel-configs/i386-config-3.14 @@ -8,10 +8,6 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/i386-config-3.18 b/kernel-configs/i386-config-3.18 index d31dcab..119ba1b 100644 --- a/kernel-configs/i386-config-3.18 +++ b/kernel-configs/i386-config-3.18 @@ -8,10 +8,7 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set +CONFIG_USER_NS=y CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/i386-config-3.2 b/kernel-configs/i386-config-3.2 index f098214..a90b672 100644 --- a/kernel-configs/i386-config-3.2 +++ b/kernel-configs/i386-config-3.2 @@ -6,10 +6,6 @@ CONFIG_FHANDLE=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/i386-config-3.4 b/kernel-configs/i386-config-3.4 index 5703598..54224ce 100644 --- a/kernel-configs/i386-config-3.4 +++ b/kernel-configs/i386-config-3.4 @@ -6,10 +6,6 @@ CONFIG_FHANDLE=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/i386-config-4.1 b/kernel-configs/i386-config-4.1 index 2b65848..88d52d5 100644 --- a/kernel-configs/i386-config-4.1 +++ b/kernel-configs/i386-config-4.1 @@ -8,10 +8,7 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set +CONFIG_USER_NS=y CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/i386-config-4.4 b/kernel-configs/i386-config-4.4 index 1f53d44..62854a7 100644 --- a/kernel-configs/i386-config-4.4 +++ b/kernel-configs/i386-config-4.4 @@ -8,10 +8,7 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set +CONFIG_USER_NS=y CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/i386-config-4.9 b/kernel-configs/i386-config-4.9 index 7c8b764..bb26945 100644 --- a/kernel-configs/i386-config-4.9 +++ b/kernel-configs/i386-config-4.9 @@ -7,10 +7,7 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set +CONFIG_USER_NS=y CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/x86_64-config-3.10 b/kernel-configs/x86_64-config-3.10 index cf8216a..a763eed 100644 --- a/kernel-configs/x86_64-config-3.10 +++ b/kernel-configs/x86_64-config-3.10 @@ -7,10 +7,6 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/x86_64-config-3.14 b/kernel-configs/x86_64-config-3.14 index 3a40b3d..a276318 100644 --- a/kernel-configs/x86_64-config-3.14 +++ b/kernel-configs/x86_64-config-3.14 @@ -7,10 +7,6 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/x86_64-config-3.18 b/kernel-configs/x86_64-config-3.18 index 0eaf2cd..6a8afc8 100644 --- a/kernel-configs/x86_64-config-3.18 +++ b/kernel-configs/x86_64-config-3.18 @@ -7,10 +7,7 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set +CONFIG_USER_NS=y CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/x86_64-config-3.2 b/kernel-configs/x86_64-config-3.2 index b92cbcc..64ee6a4 100644 --- a/kernel-configs/x86_64-config-3.2 +++ b/kernel-configs/x86_64-config-3.2 @@ -6,10 +6,6 @@ CONFIG_FHANDLE=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/x86_64-config-3.4 b/kernel-configs/x86_64-config-3.4 index dcf2008..1a24556 100644 --- a/kernel-configs/x86_64-config-3.4 +++ b/kernel-configs/x86_64-config-3.4 @@ -6,10 +6,6 @@ CONFIG_FHANDLE=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/x86_64-config-4.1 b/kernel-configs/x86_64-config-4.1 index 961cf66..c8610d4 100644 --- a/kernel-configs/x86_64-config-4.1 +++ b/kernel-configs/x86_64-config-4.1 @@ -7,10 +7,7 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set +CONFIG_USER_NS=y CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/x86_64-config-4.4 b/kernel-configs/x86_64-config-4.4 index 65d925e..7dfb7b4 100644 --- a/kernel-configs/x86_64-config-4.4 +++ b/kernel-configs/x86_64-config-4.4 @@ -7,10 +7,7 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set +CONFIG_USER_NS=y CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y diff --git a/kernel-configs/x86_64-config-4.9 b/kernel-configs/x86_64-config-4.9 index 66348a3..16e54bc 100644 --- a/kernel-configs/x86_64-config-4.9 +++ b/kernel-configs/x86_64-config-4.9 @@ -6,10 +6,7 @@ CONFIG_HIGH_RES_TIMERS=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_CGROUPS=y -# CONFIG_UTS_NS is not set -# CONFIG_IPC_NS is not set -# CONFIG_PID_NS is not set -# CONFIG_NET_NS is not set +CONFIG_USER_NS=y CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_SLAB=y