[Bug 279566] procctl not working as expected.
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 279566] procctl not working as expected."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 07 Jun 2024 10:28:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279566 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 -- You are receiving this mail because: You are the assignee for the bug.