Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1252200ybl; Wed, 21 Aug 2019 12:23:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBK7TgokE0XXF0QyQKH5+o/HJ3j+N97AIns1os4Aq7HLH2rmJCXF4OvSBoa8IXNR+iwOzn X-Received: by 2002:a17:90a:24cc:: with SMTP id i70mr1681401pje.12.1566415418122; Wed, 21 Aug 2019 12:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566415418; cv=none; d=google.com; s=arc-20160816; b=kqU2cCnPF43EZGBVjPKxff1a545JwJ4QjCO54EU6sYk6R1J1sTTk398TKQDU26tL2Z ouwxXk0roWzj7E5UeVzzntstb0FCVFlz8hGAC9Eta14gY2r2p858sdglqpZnoW6maOUI Zi1kfiiHwPB/Culaw0OS0xLrkRF2CPnzMX5BRLbZIfPaZizB4+03d6razhsXCpiNHZfO +u19uDD11bN38mu66ff6W9uS51+QqSuFWcmEnrb3vi7UBqw4lCQzEEE8Apbm9L6jBlJB sdGKKJCqqFVjUPOZKD5tP3nUse38gw2FWRa8GRxLUwfnPKZrUeh6pk51RgDosDcxylzC 4Jqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-transfer-encoding :content-id:mime-version:subject:cc:to:references:in-reply-to:from :organization; bh=gBcl/EPMWMR1nINwBTH8slqp+Hp2dAtY5hTmh3AqUCY=; b=yJVViKtttGLkQbyCMaF2USjl4Iw5OqCtFVieAUy60MP2bmGN/yKDeEWvo4lm5jBOb5 d6/xb1uPBfsVLfNNGR+YJv3aeMyt8+IBUL4QHOye2i331x+6TfQujNPykORTZnlnL9a+ XlHUAP/P4kaH4jTWZfzIjAQYr8YSBx8NhngEzvw6WOdffVM5oXUwHpTvGyQaU6C4gdB9 5TCSDHGSOXqmO9VKqDIaghxI+WGoiDUPcFmCUl5e9WL5cQxwn9/gQfI0fE50F1vcPQiN Fq2ZPPfBBuBkiGWaZdiFVudYsSBuC+ARbykyJ+62HGjTzZ8C78o7JgTKfFpEfEOV4uX4 byIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v201si14921578pgb.394.2019.08.21.12.23.15; Wed, 21 Aug 2019 12:23:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729414AbfHUTWo convert rfc822-to-8bit (ORCPT + 99 others); Wed, 21 Aug 2019 15:22:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34116 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727998AbfHUTWn (ORCPT ); Wed, 21 Aug 2019 15:22:43 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F0F5630833CB; Wed, 21 Aug 2019 19:22:42 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-255.rdu2.redhat.com [10.10.120.255]) by smtp.corp.redhat.com (Postfix) with ESMTP id C53C04513; Wed, 21 Aug 2019 19:22:39 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <1566402203.5162.12.camel@linux.ibm.com> References: <1566402203.5162.12.camel@linux.ibm.com> <1562814435.4014.11.camel@linux.ibm.com> <28477.1562362239@warthog.procyon.org.uk> <20190710194620.GA83443@gmail.com> <20190710201552.GB83443@gmail.com> <23498.1565962602@warthog.procyon.org.uk> To: Mimi Zohar Cc: dhowells@redhat.com, Linus Torvalds , James Morris , keyrings@vger.kernel.org, Netdev , linux-nfs@vger.kernel.org, CIFS , linux-afs@lists.infradead.org, linux-fsdevel , linux-integrity@vger.kernel.org, LSM List , Linux List Kernel Mailing Subject: Re: [GIT PULL] Keys: Set 4 - Key ACLs for 5.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19087.1566415359.1@warthog.procyon.org.uk> Content-Transfer-Encoding: 8BIT Date: Wed, 21 Aug 2019 20:22:39 +0100 Message-ID: <19088.1566415359@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Wed, 21 Aug 2019 19:22:43 +0000 (UTC) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org I added a bunch of tests to the keyutils testsuite, currently on my -next branch: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/log/?h=next See: Add a keyctl command for granting a permit on a key Handle kernel having key/keyring ACLs I've added manpages to describe the new bits, but I wonder whether I should add a manpage specifically to detail the permissions system. It'll probably be useful when more advanced subjects become available, such as for specific UIDs and for containers-as-a-whole. David