From nobody Fri Dec 19 19:34:09 2025 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 38C8133B962 for ; Wed, 3 Dec 2025 19:37:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764790649; cv=none; b=QsH6NMfR/IbjWmGuYPMwrd8gbkGMsQe+mWHbC7z9rNJoK8bjFEWVRsTVQY7T85lTHz/9mXKFpMOjqw3NyCjRP8XLGSNAy/lA0fPn6sPfxQIyKSzy0pLeQClSnG7o+6mH+jqTLQKts+yilwUgTv6cxyHZY067sH7q4Dg/Y0tnGsY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764790649; c=relaxed/simple; bh=E0jMcZCjFn2zwvZ/eQSrlu0VGN4vqoFjyaKNHFUcXu0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=A7SAfVUnCmlZ5KkuK1S/kH58DlLcACgVdRMIFqsLwcqI1fH/Li9/ba6An6s1CMP35vqwnKSuuIq48Ia0CImxC6Yc+NxvIUrhgyQ37U06LoracIMwHBh5Bxy8e8UXH0KRYzNfCCIDcihrTlzgvdotZJf8C9IoBXjFNYYAMZeFT/o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Roxm4L+l; arc=none smtp.client-ip=209.85.221.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Roxm4L+l" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-42e2b78d45bso112930f8f.0 for ; Wed, 03 Dec 2025 11:37:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764790645; x=1765395445; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=raWn2Mn07AjodiXa3v0vYem9nsGju6qXPmJteoPWPUc=; b=Roxm4L+lWsbecQaf57P1WCWb/JklgbA9nYrQNlNZPvT2yWAU+4qQx+Nhd/Dhrl8Rb8 YzX4mHcNq7M1X/TB9XLkZ4OHwhqIHIABXd7rX/aR82mXAs2khEx5j2dETmrQdB5fd++j uVn6g5t2s5QU5Hhp48SM5tablfqM7bvfYQHBB32vefUebzBvSMKVIrTn6I5JumPHCJM/ qXZoYThlkJgqFjzbTDTMj02ruyyGCuLj9WOs7WSctpmvqaikf+O/iwjVAS80HJd3J7Tl EPyeI7viu9xOz5e0cLXofNN0foDwElCNEHeMd6TMglaGT4klqxuKg/Yl0HqN1YGjjkW9 tMcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764790645; x=1765395445; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=raWn2Mn07AjodiXa3v0vYem9nsGju6qXPmJteoPWPUc=; b=DHQJSO4jywamyQJQU8UWnLfxh9AI4A+vI+vEWr2Vhjs6AoyMOf3P3xTGHewAPmZXRg 2F2uZBi5bCKwpyDsfhokEmaNiwuZ/AaDv1BNQC+K9SeqLpFfGjPR0opdrwjCnodRfE27 Tf11KpK03Tt0INV2sZRTsS1Ti0P8J5r/Ynu+ReY94Z4/93DNWuYljKshcTopZNHQ9ZzZ d1I3E4LnrzMOU3s3x8UYu6YEGVvNpDJR60uz49UBRoRdb7q2tKT7Z/yyYCzZjP4hNUl/ RXjip0MLRP4AXxbQKqE3guI0hn7VvUpDZ8DmAWjk4WN9l1kOvDcfdOEJ2gU+ZzjqwSwD mfsw== X-Forwarded-Encrypted: i=1; AJvYcCVEOmnRgVSTd6LWs4nv1eGe6B8LMbQxUaGHeaacLhuyigyL5d2KytzjSu7k/re/QsU80pZBaV4Fdt61+94=@vger.kernel.org X-Gm-Message-State: AOJu0YxbKBjLbE5l98M+bOcPErldCnM2CWaGaRSsBcupRIe4SVLd+waz 8RAh5MyyYeaWp1ZuUBTSPevASyxCCaXS8QV+iPoYaqVXj8OyaIi9BrzP X-Gm-Gg: ASbGncuiWRb3K0jOotliFwrlUQ9P2d/iRRv+hd6ygnwVSsCBxpxghYlfd4cvnc6zwgN IYOLmzMAFM4T+f943kSmsmTzL8rD5wa43D2EcMFqamaWSTRf2lT8ssWfqJduoVNx+Ke8wIzjX3u ostSTDcI3NEkiFvZq2e3Lq+UvssO/d+NiEikvnZZdiIfqGbOajCr7rKl8KYJY9XEmIi8ucEDA8T pISTkPiuW41A6Mr1gqkWmek2wl3Vl2LFDsWHGhwvloEqEg7fGcyeM9rM2ebHZcgFD5vFO1ERAtE BnkL/oPJ7vedP3GYG5DxTrg24XWQVowB7xAVCHaCymEsY0BHtVmvNVMsBnVZMKqHiGaWx5S3hVe hmzknXwuelocoI161D6bdubno3B+kjExVtmBfhLySDsB1WbJKSPJp6cP9AB7mjbY2BDVBc4fUHK EvLdqm7MIyZDjKOwFWkiW5qL7/ X-Google-Smtp-Source: AGHT+IHz5ldqxl2N9EpMExjf8C1snbhBsHrs3zCB7S7EkoA7iTO+pYJvPw1dlCLvUiNM7CKHNvO5iQ== X-Received: by 2002:a05:6000:2003:b0:42b:3062:c647 with SMTP id ffacd0b85a97d-42f7317d539mr3515125f8f.21.1764790644799; Wed, 03 Dec 2025 11:37:24 -0800 (PST) Received: from Arch-Spectre.dur.ac.uk ([129.234.0.167]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42e1c5c30b8sm41232412f8f.7.2025.12.03.11.37.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Dec 2025 11:37:24 -0800 (PST) From: Yicong Hui To: wufan@kernel.org, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com Cc: Yicong Hui , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ipe: remove headers that are included but not used Date: Wed, 3 Dec 2025 19:37:17 +0000 Message-ID: <20251203193718.504344-1-yiconghui@gmail.com> X-Mailer: git-send-email 2.52.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove headers that are included but not used in audit.c, audit.c, policy.c within the IPE module Change have been tested through kunit, kernel compiles and passes kunit tests Signed-off-by: Yicong Hui --- security/ipe/audit.c | 1 - security/ipe/policy.c | 1 - security/ipe/policy_fs.c | 1 - 3 files changed, 3 deletions(-) diff --git a/security/ipe/audit.c b/security/ipe/audit.c index de5fed62592e..5064f2257e32 100644 --- a/security/ipe/audit.c +++ b/security/ipe/audit.c @@ -8,7 +8,6 @@ #include #include =20 -#include "ipe.h" #include "eval.h" #include "hooks.h" #include "policy.h" diff --git a/security/ipe/policy.c b/security/ipe/policy.c index 1c58c29886e8..fe7e8c571ab3 100644 --- a/security/ipe/policy.c +++ b/security/ipe/policy.c @@ -6,7 +6,6 @@ #include #include =20 -#include "ipe.h" #include "eval.h" #include "fs.h" #include "policy.h" diff --git a/security/ipe/policy_fs.c b/security/ipe/policy_fs.c index 9d92d8a14b13..90c37949378c 100644 --- a/security/ipe/policy_fs.c +++ b/security/ipe/policy_fs.c @@ -8,7 +8,6 @@ #include #include =20 -#include "ipe.h" #include "policy.h" #include "eval.h" #include "fs.h" --=20 2.52.0