[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241120-selinux-clean-v1-1-68704e007f7a@linutronix.de>
Date: Wed, 20 Nov 2024 10:14:07 +0100
From: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
To: Paul Moore <paul@...l-moore.com>,
Stephen Smalley <stephen.smalley.work@...il.com>,
Ondrej Mosnacek <omosnace@...hat.com>,
Masahiro Yamada <masahiroy@...nel.org>
Cc: Nathan Chancellor <nathan@...nel.org>,
Nicolas Schier <nicolas@...sle.eu>, linux-kbuild@...r.kernel.org,
selinux@...r.kernel.org, linux-kernel@...r.kernel.org,
Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Subject: [PATCH] selinux: explicitly clean generated av_permissions.h
av_permissions.h is not declared as a target and therefore won't be
added to clean-files automatically by kbuild.
For details why it is not a target see the Makefile itself.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
---
security/selinux/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/security/selinux/Makefile b/security/selinux/Makefile
index 86f0575f670da66a9dc57e13a236d6a5551af38e..58129a7c8cfa08f9caf5444f7df776f41056b77a 100644
--- a/security/selinux/Makefile
+++ b/security/selinux/Makefile
@@ -41,5 +41,8 @@ targets += flask.h
$(obj)/flask.h: $(obj)/genheaders FORCE
$(call if_changed,genhdrs)
+# see the note above, remove this line
+clean-files += av_permissions.h
+
hostprogs := genheaders
HOST_EXTRACFLAGS += -I$(srctree)/security/selinux/include
---
base-commit: bf9aa14fc523d2763fc9a10672a709224e8fcaf4
change-id: 20241120-selinux-clean-dfcd0e7a344b
Best regards,
--
Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Powered by blists - more mailing lists