Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2323713ybe; Tue, 3 Sep 2019 11:08:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxf2mGyING/aeASFDpz80IcCZcYEKVTFxANBKVNW81869njknTpIxVKRg6/2jQu2gGK0r59 X-Received: by 2002:a62:f208:: with SMTP id m8mr40466888pfh.108.1567534081568; Tue, 03 Sep 2019 11:08:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567534081; cv=none; d=google.com; s=arc-20160816; b=OzSPIqBK1ZRF8NTW/Rhg5VHk/8BvRoqqQnra+aN0Z5dEb27ijFLetBDDrusd3LvFr7 h3mmIHnyrFL9ePvUkLin4S/vY3XWAko8sz8/6h28/qgtiArbnCCvkzekV9mTUu53zx/4 B96QIxXEpSgvIOKDh6OGkY4aIMjVo3jrCyJCPsF6mCesXlzK/QeQQUMFG3bYfBGYVSRP MqrXCLSYk0BL2DhiFRULVBdMLYMljQ3i2k3zfNwnZTTmatiOF9aR5wWfC5hyP2p1zl8q 5fcqOur6jXzC7J1K0uOCV2tEW7YLrDYryRTKAer0OKuTQF459i4anwIKzV95ik9/pnuL 01Jw== 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-id:mime-version :subject:cc:to:references:in-reply-to:from:organization; bh=DgCxLfwmNrTzdk/btLcXbSaVeg4/OOSuNRL8Q1APrj0=; b=qmO8JSSe1fGChXaRlXOYJV7VZLiUcD5GDG3Jr58tNQbFfIsNJhX6RRNZN+Gdabm3cX G0gGlnoF6mzOpkswht7VnAjcHINkTFHjVfhZZojOby58s9iQjgeE3cMmvkAvmhkk1Fvj SlEqZZxaifPr0KgsB6++lo+3gxUCFEd9/qQRp9o/5oeBDo/nA12gCgzPyLZJfn8m46cI RLQTp2RsNLn+Mu6IlBhjlvGIDHDywX7BzaxkUJ4orOptYiO/cAfkJUIJvo0WXWolrDYp e4lwbB6dhqr7FwhsBfWfKD/0eYAaRKpc9Frp4aQIbx7Ce4X6XFXiXQgsxiWWO8g868EF Qarw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 x21si15252611plm.42.2019.09.03.11.07.46; Tue, 03 Sep 2019 11:08:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1730158AbfICSG6 (ORCPT + 99 others); Tue, 3 Sep 2019 14:06:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39078 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727352AbfICSG6 (ORCPT ); Tue, 3 Sep 2019 14:06:58 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 29D478535D; Tue, 3 Sep 2019 18:06:58 +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 3418360126; Tue, 3 Sep 2019 18:06:55 +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: <87bf0363-af77-1e5a-961f-72730e39e3a6@schaufler-ca.com> References: <87bf0363-af77-1e5a-961f-72730e39e3a6@schaufler-ca.com> <156717343223.2204.15875738850129174524.stgit@warthog.procyon.org.uk> <156717352917.2204.17206219813087348132.stgit@warthog.procyon.org.uk> <4910.1567525310@warthog.procyon.org.uk> To: Casey Schaufler Cc: dhowells@redhat.com, viro@zeniv.linux.org.uk, Stephen Smalley , Greg Kroah-Hartman , nicolas.dichtel@6wind.com, raven@themaw.net, Christian Brauner , keyrings@vger.kernel.org, linux-usb@vger.kernel.org, linux-security-module@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 11/11] smack: Implement the watch_key and post_notification hooks [untested] [ver #7] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11466.1567534014.1@warthog.procyon.org.uk> Date: Tue, 03 Sep 2019 19:06:54 +0100 Message-ID: <11467.1567534014@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Tue, 03 Sep 2019 18:06:58 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Casey Schaufler wrote: > Built from your tree. What branch? keys-next? > keyctl move 483362336 1065401533 @s > keyctl_move: Operation not supported Odd. That should be unconditional if you have CONFIG_KEYS and v5.3-rc1. Can you try: keyctl supports or just: keyctl add user a a @s which will give you an id, say 1234, then: keyctl move 1234 @s @u see if that works. David