aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2023-01-20 12:22:41 +0000
committerRene Ladan <rene@FreeBSD.org>2023-01-21 13:13:46 +0000
commit1e765fa4cbf289770f6c1a55b4ec339c2fc44990 (patch)
treeed8693a1467a46cbf1191991d6b14c01760391be
parent1418d95867720391226bae0f48c1c619bf43c250 (diff)
downloadports-1e765fa4cbf289770f6c1a55b4ec339c2fc44990.tar.gz
ports-1e765fa4cbf289770f6c1a55b4ec339c2fc44990.zip
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
-rw-r--r--Mk/Uses/kmod.mk1
1 files changed, 1 insertions, 0 deletions
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