mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-12 00:40:56 +07:00

by making `/usr/libexec/security-misc/disable-kernel-module-loading` executable Thanks to @ArrayBolt3 for the bug report!
12 lines
271 B
Bash
Executable File
12 lines
271 B
Bash
Executable File
#!/bin/bash
|
|
|
|
## Copyright (C) 2023 - 2024 ENCRYPTED SUPPORT LP <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."
|