From 53ca0a04df624ab3932b3eb944e6dfd06b74ec1a Mon Sep 17 00:00:00 2001 From: Willenst Date: Thu, 21 Nov 2024 15:20:23 +0200 Subject: [PATCH] Improve kconfigs list --- .../config_files/distros/get_kconfigs.sh | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/kernel_hardening_checker/config_files/distros/get_kconfigs.sh b/kernel_hardening_checker/config_files/distros/get_kconfigs.sh index b6a420ec..8d0fdda6 100755 --- a/kernel_hardening_checker/config_files/distros/get_kconfigs.sh +++ b/kernel_hardening_checker/config_files/distros/get_kconfigs.sh @@ -4,15 +4,22 @@ oracle_git_url="https://raw.githubusercontent.com/oracle/kconfigs/refs/heads/gh- arch_git_url="https://gitlab.archlinux.org/archlinux/packaging/packages/" distros_from_oracle=( + "Android 12 (5.10) aarch64" "Android 15 (6.6) aarch64" - "Debian 13 Trixie aarch64" - "Debian 13 Trixie x86_64" + "Arch x86_64" "CentOS Hyperscale 9 aarch64" "CentOS Hyperscale 9 x86_64" + "Debian 10 Buster x86_64" + "Debian 13 Trixie aarch64" + "Debian 13 Trixie x86_64" "Fedora 39 Core aarch64" "Fedora 39 Core x86_64" + "Fedora 41 Core aarch64" + "Fedora 41 Core x86_64" + "Oracle Linux 7 (UEK 4) x86_64" "Oracle Linux 9 (UEK-NEXT) aarch64" "Oracle Linux 9 (UEK-NEXT) x86_64" + "Ubuntu 20.04 LTS Focal x86_64" "Ubuntu 24.04 LTS Noble aarch64" "Ubuntu 24.04 LTS Noble x86_64" ) @@ -23,12 +30,11 @@ for distro in "${distros_from_oracle[@]}"; do done # Fetch some other kconfigs -wget -O Clearlinux_x86-64.config https://raw.githubusercontent.com/clearlinux-pkgs/linux/master/config -wget -O Clearlinux_x86-64.cmdline https://raw.githubusercontent.com/clearlinux-pkgs/linux/master/cmdline -wget -O OpenSUSE_x86-64.config https://raw.githubusercontent.com/openSUSE/kernel-source/refs/heads/master/config/x86_64/default +wget -O Clearlinux_x86_64.config https://raw.githubusercontent.com/clearlinux-pkgs/linux/master/config +wget -O Clearlinux_x86_64.cmdline https://raw.githubusercontent.com/clearlinux-pkgs/linux/master/cmdline +wget -O OpenSUSE_x86_64.config https://raw.githubusercontent.com/openSUSE/kernel-source/refs/heads/master/config/x86_64/default wget -O OpenSUSE_aarch64.config https://raw.githubusercontent.com/openSUSE/kernel-source/refs/heads/master/config/arm64/default -wget -O SLE-15-SP7_x86-64.config https://raw.githubusercontent.com/openSUSE/kernel-source/refs/heads/SLE15-SP7/config/x86_64/default +wget -O SLE-15-SP7_x86_64.config https://raw.githubusercontent.com/openSUSE/kernel-source/refs/heads/SLE15-SP7/config/x86_64/default wget -O SLE-15-SP7_aarch64.config https://raw.githubusercontent.com/openSUSE/kernel-source/refs/heads/SLE15-SP7/config/arm64/default wget -O Azure_linux_x86_64.config https://raw.githubusercontent.com/microsoft/azurelinux/refs/heads/1.0/SPECS/kernel/config -wget -O Archlinux-hardened_x86-64.config ${arch_git_url}linux-hardened/-/raw/main/config?ref_type=heads -wget -O Archlinux-stable_x86-64.config ${arch_git_url}linux/-/raw/main/config?ref_type=heads +wget -O Archlinux-hardened_x86_64.config ${arch_git_url}linux-hardened/-/raw/main/config?ref_type=heads