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)
Nov 6 2025, 6:35 AM
Unknown Object (File)
Nov 1 2025, 6:08 AM
Unknown Object (File)
Oct 29 2025, 1:12 PM
Unknown Object (File)
Oct 29 2025, 11:34 AM
Unknown Object (File)
Oct 26 2025, 2:02 AM
Unknown Object (File)
Oct 21 2025, 1:30 AM
Unknown Object (File)
Oct 16 2025, 6:51 PM
Unknown Object (File)
Oct 15 2025, 9:28 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 Not Applicable
Unit
Tests Not Applicable