mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-03 03:54:51 -04:00
Merge pull request #148 from monsieuremre/module-loading-hardening
Harden the loading of new modules to the kernel after install
This commit is contained in:
commit
36f3c30440
2 changed files with 19 additions and 0 deletions
5
usr/libexec/security-misc/disable-kernel-module-loading
Normal file
5
usr/libexec/security-misc/disable-kernel-module-loading
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
sysctl -w kernel.modules_disabled=1
|
||||
|
||||
echo "The loading of new modules to the kernel has been disabled by security-misc"
|
Loading…
Add table
Add a link
Reference in a new issue