PHP 8.5.2
Preview: 10-ptrace.conf Size: 1.26 KB
/etc/sysctl.d/10-ptrace.conf

# The PTRACE system is used for debugging.  With it, a single user process
# can attach to any other dumpable process owned by the same user.  In the
# case of malicious software, it is possible to use PTRACE to access
# credentials that exist in memory (re-using existing SSH connections,
# extracting GPG agent information, etc).
#
# A PTRACE scope of "0" is the more permissive mode.  A scope of "1" limits
# PTRACE only to direct child processes (e.g. "gdb name-of-program" and
# "strace -f name-of-program" work, but gdb's "attach" and "strace -fp $PID"
# do not).  The PTRACE scope is ignored when a user has CAP_SYS_PTRACE, so
# "sudo strace -fp $PID" will work as before.  For more details see:
# https://wiki.ubuntu.com/SecurityTeam/Roadmap/KernelHardening#ptrace
#
# For applications launching crash handlers that need PTRACE, exceptions can
# be registered by the debugee by declaring in the segfault handler
# specifically which process will be using PTRACE on the debugee:
#   prctl(PR_SET_PTRACER, debugger_pid, 0, 0, 0);
#
# In general, PTRACE is not needed for the average running Ubuntu system.
# To that end, the default is to set the PTRACE scope to "1".  This value
# may not be appropriate for developers or servers with only admin accounts.
kernel.yama.ptrace_scope = 1

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).