security-misc/usr/libexec/security-misc/disable-kernel-module-loading
Patrick Schleizer 33114f771a
copyright
2024-12-31 13:26:21 -05:00

11 lines
272 B
Bash
Executable file

#!/bin/bash
## Copyright (C) 2023 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.
set -x
set -e
sysctl -w kernel.modules_disabled=1
true "The loading of new modules to the kernel has been disabled by security-misc."