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)
Thu, Aug 13, 7:57 PM
Unknown Object (File)
Thu, Aug 13, 1:59 PM
Unknown Object (File)
Tue, Aug 11, 11:25 AM
Unknown Object (File)
Tue, Aug 11, 11:22 AM
Unknown Object (File)
Mon, Aug 10, 8:56 PM
Unknown Object (File)
Mon, Aug 10, 5:15 PM
Unknown Object (File)
Sat, Aug 8, 11:28 PM
Unknown Object (File)
Sat, Aug 8, 5:33 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 Not Applicable
Unit
Tests Not Applicable