Date: Fri, 07 Jun 2024 10:28:05 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 279566] procctl not working as expected. Message-ID: <bug-279566-227-GaKezgxs94@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-279566-227@https.bugs.freebsd.org/bugzilla/> References: <bug-279566-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279566 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> --- This is what I get on stable/14: solo% echo $$ = ~ 130 In other session solo% proccontrol -m trace -s disable -p 130 solo% proccontrol -m trace -q -p 130 disabled solo% truss -p 130 truss: can not attach to target process: Operation not permitted Similarly, with your test program and another victim process 1299: solo% proccontrol -m trace -q -p 1299 enabled, no debugger solo% cc -o pr-279566 pr-279566.c solo% proccontrol -m trace -q -p 1299 enabled, no debugger solo% ./pr-279566 1299 Tracing disabled for process 1299 solo% proccontrol -m trace -q -p 1299 disabled solo% truss -p 1299 truss: can not attach to target process: Operation not permitted --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279566-227-GaKezgxs94>