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)
Thu, Oct 9, 12:02 AM
Unknown Object (File)
Sat, Sep 27, 11:04 PM
Unknown Object (File)
Sat, Sep 20, 7:41 AM
Unknown Object (File)
Sun, Sep 14, 6:47 AM
Unknown Object (File)
Sep 5 2025, 10:32 AM
Unknown Object (File)
Aug 25 2025, 5:22 AM
Unknown Object (File)
Aug 21 2025, 2:38 PM
Unknown Object (File)
Aug 16 2025, 11:56 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 Not Applicable
Unit
Tests Not Applicable