]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add procctl(2) PROC_TRACE_CTL command to enable or disable debugger
authorKonstantin Belousov <kib@FreeBSD.org>
Sun, 18 Jan 2015 15:13:11 +0000 (15:13 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Sun, 18 Jan 2015 15:13:11 +0000 (15:13 +0000)
commit677258f7e72fcafc9ff820ba1cae482182b0014b
tree406845e7428cb2139db4e8afc4299216a84a92a7
parente3612a4c1f89a7f8cadc9640537efd9fd7865b3a
Add procctl(2) PROC_TRACE_CTL command to enable or disable debugger
attachment to the process.  Note that the command is not intended to
be a security measure, rather it is an obfuscation feature,
implemented for parity with other operating systems.

Discussed with: jilles, rwatson
Man page fixes by: rwatson
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
lib/libc/sys/procctl.2
sys/compat/freebsd32/freebsd32_misc.c
sys/kern/kern_exec.c
sys/kern/kern_fork.c
sys/kern/kern_procctl.c
sys/kern/kern_prot.c
sys/kern/kern_sig.c
sys/sys/priv.h
sys/sys/proc.h
sys/sys/procctl.h