summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Sommer <joerg.sommer@navimatix.de>2025-01-06 10:54:17 +0100
committerKhem Raj <raj.khem@gmail.com>2025-01-06 07:22:29 -0800
commit2b2c15d774c8c4bdb7480708dcf79a5e7bf77023 (patch)
treeeb56da9d4f4e16f41e79b228be171550aa37b616
parente2140c416c517fef743ef2b34435eda65f7f1533 (diff)
downloadmeta-openembedded-2b2c15d774c8c4bdb7480708dcf79a5e7bf77023.tar.gz
kernel-hardening-checker: New recipe to check security options
Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-security/kernel-hardening-checker/kernel-hardening-checker_0.6.10.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-security/kernel-hardening-checker/kernel-hardening-checker_0.6.10.bb b/meta-oe/recipes-security/kernel-hardening-checker/kernel-hardening-checker_0.6.10.bb
new file mode 100644
index 0000000000..1daf5d8c70
--- /dev/null
+++ b/meta-oe/recipes-security/kernel-hardening-checker/kernel-hardening-checker_0.6.10.bb
@@ -0,0 +1,33 @@
1SUMMARY = "A tool for checking the security hardening options of the Linux kernel"
2DESCRIPTION = "\
3 There are plenty of security hardening options for the Linux kernel; Kconfig \
4 options (compile-time); Kernel cmdline arguments (boot-time); Sysctl \
5 parameters (runtime). A lot of them have to be enabled manually to make the \
6 system more secure which is difficult to track. This tool helps with this \
7 task by checking and reporting about the settings compared to a list of \
8 recommendation. \
9"
10HOMEPAGE = "https://github.com/a13xp0p0v/kernel-hardening-checker"
11BUGTRACKER = "https://github.com/a13xp0p0v/kernel-hardening-checker/issues"
12LICENSE = "GPL-3.0-only"
13LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d32239bcb673463ab874e80d47fae504"
14
15SRC_URI = "git://github.com/a13xp0p0v/kernel-hardening-checker;protocol=https;branch=master"
16SRCREV = "f4dbe258ff3d37489962ea9cf210192ae7ff9280"
17
18S = "${UNPACKDIR}/git"
19
20RDEPENDS:${PN} = "\
21 python3-json \
22"
23
24# /boot/config is required for the analysis
25RRECOMMENDS:${PN}:class-target = "\
26 kernel-dev \
27"
28
29inherit setuptools3
30
31# allow to run on build host, if you don't want it in the image
32# oe-run-native kernel-hardening-checker-native kernel-hardening-checker ...
33BBCLASSEXTEND = "native"