4 This tool is for checking the security hardening options of the Linux kernel.
6 SPDX-FileCopyrightText: Alexander Popov <alex.popov@linux.com>
7 SPDX-License-Identifier: GPL-3.0-only
9 This file is for using the tool without installation via setuptools.
16 current_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
17 parent_dir = os.path.dirname(current_dir)
18 sys.path.insert(0, parent_dir)
20 import kernel_hardening_checker
22 kernel_hardening_checker.main()