Age | Commit message (Collapse) | Author |
|
|
|
Positive feedback and/or OKs from benno millert jcs aja jasper
|
|
implies http://hostname/pub/OpenBSD/[snapshots-or-version]/packages/[arch].
This could be handled at a different location in the code to support PKG_PATH
but this approach is pretty simple and I have something else to make use of it.
ok espie@ for now.
|
|
|
|
verbiage around to make things clearer.
|
|
OK reyk
|
|
|
|
OK krw@
|
|
|
|
|
|
From Martin Natano.
|
|
terminated after all. So add an extra byte for a NUL in the in-memory
struct's.
|
|
- add -q to usage()
|
|
|
|
OK mmcc@
|
|
Instead of pre-allocating maximum number of Grant Table frames allotted by
the hypervisor we switch over to allocating them dynamically when the need
arises. At the same time we no longer link metadata entries representing
individual Grant Table frames as a list and use a table instead to speed
up reference lookups when establishing and removing mappings.
|
|
|
|
|
|
field and left over code that checks for logical != physical.
Removes confusion with dmpe fields lblock_start and lblocks, which
have nothing to do with block sizes! lblock_start is the block
offset within the partition where the data actually starts. and
lblocks is the number of blocks of data within the partition. Both
are in units of *physical blocks*, a.k.a. disk sectors.
|
|
ok reyk@
|
|
|
|
reading partition map.
Check for unmapped physical blocks and overlapping partitions when reading
partition map.
No need for duplicate checks in validate_map(), so remove validate.c from
build and 'v' command from code and docs.
|
|
- use strtonum rather than atoi
- zap case '?' in getopt(3) switch
- use _exit(2) in signal handler
- use __progname in usage() instead of hardcoded name
OK tb@ mestre@
|
|
Based on the number and type of other system headers which pull in ioccom.h, and
the fact that videoio.h isn't involved in any massive chain of includes in the
kernel, I think it's reasonable and makes porting simpler. -- sthen@
from Brad
very reasonable feinerer@, ok sthen@
|
|
Ok jung@ gilles@ eric@
|
|
contain text files with whitespace, newlines and carriage returns.
|
|
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@
|
|
Simplifies the API to manipulate symbols now that all our architectures
are ELF.
ok tb@
|
|
|
|
Needed for the key-value interface that has been added to pvbus(4).
OK mikeb@
|
|
in the underlying information store of the host from the OpenBSD-VM's
userspace. OpenBSD did not provide access to these stores before,
mostly because we did not want to add a custom tool and interface for
each hypervisor. The pvbus(4) interface provides backends for
xen(4)'s XenStore and vmt(4)'s VMware Tools "guestinfo". These
information stores are fairly different, XenStore is a "filesystem"
while vmt is a RPC, and the key-value abstraction limits them a bit
but provides the most wanted functionality.
Discussed with many
OK mikeb@
|
|
which run for many cycles and may even sleep. This leads to other threads
spinning for a long time waiting on the lock. Using a mutex means those
threads go to sleep and get woken up when the lock is released, which results
in a lot less CPU usage. More work is needed to improve the performance of
threaded code that suffers from malloc lock contention, but this diff makes
ports like Firefox significantly more usable.
Tested by many.
ok mpi@, guenther@, tedu@, jca@
|
|
query-chaining machinery.
ok jung@ gilles@
|
|
|
|
RCS ident downstream; requested by des AT des.no
|
|
|
|
ok jsing@
|
|
|
|
|
|
|
|
statements.
|
|
most DPISTRLEN (32) characters so there is no need for fancy dynamic
growing strings. Use a DPISTRLEN long buffer and bail if it fills up.
Rename get_string() to get_dpistr() and get_string_argument() to
get_dpstr_argument() to emphasize they will return strings that fit
in DPISTRLEN.
Rework & simplify a pair of their consumers - do_rename_partition() and
do_change_type() - to be more obviously identitical to each other bar
the displayed verbiage.
|
|
OK krw@
|
|
OK mpi@
|
|
strlcpy() to fill them.
They are also supposed to be NUL-padded so zap previous contents
before copying in possibly shorter new values.
|
|
ok tb@
|
|
|
|
bits in the form:
for (i = 1; i; i <<= 1)
This avoids undefined operations when shifting into and out of the
highest-order bit.
ok millert@
|
|
with emacs' behaviour.
from Harald Dunkel via Han Boetes
ok lum@
|
|
ok nicm@
|