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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 A02C9C433E1 for ; Thu, 27 Aug 2020 20:20:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 819CB20786 for ; Thu, 27 Aug 2020 20:20:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726825AbgH0UUM (ORCPT ); Thu, 27 Aug 2020 16:20:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726120AbgH0UUM (ORCPT ); Thu, 27 Aug 2020 16:20:12 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39DF4C061264 for ; Thu, 27 Aug 2020 13:20:12 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 0247912737DC2; Thu, 27 Aug 2020 13:03:24 -0700 (PDT) Date: Thu, 27 Aug 2020 13:20:10 -0700 (PDT) Message-Id: <20200827.132010.1826967607816087414.davem@davemloft.net> To: antony.antony@secunet.com Cc: steffen.klassert@secunet.com, netdev@vger.kernel.org, herbert@gondor.apana.org.au, smueller@chronox.de, antony@phenome.org Subject: Re: [PATCH ipsec-next v3] xfrm: add /proc/sys/core/net/xfrm_redact_secret From: David Miller In-Reply-To: <20200827201536.GB11789@moon.secunet.de> References: <20200820.154222.114300229292925699.davem@davemloft.net> <20200824060038.GA24035@moon.secunet.de> <20200827201536.GB11789@moon.secunet.de> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 27 Aug 2020 13:03:25 -0700 (PDT) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Antony Antony Date: Thu, 27 Aug 2020 22:15:36 +0200 > If there is a way to set lockdown per net namespace it would be > better than /proc/sys/core/net/xfrm_redact_secret. Lockmode is a whole system attribute. As should any facility that restricts access to keying information stored inside of the kernel.