[Bug 279566] procctl not working as expected.

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 22 May 2026 04:13:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279566

--- Comment #6 from WZIS Software <wzis@hotmail.com> ---
what I have found is on a FreeBSD ba143 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1
GENERIC arm64 VM, even without doing anything, processes are not allowed by the
truss to attach:
root 47510   0.0  0.7 22620 10928  -  S    06:38      0:00.02 sshd-session:
root@pts/0 (
root 47525   0.0  0.7 22620 10624  -  Is   06:40      0:00.01 sshd-session:
root [priv]
root 47528   0.0  0.7 22620 10928  -  I    06:40      0:00.00 sshd-session:
root@pts/2 (
root  1065   0.0  0.1 12748  2204 u0  Is+  Mon21      0:00.00
/usr/libexec/getty 3wire t
root  1057   0.0  0.2 13296  2800 v0  Is   Mon21      0:00.01 login [pam]
(login)
root  1066   0.0  0.2 13404  3140 v0  I+   Mon21      0:00.08 -sh (sh)
root  1058   0.0  0.1 12748  2208 v1  Is+  Mon21      0:00.00
/usr/libexec/getty Pc ttyv
root  1059   0.0  0.1 12748  2208 v2  Is+  Mon21      0:00.00
/usr/libexec/getty Pc ttyv
root  1060   0.0  0.1 12748  2204 v3  Is+  Mon21      0:00.00
/usr/libexec/getty Pc ttyv
root  1061   0.0  0.1 12748  2216 v4  Is+  Mon21      0:00.00
/usr/libexec/getty Pc ttyv
root  1062   0.0  0.1 12748  2204 v5  Is+  Mon21      0:00.00
/usr/libexec/getty Pc ttyv
root  1063   0.0  0.1 12748  2204 v6  Is+  Mon21      0:00.00
/usr/libexec/getty Pc ttyv
root  1064   0.0  0.1 12748  2204 v7  Is+  Mon21      0:00.00
/usr/libexec/getty Pc ttyv
root 47511   0.0  0.2 13404  3044  0  Ss   06:38      0:00.03 -sh (sh)
root 47546   0.0  0.2 13524  2908  0  R+   06:42      0:00.00 ps aux
root 42942   0.0  0.2 13404  3056  1  Is+  05:57      0:00.01 -sh (sh)
root 47529   0.0  0.2 13404  3048  2  Is+  06:40      0:00.01 -sh (sh)
root@ba143:/u/gwz/myapp/wzsh # uname -a
FreeBSD ba143 14.4-RELEASE-p1 FreeBSD 14.4-RELEASE-p1 GENERIC arm64
root@ba143:/u/gwz/myapp/wzsh # truss -p 1066
truss: Cannot attach to target process: Function not implemented
root@ba143:/u/gwz/myapp/wzsh #

-- 
You are receiving this mail because:
You are the assignee for the bug.