mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-02-06 09:09:29 +07:00
move "kernel.printk = 3 3 3 3" to separate file /etc/sysctl.d/30_silent-kernel-printk.conf
so package debug-misc can easily disable it https://phabricator.whonix.org/T950
This commit is contained in:
parent
81cb6ad246
commit
3cd7b144bb
@ -8,10 +8,6 @@ kernel.core_pattern=|/bin/false
|
||||
## Restricts the kernel log to root only.
|
||||
kernel.dmesg_restrict=1
|
||||
|
||||
## Prevent kernel info leaks in console during boot.
|
||||
## https://phabricator.whonix.org/T950
|
||||
kernel.printk = 3 3 3 3
|
||||
|
||||
## Don't allow writes to files that we don't own
|
||||
## in world writable sticky directories, unless
|
||||
## they are owned by the owner of the directory.
|
||||
@ -149,4 +145,3 @@ vm.unprivileged_userfaultfd=0
|
||||
## - https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/s-memory-tunables.html
|
||||
## - https://en.wikipedia.org/wiki/Swappiness
|
||||
vm.swappiness=1
|
||||
|
||||
|
6
etc/sysctl.d/30_silent-kernel-printk.conf
Normal file
6
etc/sysctl.d/30_silent-kernel-printk.conf
Normal file
@ -0,0 +1,6 @@
|
||||
## Copyright (C) 2019 - 2020 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
|
||||
## See the file COPYING for copying conditions.
|
||||
|
||||
## Prevent kernel info leaks in console during boot.
|
||||
## https://phabricator.whonix.org/T950
|
||||
kernel.printk = 3 3 3 3
|
Loading…
Reference in New Issue
Block a user