Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2658088rdb; Mon, 12 Feb 2024 11:51:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXPjIVU50FYmAHtVl8GIA2i0leFiLH3ZRYGcJYbjt58/PqWAnveUwJiPfeLRXBIuBmuVWG+63er587qyP5Fi9wc6Lv8uYrqRBtRQv9SMQ== X-Google-Smtp-Source: AGHT+IH0RMbL5x3w4KibaOJJP87u2xOL9rVMu/SJlgqkdrOxtjhMx4jVR9cqGgDf/ac1BJltFekh X-Received: by 2002:a05:620a:148e:b0:785:dac4:351 with SMTP id w14-20020a05620a148e00b00785dac40351mr2511040qkj.31.1707767465751; Mon, 12 Feb 2024 11:51:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707767465; cv=pass; d=google.com; s=arc-20160816; b=MveEexoVxZbqOlrSkixrWbFG95aSX55ib1AMvjgGqcFrZw3aKpKUVbeAHa9gKM0BDh PLq+gf/N+F09vm78HkSZbYvlicueHy3oUENVd59Sp/PVnEIis1/OU8rylozmB8BS38st 8zXaZKBe1K17ek4FD6ZapJraXVjnndnp2BMS88UlMxF4RXdCB2t2lyhJF1tyjqLmWHbB lUG29VVyaZOSrsQ8z5fgaH6+jHceTmM68J67FMeSdXetKIPNzGlan7qGoLXS0kBoQj/J 75N2NQPaFRXDjSAWzZ+OXXyhwl0pAFBFnDUDSKFhRIBi6SuuFlQvysfgytbeFZ0KE/b/ o2XQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=1qWSDMw9Z9QAM3QnEVb9qYve2metSqJEdiPenNizCLs=; fh=zWQmDyJgmvrMnx+pquW6NkjxnyYOr2rKFdAE2EPvqMc=; b=qUWSMSLEEoKNKDkccMBqHBGU+8qIyP5SNTBQoUURX4mb9/f3PvsDMKLKE8l5AWsME2 tf9gzcSFhgB1I6nSOr3krRsymfk3FZ/efPmK05W+6qN3I297dAxmB1Rl5/D0gDRj60Zj aIP9uVKdnFtx6F82qfPo4Pdb1fIrBuTc880yv3USb/Leoe3IGfjKZOJ2C6rdNDQziewn nesY9pcALAPnc4ImNmCyowt7Jk5Mf5a31o8NSJNCyBDP2MFHVA4hrrPzwq3VQkO/2phZ oCa/jKP0xj0VgNlS8RgNCu6bWAW7RarJ+DofoscpdLHdqkKc9AFFFK6sz8OpCFDaEXV8 UTVQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=oNTEXslP; 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-nfs+bounces-1902-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1902-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com X-Forwarded-Encrypted: i=2; AJvYcCX0Wnvt1kKUGEaom8fKv9cJh4N4OQY9oH6sJJbRH7Y1GoRfhq6SmnW8Cba+6+PMWjIISa6kVGMA98Bkbe1zpMu0FyWbQz/W+rOYgpL6/w== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bn7-20020a05620a2ac700b00785d684c7e2si2851066qkb.68.2024.02.12.11.51.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 11:51:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1902-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=oNTEXslP; 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-nfs+bounces-1902-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1902-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 693FB1C21E6E for ; Mon, 12 Feb 2024 19:51:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67D4047A6B; Mon, 12 Feb 2024 19:50:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="oNTEXslP" X-Original-To: linux-nfs@vger.kernel.org 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 8217445C14; Mon, 12 Feb 2024 19:50:57 +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=1707767459; cv=none; b=gWUk4rXosBwMvX/JJkZmT6a7Onb/dtOLTdKmFcapENmUDjFb05dIFSRRdMLURQzlnoZIIgd+dVTuF6osbuXZxZJAiVzDzkNIBRLUkhNMK+nodATUFlVyOwkCyfvMj0FixH/8YhRuzgs6HGiFmgcdpS3VMVo6qdYGPvgtO3+Yp9Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707767459; c=relaxed/simple; bh=xygywyVHBKkxm+gRiy6QRXMZqerCVsdLdDFpylmsoJo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=N+SCEjSlLG3A0IitUj80HCGL+t/qB2s6/JzGYdJxk29DT2yNmvz++QZW6QJ+hM6m20zy2ixkXmOthrHWVYpp9JlPhwgC3HEQBSGiODi/MurLvVByoC4qV4t9dWwGrMylI0FcUo4vAudD2OBl505J8yiHT2KbM2tuzm9pvx6gpVk= 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=oNTEXslP; 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 (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 41CJeoCH004547; Mon, 12 Feb 2024 19:50:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=1qWSDMw9Z9QAM3QnEVb9qYve2metSqJEdiPenNizCLs=; b=oNTEXslPSizSVjjyeDq+EMgL7tHDAlvmINDHuNhX0Qw9a0kRcOA21dnIkohMrgpOwCxc F/EV1mQnK1eH1kfddU/Le1U8Kr2eEOela0IR/FrjWmuABDwRUCfUhiX6tANXz/U66YT5 SoaLxlxIVzNgO0Vv89KEamoLRorIWb3vWnk9dHzGfKsurRrdT5RiYIQH9pW5KOtTh4gj nONby+BsDdxWtTEZ9GfO2Ew8XTzUNsUOPFETpM89+wA/SN2++YNg+z4ojT7H1rrA0Ahi EeeEEQGAJu5GPiCCirTcXQ+xtf2CTb6tRa9e8prRbeYn+x9Oreg4++eHLFaO7eHj3YQI zA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3w7rq41tkw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Feb 2024 19:50:30 +0000 Received: from m0360083.ppops.net (m0360083.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 41CJf0oB005378; Mon, 12 Feb 2024 19:50:29 GMT Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3w7rq41tj5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Feb 2024 19:50:29 +0000 Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 41CJ0bJE004287; Mon, 12 Feb 2024 19:50:27 GMT Received: from smtprelay02.wdc07v.mail.ibm.com ([172.16.1.69]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3w6kv030db-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Feb 2024 19:50:27 +0000 Received: from smtpav06.dal12v.mail.ibm.com (smtpav06.dal12v.mail.ibm.com [10.241.53.105]) by smtprelay02.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 41CJoOjK4981448 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 12 Feb 2024 19:50:26 GMT Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 43C3458059; Mon, 12 Feb 2024 19:50:24 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8A09E58066; Mon, 12 Feb 2024 19:50:22 +0000 (GMT) Received: from [9.47.158.152] (unknown [9.47.158.152]) by smtpav06.dal12v.mail.ibm.com (Postfix) with ESMTP; Mon, 12 Feb 2024 19:50:22 +0000 (GMT) Message-ID: Date: Mon, 12 Feb 2024 14:50:22 -0500 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 25/25] integrity: Remove LSM Content-Language: en-US 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, paul@paul-moore.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 References: <20240115181809.885385-1-roberto.sassu@huaweicloud.com> <20240115181809.885385-26-roberto.sassu@huaweicloud.com> From: Stefan Berger In-Reply-To: <20240115181809.885385-26-roberto.sassu@huaweicloud.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: ahnTHdsVblC8Ug3sV-oVFAGWgTXNd1r4 X-Proofpoint-GUID: aKlEuRg5f8xAaWyCHensofr4krYSlqAL 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-02-12_16,2024-02-12_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 mlxlogscore=966 adultscore=0 mlxscore=0 suspectscore=0 phishscore=0 clxscore=1015 malwarescore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402120152 On 1/15/24 13:18, Roberto Sassu wrote: > From: Roberto Sassu > > Since now IMA and EVM use their own integrity metadata, it is safe to > remove the 'integrity' LSM, with its management of integrity metadata. > > Keep the iint.c file only for loading IMA and EVM keys at boot, and for > creating the integrity directory in securityfs (we need to keep it for > retrocompatibility reasons). > > Signed-off-by: Roberto Sassu Reviewed-by: Stefan Berger