mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
Merge pull request #55 from madaidan/sysctl.conf
Process sysctl.conf in initramfs
This commit is contained in:
commit
f6cc76acd7
5
debian/control
vendored
5
debian/control
vendored
@ -117,8 +117,9 @@ Description: enhances misc security settings
|
||||
* The vivid kernel module is blacklisted as it's only required for testing
|
||||
and has been the cause of multiple vulnerabilities.
|
||||
.
|
||||
* An initramfs hook sets the sysctl values in /etc/sysctl.d before init
|
||||
is executed so sysctl hardening is enabled as early as possible.
|
||||
* An initramfs hook sets the sysctl values in /etc/sysctl.conf and
|
||||
/etc/sysctl.d before init is executed so sysctl hardening is enabled
|
||||
as early as possible.
|
||||
.
|
||||
* The kernel panics on oopses to prevent it from continuing to run a flawed
|
||||
process and to deter brute forcing.
|
||||
|
@ -15,4 +15,5 @@ prereqs)
|
||||
;;
|
||||
esac
|
||||
|
||||
sysctl -p ${rootmnt}/etc/sysctl.conf
|
||||
sysctl -p ${rootmnt}/etc/sysctl.d/*.conf
|
||||
|
Loading…
Reference in New Issue
Block a user