summaryrefslogtreecommitdiffstats
path: root/usr.sbin/hostctl/hostctl.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-3/+3
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* hostctl: Don't crash if key is empty stringsf2018-07-031-3/+2
| | | | ok reyk@
* - sort optionsjmc2016-01-271-2/+2
| | | | - add -q to usage()
* Use "VIS_SAFE | VIS_CSTYLE" instead of "VIS_OCTAL" as the value canreyk2016-01-271-4/+4
| | | | contain text files with whitespace, newlines and carriage returns.
* Add hostctl(8), a tool to access key-value stores on the host,reyk2016-01-271-0/+211
currently for hypervisor information stores on pvbus(4). As discussed with deraadt@, the generic name is used to potentially extend it for other use cases where the host or machine firmware provides a key-value store, hypervisors or things like openprom. Not enabled yet. OK mikeb@