Specify the `GPL-3.0-only` license explicitly
authorAlexander Popov <alex.popov@linux.com>
Sat, 6 Jul 2024 08:40:19 +0000 (11:40 +0300)
committerAlexander Popov <alex.popov@linux.com>
Sat, 6 Jul 2024 08:40:19 +0000 (11:40 +0300)
README.md
bin/kernel-hardening-checker
kernel_hardening_checker/__init__.py
kernel_hardening_checker/checks.py
kernel_hardening_checker/engine.py
kernel_hardening_checker/test_engine.py
setup.py

index 1cb7075fa9c5d84ea2d78c1d7b9ab10b079305a8..981a6c19309b2aca34ce2d9d623a614e0923916a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -5,6 +5,7 @@ __(formerly kconfig-hardened-check)__<br /><br />
 [![functional test coverage](https://codecov.io/gh/a13xp0p0v/kernel-hardening-checker/graph/badge.svg?flag=functional_test)](https://app.codecov.io/gh/a13xp0p0v/kernel-hardening-checker?flags%5B0%5D=functional_test)<br />
 [![engine unit-test](https://github.com/a13xp0p0v/kernel-hardening-checker/workflows/engine%20unit-test/badge.svg)](https://github.com/a13xp0p0v/kernel-hardening-checker/actions/workflows/engine_unit-test.yml)
 [![unit-test coverage](https://codecov.io/gh/a13xp0p0v/kernel-hardening-checker/graph/badge.svg?flag=engine_unit-test)](https://app.codecov.io/gh/a13xp0p0v/kernel-hardening-checker?flags%5B0%5D=engine_unit-test)<br />
+[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
 [![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/a13xp0p0v/kernel-hardening-checker?label=release)](https://github.com/a13xp0p0v/kernel-hardening-checker/tags)
 
 ## Motivation
@@ -15,7 +16,9 @@ make our systems more secure.
 
 But nobody likes checking configs manually. So let the computers do their job!
 
-__kernel-hardening-checker__ (formerly __kconfig-hardened-check__) is a tool for checking the security hardening options of the Linux kernel. It supports checking:
+__kernel-hardening-checker__ (formerly __kconfig-hardened-check__) is a tool for checking the security hardening options of the Linux kernel. License: GPL-3.0.
+
+The tool supports checking:
 
   - Kconfig options (compile-time)
   - Kernel cmdline arguments (boot-time)
index 8a5cd89b2bd0d6c624e6c95daec02539a794fd9a..214f30f9078751b034b9063fff221aee0f2e1324 100755 (executable)
@@ -1,6 +1,13 @@
 #!/usr/bin/env python3
 
-# For using the tool without installation via setuptools
+"""
+This tool is for checking the security hardening options of the Linux kernel.
+
+SPDX-FileCopyrightText: Alexander Popov <alex.popov@linux.com>
+SPDX-License-Identifier: GPL-3.0-only
+
+This file is for using the tool without installation via setuptools.
+"""
 
 import os
 import sys
index 043dae8c8362b446e9a25e9291d4e095c7e85d9d..487eff45a1097ea0a9e06ab242ccdc1d7579fdaa 100755 (executable)
@@ -3,7 +3,8 @@
 """
 This tool is for checking the security hardening options of the Linux kernel.
 
-Author: Alexander Popov <alex.popov@linux.com>
+SPDX-FileCopyrightText: Alexander Popov <alex.popov@linux.com>
+SPDX-License-Identifier: GPL-3.0-only
 
 This module performs input/output.
 """
index be2689e0ad1554a5d6a2d8246f87ec72b5de7d94..0bc183bf2e2ddaaeda862e22b89990efd0045e00 100755 (executable)
@@ -3,7 +3,8 @@
 """
 This tool is for checking the security hardening options of the Linux kernel.
 
-Author: Alexander Popov <alex.popov@linux.com>
+SPDX-FileCopyrightText: Alexander Popov <alex.popov@linux.com>
+SPDX-License-Identifier: GPL-3.0-only
 
 This module contains knowledge for checks.
 """
index ee56d637b9b763e0dec0e9cfc41d38fcab3827cc..39f54c54c240c77576aab893e76c6c742e3e2690 100755 (executable)
@@ -3,7 +3,8 @@
 """
 This tool is for checking the security hardening options of the Linux kernel.
 
-Author: Alexander Popov <alex.popov@linux.com>
+SPDX-FileCopyrightText: Alexander Popov <alex.popov@linux.com>
+SPDX-License-Identifier: GPL-3.0-only
 
 This module is the engine of checks.
 """
index 05e640c91e065bf7dcbc07f562e2b923fb5de7f4..50328cab26853cb9562b4a05357ed24f19bfc2d3 100755 (executable)
@@ -3,7 +3,8 @@
 """
 This tool is for checking the security hardening options of the Linux kernel.
 
-Author: Alexander Popov <alex.popov@linux.com>
+SPDX-FileCopyrightText: Alexander Popov <alex.popov@linux.com>
+SPDX-License-Identifier: GPL-3.0-only
 
 This module performs unit-testing of the kernel-hardening-checker engine.
 """
index 127bfae22b2da9b11104afad21e1d60581004125..f8fac99d55b88fd1749254987463a191e97477c8 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,8 @@
 """
 This tool is for checking the security hardening options of the Linux kernel.
 
-Author: Alexander Popov <alex.popov@linux.com>
+SPDX-FileCopyrightText: Alexander Popov <alex.popov@linux.com>
+SPDX-License-Identifier: GPL-3.0-only
 
 This module performs installing of the kernel-hardening-checker package.
 """