PHP 8.5.2
Preview: 10-kernel-hardening.conf Size: 1.20 KB
//etc/sysctl.d/10-kernel-hardening.conf

# These settings are specific to hardening the kernel itself from attack
# from userspace, rather than protecting userspace from other malicious
# userspace things.
#
#
# When an attacker is trying to exploit the local kernel, it is often
# helpful to be able to examine where in memory the kernel, modules,
# and data structures live. As such, kernel addresses should be treated
# as sensitive information.
#
# Many files and interfaces contain these addresses (e.g. /proc/kallsyms,
# /proc/modules, etc), and this setting can censor the addresses. A value
# of "0" allows all users to see the kernel addresses. A value of "1"
# limits visibility to the root user, and "2" blocks even the root user.
kernel.kptr_restrict = 1

# Access to the kernel log buffer can be especially useful for an attacker
# attempting to exploit the local kernel, as kernel addresses and detailed
# call traces are frequently found in kernel oops messages. Setting
# dmesg_restrict to "0" allows all users to view the kernel log buffer,
# and setting it to "1" restricts access to those with CAP_SYSLOG.
#
# dmesg_restrict defaults to 1 via CONFIG_SECURITY_DMESG_RESTRICT, only
# uncomment the following line to disable.
# kernel.dmesg_restrict = 0

Directory Contents

Dirs: 0 × Files: 14

Name Size Perms Modified Actions
481 B lrw-r--r-- 2024-09-26 08:44:05
Edit Download
77 B lrw-r--r-- 2024-03-31 08:16:00
Edit Download
490 B lrw-r--r-- 2024-03-31 08:16:00
Edit Download
1.20 KB lrw-r--r-- 2024-03-31 08:16:00
Edit Download
1.16 KB lrw-r--r-- 2024-03-31 08:16:00
Edit Download
164 B lrw-r--r-- 2024-03-31 08:16:00
Edit Download
158 B lrw-r--r-- 2024-03-31 08:16:00
Edit Download
1.26 KB lrw-r--r-- 2024-03-31 08:16:00
Edit Download
506 B lrw-r--r-- 2024-03-31 08:16:00
Edit Download
21 B lrw-r--r-- 2026-01-23 09:07:36
Edit Download
185 B lrw-r--r-- 2026-01-08 12:56:36
Edit Download
590 B lrw-rw-r-- 2026-06-19 12:29:22
Edit Download
2.18 KB lrw-r--r-- 2026-01-23 09:07:36
Edit Download
798 B lrw-r--r-- 2024-03-24 15:35:54
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).