Page MenuHomeFreeBSD

ps(1): find_varentry() to take a name instead of a VAR
ClosedPublic

Authored by olce on Apr 1 2025, 1:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 22, 2:32 PM
Unknown Object (File)
Wed, May 13, 5:46 PM
Unknown Object (File)
Mon, Apr 27, 11:22 AM
Unknown Object (File)
Apr 21 2026, 7:13 AM
Unknown Object (File)
Apr 20 2026, 4:28 AM
Unknown Object (File)
Apr 18 2026, 5:51 AM
Unknown Object (File)
Apr 6 2026, 11:57 AM
Unknown Object (File)
Mar 8 2026, 1:31 PM
Subscribers

Details

Summary

The only information that find_varentry() needs and uses is
a keyword/var name. The rest of the fields in the passed VAR are
unused.

Changing its signature will ease introducing new calls to
find_varentry() in subsequent commits, as there no VAR object will exist
to be passed but just a name.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63251
Build 60135: arc lint + arc unit