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, Jan 22, 1:40 AM
Unknown Object (File)
Dec 14 2024, 12:54 AM
Unknown Object (File)
Dec 12 2024, 5:11 PM
Unknown Object (File)
Dec 1 2024, 9:55 AM
Unknown Object (File)
Nov 17 2024, 9:36 AM
Unknown Object (File)
Nov 15 2024, 12:51 AM
Unknown Object (File)
Nov 13 2024, 11:34 AM
Unknown Object (File)
Nov 7 2024, 12:24 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 Not Applicable
Unit
Tests Not Applicable