public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] selinux: explicitly clean generated av_permissions.h
@ 2024-11-20  9:14 Thomas Weißschuh
  0 siblings, 0 replies; only message in thread
From: Thomas Weißschuh @ 2024-11-20  9:14 UTC (permalink / raw)
  To: Paul Moore, Stephen Smalley, Ondrej Mosnacek, Masahiro Yamada
  Cc: Nathan Chancellor, Nicolas Schier, linux-kbuild, selinux,
	linux-kernel, Thomas Weißschuh

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@linutronix.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@linutronix.de>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-20  9:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-20  9:14 [PATCH] selinux: explicitly clean generated av_permissions.h Thomas Weißschuh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox