Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp58641lqe; Tue, 9 Apr 2024 14:30:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+T6TRyWw14cWbDPbxrZrhr9/gKpl3/4yDlkMdZrhHDD7Yy5dI7jgH3oftJObEe/cogOlv6ow5FR/9sbS91zkHTwQDuN0N/szPze/HBQ== X-Google-Smtp-Source: AGHT+IFWcPFnDxhEhsyFgncpGFRZlJ+5bWZnrbkEXcNZLxD4D7c3UoDkK1XCfT9jmH2UGP6OLoOb X-Received: by 2002:a05:6359:4a85:b0:17e:bfb8:dd86 with SMTP id nc5-20020a0563594a8500b0017ebfb8dd86mr1789108rwb.3.1712698235156; Tue, 09 Apr 2024 14:30:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712698235; cv=pass; d=google.com; s=arc-20160816; b=Gmgf3cC+noUEYo0aHfxU5Nt97mMIVXtCNls8J3OKu18+AaBLi0vydSn/mqVLuCDRLu EA6Vh0CqOGv2rg0ffyVFJbjNVti/BQCfSvA9/TN4AyiPGsoBVvOhtnp1+6De0d1BM8Rr biq4GpzBrDteTE9U7eB68g2U0KVaJSJbIfzW0z1LbhnaEHMIytYboN593N9T4V26PG2a LN8gZjQnrxJKeWZN6/hnoEEGMpjC6fxtOrddc/DwAIkiI6Z7mf8mnlkt7h0Nef8cXCL3 OPSx/sM8IXcLJudiqmAjCVVOAwgo/Nn3MM5WKZWm/n2eDnZcUCC6y+URI4Wzj7RA6jbh EgUw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=96pJxP6pETz15iq1+bZgYkpINBYsGWNv4yDJqnirgIs=; fh=zRnS3F/DUgzFiQ9iXoCHZ8rIhrKzMi22q2ZJNUNMpsw=; b=Afl7XfT7DqvUxLi1Bh3b7NMjJDndfHldRYZ895VcJSHv5YnffI0XtdkwYLZ1P0eDOE Vbr6EvJy4ephDatqOG6k2YrUsxp7W7K5qBSjh4iK3bkDXCTRoKK+1u4crJt27zTkIAWP z8KeTC67GHvrqCahi87UySovfsdJAFTs+cMKIAZdxNWCiFa9aeAUyTjK0IRJDjSW3kFn +kWgEE6sd6OwtX/WH4+OT1ZFkhxSrSjUqfrcZyvdg5ssQTD/7ee0M6gIks88lW+PMrHw o+mUoiMk+EBmTYvxysBDDUflbsnyttBGC3db7YbbO5uA1RO+3ZpDqnljz6ZRIAghL/dZ Ayvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=imq1dgdM; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-137647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137647-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id o30-20020a634e5e000000b005dbedf04f68si9328617pgl.10.2024.04.09.14.30.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 14:30:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=imq1dgdM; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-137647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137647-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.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 4B916B21873 for ; Tue, 9 Apr 2024 21:30:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AB60158A1C; Tue, 9 Apr 2024 21:30:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="imq1dgdM" Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 40078158878; Tue, 9 Apr 2024 21:30:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712698224; cv=none; b=umUqxK/JImevp6oV6Z+HT02T+rbeynaC0fvQMT3W8i7BL4Q9YUgKW4A+fFuktPbeM3SNXECOP/qcAOSuO5Wz6IT2G/1lbOfpztqQoSq8p7v168iT8JaRBdRUuilkHAcK36W0R8yuNIxukubBwrQJcgXKEASTdTQoWqS+TvmbZ5c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712698224; c=relaxed/simple; bh=QRV/Zb+ly7i9pgKEj1ZMeVmuwUAc36lVzMrvbf+R6ZQ=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=dasIRRmbzcKVsL40+fpLnQDQQZVTQasYRQmKUm+P6+zLMGElM4Aaqe3mIF4p0Whg927A/9trCBxSAEhJAmAfXtd2bi998LdhpA/IlDB0Ti2nhAGVqSioh0i+8669Dt2s8SN4lHETSu3eGdX17HXjnlNmMlcYIcVXJtQG5ugPT9s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=imq1dgdM; arc=none smtp.client-ip=148.163.156.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 439LOJGS018910; Tue, 9 Apr 2024 21:29:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : content-transfer-encoding : mime-version; s=pp1; bh=96pJxP6pETz15iq1+bZgYkpINBYsGWNv4yDJqnirgIs=; b=imq1dgdMuYZU3TREMdr+qzdKlhWLMjPW3E8qWs3JXiNnfDW/i6a4bUgAHwzHWo1cx8MJ EhID8TVhjNQ7MULkGQU4sBnC/YjB22D6bycJfSViSwbhrqhQ03A5VtL8p6Jxvkl2DKsl KlDpozZmT8WJERc0FlcUl+IaiIQvQan3YvGcq+BOG3zNWVMKFjW17wZ0FP1VT7/LO3vy FFpgP1y+/tNG+YXZ8lxSjvUhEQG/87KDNUt1oh9JDL2CJeGaLU8zzWtH0mdZkL+LsJ5u TiqqnkRnRpTXdXcEXFOAIP/0wqG6mYivSe3+pwtS/CGOkoMTiZyHy/cMebCz/bnDhT5G rw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3xdc9jg5bu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Apr 2024 21:29:58 +0000 Received: from m0353726.ppops.net (m0353726.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 439LTvv4027805; Tue, 9 Apr 2024 21:29:57 GMT Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3xdc9jg5bt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Apr 2024 21:29:57 +0000 Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 439KIUFt022564; Tue, 9 Apr 2024 21:29:56 GMT Received: from smtprelay06.dal12v.mail.ibm.com ([172.16.1.8]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3xbhqp0vht-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Apr 2024 21:29:56 +0000 Received: from smtpav03.dal12v.mail.ibm.com (smtpav03.dal12v.mail.ibm.com [10.241.53.102]) by smtprelay06.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 439LTrBk38535542 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 9 Apr 2024 21:29:55 GMT Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5BFCA58063; Tue, 9 Apr 2024 21:29:53 +0000 (GMT) Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 923FA58056; Tue, 9 Apr 2024 21:29:52 +0000 (GMT) Received: from li-5cd3c5cc-21f9-11b2-a85c-a4381f30c2f3.ibm.com (unknown [9.61.188.131]) by smtpav03.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 9 Apr 2024 21:29:52 +0000 (GMT) Message-ID: Subject: Re: [PATCH v3 00/10] evm: Support signatures on stacked filesystem From: Mimi Zohar To: Stefan Berger , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-unionfs@vger.kernel.org Cc: linux-kernel@vger.kernel.org, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com, roberto.sassu@huawei.com, amir73il@gmail.com, brauner@kernel.org, miklos@szeredi.hu Date: Tue, 09 Apr 2024 17:29:52 -0400 In-Reply-To: <20240223172513.4049959-1-stefanb@linux.ibm.com> References: <20240223172513.4049959-1-stefanb@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-23.el8_9) X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 4OPDvHSEV7UuX3UR8ykomoVFtY88C32A X-Proofpoint-GUID: NTCCHltqIjanuGsxaH9U6_zCXoa4C0V0 Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-09_12,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 impostorscore=0 malwarescore=0 priorityscore=1501 clxscore=1015 phishscore=0 bulkscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404090145 On Fri, 2024-02-23 at 12:25 -0500, Stefan Berger wrote: > EVM signature verification on stacked filesystem has recently been > completely disabled by declaring some filesystems as unsupported > (only overlayfs). This series now enables copy-up of "portable > and immutable" signatures on those filesystems and enables the > enforcement of "portable and immultable" as well as the "original" > signatures on previously unsupported filesystem when evm is enabled > with EVM_INIT_X509. HMAC verification and generation remains disabled. > > "Portable and immutable" signatures can be copied up since they are > not created over file-specific metadata, such as UUID or generation. > Instead, they are only covering file metadata such as mode bits, uid, and > gid, that will all be preserved during a copy-up of the file metadata. > > This series is now based on the 'next' branch of Paul Moore's LSM tree and > requires the following two commits from the vfs.misc branch of the vfs git > repo at https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git > > commit 2109cc619e73 ("fs: remove the inode argument to ->d_real() method") > commit c6c14f926fbe ("fs: make file_dentry() a simple accessor") Thanks, Stefan. The patch set is now queued in the next-integrity branch. https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git/ Mimi