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)
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
Unknown Object (File)
Sep 24 2024, 3:05 PM
Unknown Object (File)
Sep 24 2024, 6:37 AM
Unknown Object (File)
Sep 18 2024, 6:50 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