Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp19844rdb; Wed, 7 Feb 2024 19:23:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEqJieuNztmCZ6cCI2o5A6dP7egfZef0zk1hZfNh9GDqWKnGAUehq3fsHV14K7WTd0ZILQG X-Received: by 2002:a17:902:a3c5:b0:1d9:f495:cfa4 with SMTP id q5-20020a170902a3c500b001d9f495cfa4mr3001414plb.62.1707362607995; Wed, 07 Feb 2024 19:23:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707362607; cv=pass; d=google.com; s=arc-20160816; b=z8JkStXrbcd05cmfJDvgxgI18iCuEZz8YOWDip7lThQwtzGn5j/x4bTz+kS0WDU0M6 Tmmtd/ALamTstHZGsHuLHbhX43w0HG7Hk80c5vmx6EghvewHor1VBCjL65WVIFWG7E5y qlqRNK0yRAHPrZzLxT4tVK3nUtJGVzQTEhHV2bv4klVUcmNfcpS6ECYU0lB+9tQ327iu WOsSX7P2h+2RkZ35PKnmBMPoB5o7MDLNcYvcp6cXL2nlEwi+pyflMbITSKK5QWcV5iLM ShG5Tq4Ip3rLocCbJ6bHNAzagW9BQhNR/Ha+5L9g7+PGkOxVLrbWsCnMm+oLrF9/ZVjS jb+Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:subject:cc:to:from:content-transfer-encoding :content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:date:dkim-signature; bh=si1duUiyzmO6RTjzgo+pEU+Lev5ar6TxvuDsNBuTLD4=; fh=8UBzj5ojw3QIkbIlZG62H+xo0Um0FelqKAqLt5ibzxE=; b=0sU6ZjW8lYubjB4V+59qIb/fj2OAM+G59luya6O+Sj7mBf2ssCjdex03QZa6ACxjVX lwaM8iHUxpbsn+uBXxBInayluTNIa6WYejkhsK2Nm0g34jsKfSyYUkY3Vw3PhRkWs7mj 2uBNUW/+lQlKzJxFA+phGu5XXNZZAXFNyiPvccRBRX2Y6YVjYNuIKdxwK3TbovjPl4b1 EBhFsXJUD8Kdg7WberKjSiVlxHM+9A4QS9/5iwrJ3w+98VBax8cA3YrypIda45cZfPc0 FQK+O8tvyGXi9dK+P8BQc0scRcb/SZNt6vnacV4miF/txs1DsGZc8q9auEqfqEP1jC+E ZqZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=YAdLnDRt; arc=pass (i=1 spf=pass spfdomain=paul-moore.com dkim=pass dkdomain=paul-moore.com dmarc=pass fromdomain=paul-moore.com); spf=pass (google.com: domain of linux-nfs+bounces-1839-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1839-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com X-Forwarded-Encrypted: i=2; AJvYcCVjSiE8LaQF7R3PUvSzhNFN8kGMbD0PbkRprUdQKvG03wp1RSeDtjA8vo2Q5J90J2mCJGN00SGfplPfvWbIrsNSMh1Z4HvIzedO8RY+rg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g22-20020a1709029f9600b001d9c0bd8b59si2885855plq.83.2024.02.07.19.23.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 19:23:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1839-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=YAdLnDRt; arc=pass (i=1 spf=pass spfdomain=paul-moore.com dkim=pass dkdomain=paul-moore.com dmarc=pass fromdomain=paul-moore.com); spf=pass (google.com: domain of linux-nfs+bounces-1839-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1839-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 737D4B2416A for ; Thu, 8 Feb 2024 03:21:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE5B42E854; Thu, 8 Feb 2024 03:18:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b="YAdLnDRt" X-Original-To: linux-nfs@vger.kernel.org Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CAC9822F0F for ; Thu, 8 Feb 2024 03:18:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707362326; cv=none; b=rWiqMkxBKX0PQjGAABg0ErW4BqWP6Mspiw1yki57Jhxwa6/TH3Byp/hX+7eZkTkJPiu3D8V/EnWCIqDkOkUjSF+0bhOTdC366aRsFHlPc8StQCk36uFGNHvm/8qrjcRuoV4C81lj/37JENomVealwIoYNgS2uJ4WxMsbu0q4J80= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707362326; c=relaxed/simple; bh=uD1EwQymZvC306l+hibbHVba/gxJzxwEF5SMUsbwjiQ=; h=Date:Message-ID:MIME-Version:Content-Type:Content-Disposition: From:To:Cc:Subject:References:In-Reply-To; b=JIPWQtukNW0UfwCJfPdYFBssyFx26MiiLdDJvN5gGMTHZp1n9FuPegq9j3PC4sKG4Jd3b6auSjx8JlvIRCa8dyxUW0JB7q09GeANNiOaFaIA5Yec+5RFaYNPuTgTQ2USMVHBeO1PkP8VBOCdkzC9ceJyvusYrBtuVolW9ZZfYvY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=paul-moore.com; spf=pass smtp.mailfrom=paul-moore.com; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b=YAdLnDRt; arc=none smtp.client-ip=209.85.219.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=paul-moore.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=paul-moore.com Received: by mail-qv1-f45.google.com with SMTP id 6a1803df08f44-68c4fb9e7ccso6161546d6.3 for ; Wed, 07 Feb 2024 19:18:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1707362321; x=1707967121; darn=vger.kernel.org; h=in-reply-to:references:subject:cc:to:from:content-transfer-encoding :content-disposition:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=si1duUiyzmO6RTjzgo+pEU+Lev5ar6TxvuDsNBuTLD4=; b=YAdLnDRtHi358i3VZEwlehsBGs3+b9AIHcfMVl7I8eHEr4aZs8/zKBAjevMYW2ooSC CJRpy1wvzCmBuwdlMsJ0ZwQfBSp6qsT2spVAI7dR1aw2BH7RHnXqWPNYg1VpLAOymQfL kANUEaMVJ5FOcdIQNJ62aL6WugWjMIq8Yff0MSN6YYiu0Gfc+MxapOOXZCZI4vW+qFgA ao1djKJfjzwdTfjHhD7N9zSzvIg4GDEhMXiAfBUk7/yhXS+FYI+OuIdRTgVG/03NP/9J UHeRtyi4t+Wgu7mNzcPUnHop1mkOemax22UCUMRz0jk/GI3/Qru+2o2xasfRg7Ct7lcX GQ7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707362321; x=1707967121; h=in-reply-to:references:subject:cc:to:from:content-transfer-encoding :content-disposition:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=si1duUiyzmO6RTjzgo+pEU+Lev5ar6TxvuDsNBuTLD4=; b=RtR2WOietbrqyn6vJhwOKp+gKzkjn9ZcR9Ly3j08AnvnK6wvciPVy8dMQJIM5dMOvS T6YK+6mwanABqEHl7XG5iBXvbveHnJKBxdFif97Ev8pr4LI9nx5F8FGjXD7v8sQn4WXX PY2jjqVRqYYRK+/8eEsn09oeZVuxwee21a4wVAhc/fhMqRphLxQaoLokMsOk1LsxC6Ge 0FIoeTQiLDzpQOSR+UYKD/G7gWO7aeDJxJzblEcn9I+YA8C0Wu+g3/RLkYABGWeNqrMS j/y9Bvo0MEsrjbB+vhzkL6dP5VfQ+zjIU/qaTtpFr9URJnQkr/NTs6OZB459FdbDEBmg nRxA== X-Gm-Message-State: AOJu0YxjGpq03OYGQyexsH9EiDtadoL/bPj5ejeIfWx6ulNZsR0z0BSh KI0SkQrdGhGtFTH5zEH3wkWjSRK33VMYsu6ugWsq2kVdtI+UDZ4FPn1KvJCPqw== X-Received: by 2002:a05:6214:500a:b0:68c:ae6d:2959 with SMTP id jo10-20020a056214500a00b0068cae6d2959mr9739157qvb.26.1707362321417; Wed, 07 Feb 2024 19:18:41 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWBwV/j7yNS3pZJhR1yORNn4WYkIwtbqdmqdWteaOa6AuitJeyg/4AWnJSa20K0wpB6y2AMZM6DCThhl0JMEvK5UjxAAHVjSCQv3gaJkTNjnznvnpjT/nIuW4gnP8Zb5niSgHEskQJIlSUEQo5+HUXgL4msEqYyKRCJubqIOdSOv6ELIIAbCAQNA95QpLDzggZFyHC+DqtUCBk17UptW+F3DH4ernoafuXMegaciSbbqbckg0sXzPK1WfGSq05wgVpMVrhJgTRXpZtMaoQsQBL0pklrYTb6OixedxdgPIbx9ymiyopB57QWwz0qZdTtlvGsWoS/ql0EeTAxDnit++yKCWBjNAJQ3rpCY+EXgQX6bgUYqelEObwQC2Pj++/pUWPCkS9Qf2a6AGsDvvNXtgDa3RqYzP3EbuT1bTlfEZBg5l1GCigkM9nqaO7J4c6YZeN5kr/LzYes2o/ynSEK6DZK+SW2voXgxq3rTnRGDMitBci93vLyw1VntRniH37mZdBsSqfeWY3Vicl6bG/FwgHc6Gk2GCTRNRtgR+fIfQGk9Pl9BXS+YbBRDvQy30YYoBBbjY8nREHjgd1c3xrEtACoc5E9Yiz78ICCSHPhaCxH0g8juNcewLVKGKpxorwWpDojttO8k5mv5bqVz7pVa/O16DRxcj6QSY7WBckMTTZeugjFDjU67pC42iFNa/oI+Mb6bXX+4QUBywyk+GTgco9bVBjw7K88Bxf5IQbEJM+Pi0tb8aDZ0WlJ/wg/HZUTRaqy+LNSrsXtQSvGVTn0Ye8VEDNz+yvi2+WWiycoJJB51SCrsz50/53GL5uJbtd6oWATjFHzfV6gq4VW8uV7jwbBkotvVgNvco5gXomHGHzijkYjNZNaJtGwelaEqbpy0Akh2fUG29l6ftutfz0TiQOA+40seRRvWsZiWn5c/ATr+bUJ4szce2FpIeL7P0xDDOP2vu alrhHOKigBLxw= Received: from localhost ([70.22.175.108]) by smtp.gmail.com with ESMTPSA id pd8-20020a056214490800b0068caa42dbf3sm1186187qvb.91.2024.02.07.19.18.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 19:18:41 -0800 (PST) Date: Wed, 07 Feb 2024 22:18:40 -0500 Message-ID: Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit From: Paul Moore To: Roberto Sassu , viro@zeniv.linux.org.uk, brauner@kernel.org, chuck.lever@oracle.com, jlayton@kernel.org, neilb@suse.de, kolga@netapp.com, Dai.Ngo@oracle.com, tom@talpey.com, jmorris@namei.org, serge@hallyn.com, zohar@linux.ibm.com, dmitry.kasatkin@gmail.com, eric.snowberg@oracle.com, dhowells@redhat.com, jarkko@kernel.org, stephen.smalley.work@gmail.com, eparis@parisplace.org, casey@schaufler-ca.com, shuah@kernel.org, mic@digikod.net Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-security-module@vger.kernel.org, linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, selinux@vger.kernel.org, linux-kselftest@vger.kernel.org, Roberto Sassu , Stefan Berger Subject: Re: [PATCH v9 9/25] security: Align inode_setattr hook definition with EVM References: <20240115181809.885385-10-roberto.sassu@huaweicloud.com> In-Reply-To: <20240115181809.885385-10-roberto.sassu@huaweicloud.com> On Jan 15, 2024 Roberto Sassu wrote: > > Add the idmap parameter to the definition, so that evm_inode_setattr() can > be registered as this hook implementation. > > Signed-off-by: Roberto Sassu > Reviewed-by: Stefan Berger > Acked-by: Casey Schaufler > Reviewed-by: Mimi Zohar > --- > include/linux/lsm_hook_defs.h | 3 ++- > security/security.c | 2 +- > security/selinux/hooks.c | 3 ++- > security/smack/smack_lsm.c | 4 +++- > 4 files changed, 8 insertions(+), 4 deletions(-) Acked-by: Paul Moore -- paul-moore.com