Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp830060lqo; Fri, 17 May 2024 02:56:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUPxrZrcaF7/asfWQELq6SEbVWW1fT/72WcW03Pnm0Rj4ccbMcKKDTqJt+2o8CVTCCt5310MwybvH5ijCifkoAyQhc8jeGeKWDkLSTBOw== X-Google-Smtp-Source: AGHT+IGQr9tZM9gCfrVU9zXamxgxNGCUO8FlC9FYwShS9GoGQHfbtpDgJTeqLbh9GPTrIWeO3icJ X-Received: by 2002:a05:6e02:174c:b0:36c:4457:ca6d with SMTP id e9e14a558f8ab-36cc14e127dmr335490115ab.28.1715939786381; Fri, 17 May 2024 02:56:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715939786; cv=pass; d=google.com; s=arc-20160816; b=m9PzAcwyUkul4+YsSEkOW9DvfIqH7E0ePb6WNYjl423U+2oHRQ3bz9Cc5jLrqUXVEd uZdjCESjj7o8QIfdr4MouI6JnvQd15517lOaVwYaQcRQNFDD1A4rngqGDHQjkOeF+9AO 9QupNgXJvFecaG37l8vbaSZjkTeneyagX4jBMMVQ/8h7fVOEe5GHD/pNgNGwzntR4db9 NH6nl+Wbt/uPsmwMcEzyYql5lUsf21xlxF4CAKFO73qTdQ6zkzIzr//KNQivw6//Eyab NvJ+gTh18r39TDrRUVRX9Gaif/KqS92VS3N9A8YneppL1dDokDvQT2VZn8rZlsVODVDj AvIg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:feedback-id:dkim-signature:dkim-signature; bh=rzLpoh5FVD3LOyLFCdIzkEcNceRgesd/v21Z/l7RZ5E=; fh=+PeIHOPdbzztkqMhZVu46lv8+HInokDfe5PvWVl9zVw=; b=OslGm/aXkIRmTgSg2X4QsMDhswQDigl5LpCgl2Aj6s9z4WEoZ0cBTuYSvpRlv0xSnG ThFzUoAmkZgXo7+3GucpDUckd82Y6IjAG4TkHCp52z5qCWIDhIc8maSed+Uxf8XyBAMQ tDqb0+0QV6MqV6MB9WiE+Vaj1oVTshHP4JkoNM8y9nle3kiBUTFekVUHjXpUoX6OfPxL bRolYpkOXFmE1CZ0pOjMB6Qit+8OV9NtUTfZ+4UmK4NwcbJMQZPPZz6kn5Qzg080o0TM /QF7KJE2vnjds20IkS1sLuyVlVIFMJ3Ro8i3r4mz96FEgTxzZIwJb3bsZ4OZrcpRr8Mv BcPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@3xx0.net header.s=fm1 header.b=SFLGcB5W; dkim=pass header.i=@messagingengine.com header.s=i76614979.fm3 header.b="J76x28/z"; arc=pass (i=1 spf=pass spfdomain=3xx0.net dkim=pass dkdomain=3xx0.net dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=3xx0.net); spf=pass (google.com: domain of linux-kernel+bounces-181961-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181961-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=3xx0.net Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6341404f8desi17887914a12.896.2024.05.17.02.56.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 02:56:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181961-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@3xx0.net header.s=fm1 header.b=SFLGcB5W; dkim=pass header.i=@messagingengine.com header.s=i76614979.fm3 header.b="J76x28/z"; arc=pass (i=1 spf=pass spfdomain=3xx0.net dkim=pass dkdomain=3xx0.net dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=3xx0.net); spf=pass (google.com: domain of linux-kernel+bounces-181961-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181961-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=3xx0.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 02EC1284B88 for ; Fri, 17 May 2024 09:56:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A0743613E; Fri, 17 May 2024 09:56:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=3xx0.net header.i=@3xx0.net header.b="SFLGcB5W"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="J76x28/z" Received: from wflow4-smtp.messagingengine.com (wflow4-smtp.messagingengine.com [64.147.123.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 055CA262A8; Fri, 17 May 2024 09:56:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.139 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715939764; cv=none; b=rTxgAc2ET1L3LM0pSMDgTKZRjhgiqXUotXgx22qL7Falqdkm0/5RiL8n5eiQ05aiqDfrKyIzNH4lE14M5BO1z2JHVWhH4NlqlCPOGqG91Z93PeikZBUjNn0BVkKZDmgU1gmI/R0JBwt2cWSZ8T3dJomzeD5ZDOsXn0ZWYRtAlUU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715939764; c=relaxed/simple; bh=KkGcrkmfBCDmC5wsXf5TmL47hbWnMH6ayavHpq65iaM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uUXoDdhqoJ3NcZNnqWPSGPPo8cfZj80OKv3B+wGSPlbZnJSgLxjZHyLYBO27pXOJhtAx9Yw0OsnupZBeAUtfQQbQjaPzh6QwlMIPpsDavwwpVmjD+1NEgOtjiHaTzysCxnK3kl2EDLw6YnkT8j3ONNFE5JAemcoapIRymk1Cgdk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=3xx0.net; spf=pass smtp.mailfrom=3xx0.net; dkim=pass (2048-bit key) header.d=3xx0.net header.i=@3xx0.net header.b=SFLGcB5W; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=J76x28/z; arc=none smtp.client-ip=64.147.123.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=3xx0.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=3xx0.net Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailflow.west.internal (Postfix) with ESMTP id 308202CC0147; Fri, 17 May 2024 05:55:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Fri, 17 May 2024 05:56:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=3xx0.net; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1715939759; x=1715943359; bh=rzLpoh5FVD 3LOyLFCdIzkEcNceRgesd/v21Z/l7RZ5E=; b=SFLGcB5WertXb1V3m2fi+z4zdU Jp9S90ls3K+H9voIL3aIAJvTxnNjtJnWNCzLTGwdYoRMvNdLQUPAoi53A3ZbmzFN RlE8d1Snpi/dYtx6gH6uWh/wH3uKykEWklZOvuFDMZy9/o1VQ1u/O8XHKYoyzugn PNKksWA0LVq6/Q2MCD7vuymOtGhnnEoIqWWzVGk1sDKavrJIp1v4QAoqpDVmxaMo LSuehCvyvygU0bfbS5KroosGXeBzFTd2dfV2h/w95wS4ghWZ+QT8mX8ekacHbBmG bVlUNhJ5Py3c0QJHeKaGL1DoD2S6Wf1hDEg8jJCPKyAOEf5Zd8lz2BW9eXZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= i76614979.fm3; t=1715939759; x=1715943359; bh=rzLpoh5FVD3LOyLFCd IzkEcNceRgesd/v21Z/l7RZ5E=; b=J76x28/z38Uyk36WUZXKSl0R9o1g4tW23+ JtnPiGE6MbZgwvdz6mfgHIEWv8388bFiJkRd2c16WvW6fEqe8sUpcmbqBODF1uFY eeTIYBjuqbDDoX32oeXKr75JT++SadWSHuS99rk21COe4YdU/lKTw8K+eyDpknRr iz+aN4cHZGX8NvVtu3eVKEn7WNC71wiKzKRdvpr5FmtEtfxmhc94xpcXnmoNOBYF WviHE/W0ubivbnhaj4fgvYQSmuQL1jxMmelMgA3//R6WaDgu41IEGAi5paEhbS2A NGpaB3RPwBHmGBkJaygKFl07N6z9pb/BgAx+9ncpIGegZG+cmBMQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdehfedgjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtsfdttddtjeenucfhrhhomheplfhonhgr thhhrghnucevrghlmhgvlhhsuceojhgtrghlmhgvlhhsseefgiigtddrnhgvtheqnecugg ftrfgrthhtvghrnhepkeekteegfefgvdefgfefffeufeffjedvudeijeehjeehffekjeek leffueelgffgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepjhgtrghlmhgvlhhsseefgiigtddrnhgvth X-ME-Proxy: Feedback-ID: i76614979:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 May 2024 05:55:57 -0400 (EDT) Date: Fri, 17 May 2024 03:00:58 -0700 From: Jonathan Calmels To: Jarkko Sakkinen Cc: Ben Boeckel , brauner@kernel.org, ebiederm@xmission.com, Luis Chamberlain , Kees Cook , Joel Granados , Serge Hallyn , Paul Moore , James Morris , David Howells , containers@lists.linux.dev, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org Subject: Re: [PATCH 0/3] Introduce user namespace capabilities Message-ID: References: <20240516092213.6799-1-jcalmels@3xx0.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Thu, May 16, 2024 at 04:36:07PM GMT, Jarkko Sakkinen wrote: > On Thu May 16, 2024 at 4:30 PM EEST, Ben Boeckel wrote: > > I note a lack of any changes to `Documentation/` which seems quite > > glaring for something with such a userspace visibility aspect to it. > > > > --Ben > > Yeah, also in cover letter it would be nice to refresh what is > a bounding set. I had to xref that (recalled what it is), and > then got bored reading the rest :-) Thanks for reminding me, I actually meant to do it, just forgot. Having said that, `Documentation/security/credentials.rst` is not the best documention when it comes to capabilities. I will definitely add few more lines in there, but it's probably not what you're looking for. capabilities(7) is where everything is explained, I should have mentioned it. I could try to summarize the existing sets, but honestly I will probably do a worse job than the man page. I do plan to update the man page though if it comes to that.