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, Nov 13, 11:34 AM
Unknown Object (File)
Thu, Nov 7, 12:24 AM
Unknown Object (File)
Thu, Nov 7, 12:24 AM
Unknown Object (File)
Tue, Oct 22, 1:47 PM
Unknown Object (File)
Tue, Oct 22, 1:47 PM
Unknown Object (File)
Tue, Oct 22, 1:47 PM
Unknown Object (File)
Tue, Oct 22, 1:47 PM
Unknown Object (File)
Tue, Oct 22, 1:27 PM
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 Not Applicable
Unit
Tests Not Applicable