Page MenuHomeFreeBSD

proccontrol: make -s require a target
ClosedPublic

Authored by brooks on Aug 23 2024, 5:19 PM.
Tags
None
Referenced Files
F162225299: D46422.id142383.diff
Sat, Jul 11, 1:47 AM
Unknown Object (File)
Tue, Jun 23, 2:57 PM
Unknown Object (File)
Jun 9 2026, 3:19 PM
Unknown Object (File)
Jun 8 2026, 1:40 PM
Unknown Object (File)
May 9 2026, 9:47 AM
Unknown Object (File)
May 1 2026, 12:17 PM
Unknown Object (File)
Apr 30 2026, 7:48 PM
Unknown Object (File)
Apr 30 2026, 7:48 PM
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