diff options
| author | Jörg Sommer <joerg.sommer@navimatix.de> | 2025-01-06 10:54:17 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-06 07:22:29 -0800 |
| commit | 2b2c15d774c8c4bdb7480708dcf79a5e7bf77023 (patch) | |
| tree | eb56da9d4f4e16f41e79b228be171550aa37b616 | |
| parent | e2140c416c517fef743ef2b34435eda65f7f1533 (diff) | |
| download | meta-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.bb | 33 |
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 @@ | |||
| 1 | SUMMARY = "A tool for checking the security hardening options of the Linux kernel" | ||
| 2 | DESCRIPTION = "\ | ||
| 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 | " | ||
| 10 | HOMEPAGE = "https://github.com/a13xp0p0v/kernel-hardening-checker" | ||
| 11 | BUGTRACKER = "https://github.com/a13xp0p0v/kernel-hardening-checker/issues" | ||
| 12 | LICENSE = "GPL-3.0-only" | ||
| 13 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d32239bcb673463ab874e80d47fae504" | ||
| 14 | |||
| 15 | SRC_URI = "git://github.com/a13xp0p0v/kernel-hardening-checker;protocol=https;branch=master" | ||
| 16 | SRCREV = "f4dbe258ff3d37489962ea9cf210192ae7ff9280" | ||
| 17 | |||
| 18 | S = "${UNPACKDIR}/git" | ||
| 19 | |||
| 20 | RDEPENDS:${PN} = "\ | ||
| 21 | python3-json \ | ||
| 22 | " | ||
| 23 | |||
| 24 | # /boot/config is required for the analysis | ||
| 25 | RRECOMMENDS:${PN}:class-target = "\ | ||
| 26 | kernel-dev \ | ||
| 27 | " | ||
| 28 | |||
| 29 | inherit 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 ... | ||
| 33 | BBCLASSEXTEND = "native" | ||
