From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED9E2C4363D for ; Thu, 24 Sep 2020 19:14:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 957A521D91 for ; Thu, 24 Sep 2020 19:14:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="hUuL9B2L" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728707AbgIXTOW (ORCPT ); Thu, 24 Sep 2020 15:14:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726841AbgIXTOW (ORCPT ); Thu, 24 Sep 2020 15:14:22 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49F0FC0613D3 for ; Thu, 24 Sep 2020 12:14:22 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id kk9so265179pjb.2 for ; Thu, 24 Sep 2020 12:14:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nYNQfolVzk1vZsWuLLwjSWbS4j2EWyO6uHCWvWRZVeg=; b=hUuL9B2LljZoDiYX/vccdvchsfVW3zD0frsCzdluTXClpc8C2HXET+CAJvamf8MLKq QFr9vs2aHQNF5XdI/+Bv2dvZtzG8BKQrL9vMYaLUbZqz/gjss7JyVTBH0Mqt5be7chwc g3EHPYVjMh1V4WMwfy14LT7tos0fxp4yVfkVQ= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=nYNQfolVzk1vZsWuLLwjSWbS4j2EWyO6uHCWvWRZVeg=; b=DXnWWZ8z2WYRXo9LaPgSXpQZrsHDuYl9NXt54dpNOf6cfqdS9/3x0UdvTeFYI7mHuY 0C39fBoCBk0akapFB/8FU7DyUYyCj0IA7Q8/xPAXAEpAB/YWUEcJIX5xDPEcK9rEB0hm z9J/e2f8ExCnLoGKdRQ9u2JRamKoHgN6I8pP+bJqY4IyIACsjHoDSUc+hqrgTsgjcTzr VJdsT0bKUhwplu3uJweI3Mb5TEMBGhTUk6qHkp8EMaQ6ncxkxj6w/EdAVh1oblaiAq6R bi7h7/8dCJglWU4GNE6ed86YB2b/RtECdpaxwvZ+Te6k7aZnUiN0jGvSXT07LUQgPQJa sCXQ== X-Gm-Message-State: AOAM533qBo4e44E/aZZaOtPUEF4JxSWyAQPU/FJPRcpOTFF5BYQ3M6M+ TdqmNgc3x5O5rRZWddj6eeIS+A== X-Google-Smtp-Source: ABdhPJzCOkXIw+4aHc3ITiPqTIKrHpD3nBHPrufYSJk0Eo6cGU3fq7XJIKl/Iks+YT9V1uuYNnr2ag== X-Received: by 2002:a17:90a:178e:: with SMTP id q14mr415155pja.154.1600974861729; Thu, 24 Sep 2020 12:14:21 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id m25sm249209pfa.32.2020.09.24.12.14.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Sep 2020 12:14:20 -0700 (PDT) From: Kees Cook To: containers@lists.linux-foundation.org, YiFei Zhu Cc: Kees Cook , Tycho Andersen , Valentin Rothberg , Aleksa Sarai , Giuseppe Scrivano , Jann Horn , Tobin Feldman-Fitzthum , Josep Torrellas , Tianyin Xu , Hubertus Franke , linux-kernel@vger.kernel.org, bpf@vger.kernel.org, YiFei Zhu , Dimitrios Skarlatos , Jack Chen , Andrea Arcangeli , Andy Lutomirski , Will Drewry Subject: Re: [PATCH v2 seccomp 1/6] seccomp: Move config option SECCOMP to arch/Kconfig Date: Thu, 24 Sep 2020 12:11:28 -0700 Message-Id: <160097467791.3774715.6342246806292251250.b4-ty@chromium.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <9ede6ef35c847e58d61e476c6a39540520066613.1600951211.git.yifeifz2@illinois.edu> References: <9ede6ef35c847e58d61e476c6a39540520066613.1600951211.git.yifeifz2@illinois.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 24 Sep 2020 07:44:15 -0500, YiFei Zhu wrote: > In order to make adding configurable features into seccomp > easier, it's better to have the options at one single location, > considering easpecially that the bulk of seccomp code is > arch-independent. An quick look also show that many SECCOMP > descriptions are outdated; they talk about /proc rather than > prctl. > > As a result of moving the config option and keeping it default > on, architectures arm, arm64, csky, riscv, sh, and xtensa > did not have SECCOMP on by default prior to this and SECCOMP will > be default in this change. > > Architectures microblaze, mips, powerpc, s390, sh, and sparc > have an outdated depend on PROC_FS and this dependency is removed > in this change. > > Suggested-by: Jann Horn > Link: https://lore.kernel.org/lkml/CAG48ez1YWz9cnp08UZgeieYRhHdqh-ch7aNwc4JRBnGyrmgfMg@mail.gmail.com/ > Signed-off-by: YiFei Zhu > [...] Yes; I've been meaning to do this for a while now. Thank you! I tweaked the help text a bit. Applied, thanks! [1/1] seccomp: Move config option SECCOMP to arch/Kconfig https://git.kernel.org/kees/c/c3c9c2df3636 -- Kees Cook