mirror of
https://github.com/opnsense/src.git
synced 2026-04-11 20:40:03 -04:00
environment needed at boot time to a dynamic subsystem when VM is up. The dynamic kernel environment is protected by an sx lock. This adds some new functions to manipulate the kernel environment : freeenv(), setenv(), unsetenv() and testenv(). freeenv() has to be called after every getenv() when you have finished using the string. testenv() only tests if an environment variable is present, and doesn't require a freeenv() call. setenv() and unsetenv() are self explanatory. The kenv(2) syscall exports these new functionalities to userland, mainly for kenv(1). Reviewed by: peter |
||
|---|---|---|
| .. | ||
| apm | ||
| cbus | ||
| compile | ||
| conf | ||
| i386 | ||
| pc98 | ||