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, Feb 13, 8:16 AM
Unknown Object (File)
Tue, Feb 11, 10:32 PM
Unknown Object (File)
Jan 14 2025, 9:12 PM
Unknown Object (File)
Jan 13 2025, 5:10 AM
Unknown Object (File)
Jan 7 2025, 8:45 AM
Unknown Object (File)
Dec 30 2024, 10:20 PM
Unknown Object (File)
Nov 21 2024, 4:11 PM
Unknown Object (File)
Nov 14 2024, 12:44 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