| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
value of !NUL rather than NUL.
Submitted by: luigi
Pointy hat to: jhb
|
|
|
|
|
|
| |
returns an success/failure code rather than the actual value.
- Add getenv_string() which copies a string from the environment to another
string and returns true on success.
|
|
|
|
|
|
|
| |
tunable.
Reviewed by: peter
MFC after: 2 weeks
|
| |
|
|
|
|
| |
'kenv' command, which I obviously was unaware of.
|
|
|
|
|
| |
environment from the loader, as well as the kernel's compiled in static
hints.
|
|
|
|
|
|
| |
take a const 'name', since they dont modify anything.
159: warning: passing arg 1 of `getenv_int' discards qualifiers...
167: warning: passing arg 1 of `getenv' discards qualifiers from pointer..
|
|
|
|
|
|
|
| |
around, use a common function for looking up and extracting the tunables
from the kernel environment. This saves duplicating the same function
over and over again. This way typically has an overhead of 8 bytes + the
path string, versus about 26 bytes + the path string.
|
|
|
|
| |
Pointed out by: bde
|
|
|
|
|
|
|
|
| |
Sanitize SYSCTL_HANDLER_ARGS so that simplistic tools can grog our
sources:
-sysctl_vm_zone SYSCTL_HANDLER_ARGS
+sysctl_vm_zone (SYSCTL_HANDLER_ARGS)
|
|
|
|
|
|
|
|
|
|
|
| |
parameter a char ** instead of a const char **. This make these
kernel routines consistent with the corresponding libc userland
routines.
Which is actually 'correct' is debatable, but consistency and
following the spec was deemed more important in this case.
Reviewed by (in concept): phk, bde
|
| |
|
|
|
|
| |
Submitted by: phk
|
| |
|
| |
|
|
|
|
| |
*cp == '='.
|
|
|
|
|
| |
environment variables. This makes it easy to pass tuning parameters
in from the bootloader.
|
|
|
|
| |
in MD code instead.
|
| |
|
|
|