OpenBSD CVS

CVS log for src/usr.sbin/hostctl/hostctl.c


[BACK] Up to [local] / src / usr.sbin / hostctl

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 7 06:40:21 2023 UTC (16 months, 3 weeks ago) by asou
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.5: +19 -5 lines
Diff to previous 1.5 (colored)

The maximum length of the value is extended to 64k bytes.

ok yasuoka

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jun 28 13:32:47 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

When system calls indicate an error they return -1, not some arbitrary
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.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 3 16:42:51 2018 UTC (5 years, 11 months ago) by sf
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.3: +2 -3 lines
Diff to previous 1.3 (colored)

hostctl: Don't crash if key is empty string

ok reyk@

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jan 27 16:01:36 2016 UTC (8 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

- sort options
- add -q to usage()

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jan 27 12:33:02 2016 UTC (8 years, 4 months ago) by reyk
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Use "VIS_SAFE | VIS_CSTYLE" instead of "VIS_OCTAL" as the value can
contain text files with whitespace, newlines and carriage returns.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 27 12:27:31 2016 UTC (8 years, 4 months ago) by reyk
Branch: MAIN

Add hostctl(8), a tool to access key-value stores on the host,
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@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.