[Bug 233179] FreeBSD 12.0-BETA - pkill/pgrep have 20 chars limit

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 16 22:53:30 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233179

Yuri Pankov <yuripv at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yuripv at FreeBSD.org

--- Comment #1 from Yuri Pankov <yuripv at FreeBSD.org> ---
This is likely due to command name having size of (COMMLEN + 1) (which is 19 +
1 for terminating NUL character) in struct kinfo_proc.  Note that pgrep in
linux seems to have the same limitation. Use `pgrep -f` (match against full
argument list) for workaround.

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


More information about the freebsd-bugs mailing list