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
F167286598: D49609.diff
Thu, Aug 20, 4:13 PM
F167251073: D49609.id152969.diff
Thu, Aug 20, 9:23 AM
F167223899: D49609.id154391.diff
Thu, Aug 20, 2:20 AM
F167223843: D49609.id154391.diff
Thu, Aug 20, 2:19 AM
Unknown Object (File)
Thu, Aug 13, 2:18 PM
Unknown Object (File)
Sun, Aug 9, 2:43 PM
Unknown Object (File)
Sun, Aug 9, 2:43 PM
Unknown Object (File)
Sun, Aug 9, 2:35 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