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)
Thu, Jul 16, 7:53 AM
Unknown Object (File)
Sat, Jun 27, 12:15 PM
Unknown Object (File)
Fri, Jun 26, 10:42 AM
Unknown Object (File)
Jun 3 2026, 9:17 AM
Unknown Object (File)
May 20 2026, 9:27 AM
Unknown Object (File)
May 16 2026, 7:01 PM
Unknown Object (File)
May 16 2026, 7:01 PM
Unknown Object (File)
May 16 2026, 6:59 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