git: 1e765fa4cbf2 - main - Mk/Uses: tag kmod.mk as PIE_UNSAFE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Jan 2023 13:32:09 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1e765fa4cbf289770f6c1a55b4ec339c2fc44990
commit 1e765fa4cbf289770f6c1a55b4ec339c2fc44990
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-01-20 12:22:41 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-01-21 13:13:46 +0000
Mk/Uses: tag kmod.mk as PIE_UNSAFE
Kernel modules are not executables, so marking them safe for being a
position-indepentent executable does not make sense.
PR: 268922
---
Mk/Uses/kmod.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/Mk/Uses/kmod.mk b/Mk/Uses/kmod.mk
index a40155f1863b..a28077e67697 100644
--- a/Mk/Uses/kmod.mk
+++ b/Mk/Uses/kmod.mk
@@ -25,6 +25,7 @@ IGNORE= requires kernel source files in SRC_BASE=${SRC_BASE}
CATEGORIES+= kld
+PIE_UNSAFE= kernel modules are not executable
SSP_UNSAFE= kernel module supports SSP natively
KMODDIR?= /boot/modules