From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (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 CA4A72343C7 for ; Wed, 2 Apr 2025 11:25:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743593125; cv=none; b=guX+AwyB9DcJ1O7njhiYGJCB/tz9m8vTIQVRCd4x1tGPagcRWGy7AK414+yvQMH29lyKcaxvs7y0l6Z0PPQYp6VK5RWt9l0yAHSCq5EuFcel+iu5LeeiAYBaN0p/yC25Ja/BssQRrlgKmlLgaDhya0FRob4FM2w2qWlrRfnx2mY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743593125; c=relaxed/simple; bh=06kw1eMIDDl0MRtbNBE5nxWWbtdvnEuIc/qfM/H/N84=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=gzAgmSG97qz1T2Lloi7lfwUJbXWhh7dpZj/8Or5Jn4SM3dUWTUMyhgeNH8JwVOb+L2GrZCgwE3eNkyBkbly/z2XwqyxkBQe4ENjTDaSDEmxnmYK/zRGeAG3KaiiIStigoMFdUY3YFeSTi/WIdW38IuR3Mubre5QWapG+BwcKMi0= 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=iePZZQpM; arc=none smtp.client-ip=148.163.158.5 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="iePZZQpM" Received: from pps.filterd (m0356516.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 532AOXt6010837; Wed, 2 Apr 2025 11:25:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=06kw1e MIDDl0MRtbNBE5nxWWbtdvnEuIc/qfM/H/N84=; b=iePZZQpMwmzbJfQxXmhMj/ ykVWhH0yc7k2J8p5hM674v3zlg5Gb5oXs30NY32IIFglS/uA6EoON5XNMuFBt0/p bJNhRFfc+wApwBNJqelryELSzxO7jb8pbpPhziUANO4KdIy9TVZnG8eno3JE8Txx 2/J7a0t+Y5sla44qyJt76cmC72+1Swfu41uQ7gHAQ6/lkYzVBfE6hyPVOabEEab7 YC6j7jFyOC3KXqSp0enGUEXV79QxS2e40OBzzQOyP6H5/Jl25BHg5OSwcqIj5qdt ssFBRu6uc/vPvhYAuRyimhWK+BaQrBIRSCh1zMkfKi5yq19Hpefz9kAucAg5IKIw == 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 45rqaqkrh7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Apr 2025 11:25:17 +0000 (GMT) Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 53280oYm005213; Wed, 2 Apr 2025 11:25:16 GMT Received: from smtprelay06.dal12v.mail.ibm.com ([172.16.1.8]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 45pujyysyq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Apr 2025 11:25:16 +0000 Received: from smtpav03.wdc07v.mail.ibm.com (smtpav03.wdc07v.mail.ibm.com [10.39.53.230]) by smtprelay06.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 532BPFHO18088500 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 2 Apr 2025 11:25:16 GMT Received: from smtpav03.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DA64E58062; Wed, 2 Apr 2025 11:25:15 +0000 (GMT) Received: from smtpav03.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2B85D5805A; Wed, 2 Apr 2025 11:25:15 +0000 (GMT) Received: from li-43857255-d5e6-4659-90f1-fc5cee4750ad.ibm.com (unknown [9.61.92.168]) by smtpav03.wdc07v.mail.ibm.com (Postfix) with ESMTP; Wed, 2 Apr 2025 11:25:15 +0000 (GMT) Message-ID: <2c53cffcae9b05783dbb6c95d3f1255e2757d596.camel@linux.ibm.com> Subject: Re: [RFC PATCH] ima: add a knob to make IMA be able to be disabled From: Mimi Zohar To: Coiby Xu , RuiRui Yang Cc: Baoquan He , linux-integrity@vger.kernel.org, kexec@lists.infradead.org Date: Wed, 02 Apr 2025 07:25:14 -0400 In-Reply-To: References: <20250331061611.253919-1-bhe@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.4 (3.52.4-2.fc40) Precedence: bulk X-Mailing-List: linux-integrity@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: bvmoR57YSN-eF64F_s6CjoEOueApDG8N X-Proofpoint-ORIG-GUID: bvmoR57YSN-eF64F_s6CjoEOueApDG8N X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-02_04,2025-04-01_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 priorityscore=1501 malwarescore=0 mlxscore=0 adultscore=0 mlxlogscore=617 clxscore=1015 phishscore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2502280000 definitions=main-2504020066 On Wed, 2025-04-02 at 16:43 +0800, Coiby Xu wrote: > > Coiby, would disabling just IMA-measurement, as opposed to IMA-appraisa= l, save > > sufficient memory for kdump? >=20 > For disabling just IMA-measurement, do you mean not enabling any measure > rules?=C2=A0 The more memory reserved for the kdump kernel, the less memo= ry > can be used by the 1st kernel. So from the perfective of kdump, we try > to make the memory footprint as smaller as possible. Yes, not enabling any "measure" rules and not restoring the kexec measureme= nt list.