Page MenuHomeFreeBSD

loader: we can only env_discard() existing variable
ClosedPublic

Authored by tsoome on Feb 25 2024, 10:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 20, 9:27 AM
Unknown Object (File)
Sat, May 16, 7:01 PM
Unknown Object (File)
Sat, May 16, 7:01 PM
Unknown Object (File)
Sat, May 16, 6:59 PM
Unknown Object (File)
Sat, May 9, 1:02 PM
Unknown Object (File)
Fri, May 8, 8:07 AM
Unknown Object (File)
Sun, May 3, 11:20 AM
Unknown Object (File)
Wed, Apr 29, 7:22 AM
Subscribers

Details

Summary

While dropping nvpair from nvstore, we also remove the corresponding
environment variable. By doing so, we should be careful not to try
to unset non-existing variable.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 56238
Build 53126: arc lint + arc unit