Page MenuHomeFreeBSD

proccontrol: make -s require a target
ClosedPublic

Authored by brooks on Aug 23 2024, 5:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 4, 10:07 PM
Unknown Object (File)
Wed, Apr 1, 4:58 AM
Unknown Object (File)
Sat, Mar 28, 7:06 AM
Unknown Object (File)
Sat, Mar 14, 3:35 PM
Unknown Object (File)
Mar 11 2026, 12:32 PM
Unknown Object (File)
Mar 11 2026, 6:00 AM
Unknown Object (File)
Mar 9 2026, 8:18 PM
Unknown Object (File)
Feb 8 2026, 2:45 AM
Subscribers

Details

Summary

Require a command to exec or a pid to target and update usage and the
manpage to make this more clear.

It makes no sense to invoke a procctl(2) command on the current process
only to exit. Users are sometimes confused about how proccontrol works
and think it effects their shell environment when invoked without a
target. Disallowing this nonsensical behavior and clarifiying usage
will hopefully reduce confusion.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 59161
Build 56048: arc lint + arc unit