openbsd
6 years agotweak previous;
jmc [Sun, 15 Jul 2018 11:35:57 +0000 (11:35 +0000)]
tweak previous;

6 years agoadjust the example hostname.if to show "wpakey" on the same line as "nwid",
phessler [Sun, 15 Jul 2018 10:46:48 +0000 (10:46 +0000)]
adjust the example hostname.if to show "wpakey" on the same line as "nwid",
and provide an IPv6 autoconf example.

while here, split interface settings from IP assignment.

OK jmc@

6 years agoadjust hostname.if examples to show "wpakey" on the same line as "nwid"
phessler [Sun, 15 Jul 2018 10:44:49 +0000 (10:44 +0000)]
adjust hostname.if examples to show "wpakey" on the same line as "nwid"

OK jmc@

6 years agoImplement RFC 8106: IPv6 Router Advertisement Options for DNS
florian [Sun, 15 Jul 2018 09:28:21 +0000 (09:28 +0000)]
Implement RFC 8106: IPv6 Router Advertisement Options for DNS
Configuration.

6 years agomark up managed / other configuration
florian [Sun, 15 Jul 2018 09:27:02 +0000 (09:27 +0000)]
mark up managed / other configuration

6 years agoIt's a packet, not package.
florian [Sun, 15 Jul 2018 09:26:26 +0000 (09:26 +0000)]
It's a packet, not package.

6 years agonuke newd leftover
florian [Sun, 15 Jul 2018 09:25:41 +0000 (09:25 +0000)]
nuke newd leftover

6 years agoremove unused variable
gilles [Sun, 15 Jul 2018 08:49:12 +0000 (08:49 +0000)]
remove unused variable

6 years agoFix new-window -k, GitHub issue 1403.
nicm [Sun, 15 Jul 2018 06:57:13 +0000 (06:57 +0000)]
Fix new-window -k, GitHub issue 1403.

6 years ago$OpenBSD$
tb [Sun, 15 Jul 2018 06:03:31 +0000 (06:03 +0000)]
$OpenBSD$

6 years agoAlso revert regression tests so that EC_POINTs_mul() with longer vectors
tb [Sun, 15 Jul 2018 06:02:42 +0000 (06:02 +0000)]
Also revert regression tests so that EC_POINTs_mul() with longer vectors
gets exercised again.

6 years agoback out ecc constant time changes
jsg [Sun, 15 Jul 2018 05:38:48 +0000 (05:38 +0000)]
back out ecc constant time changes

after the constant time commits various regress tests started failing
on sparc64 ssh t9, libcrypto ec ecdh ecdsa and trying to ssh out
resulted in 'invalid elliptic curve value'

ok tb@

6 years agodon't run cvs_client_sendfile() if its file_type is CVS_DIR, but do not
joris [Sat, 14 Jul 2018 21:28:02 +0000 (21:28 +0000)]
don't run cvs_client_sendfile() if its file_type is CVS_DIR, but do not
depend on it being CVS_FILE explicitly.

unbreaks remote operations on removed files.

6 years agoDocument that route monitor also takes -T rtable as an argument.
benno [Sat, 14 Jul 2018 13:38:48 +0000 (13:38 +0000)]
Document that route monitor also takes -T rtable as an argument.

6 years agoMake route monitor display changes in all routing domains by forcing
benno [Sat, 14 Jul 2018 13:37:44 +0000 (13:37 +0000)]
Make route monitor display changes in all routing domains by forcing
the route filter to set RTABLE_ANY. Previously only the routing
table/rdomain of the route process was displayed (that being the
kernel default).
ok kn@ claudio@ and henning@

6 years agoget rid of two more implicit ktable_get with rdomain 0.
benno [Sat, 14 Jul 2018 12:32:35 +0000 (12:32 +0000)]
get rid of two more implicit ktable_get with rdomain 0.
should not change anything when run in rdomain 0.
ok henning@ phessler@ claudio@

6 years agoDon't pass an uninitialised size value to free(9). Pointer argument is
jsg [Sat, 14 Jul 2018 10:21:48 +0000 (10:21 +0000)]
Don't pass an uninitialised size value to free(9).  Pointer argument is
NULL in this path so free will return early without accessing it.

ok jca@ tb@

6 years agoRemove mention of old man directory
kn [Sat, 14 Jul 2018 10:02:24 +0000 (10:02 +0000)]
Remove mention of old man directory

OK espie

6 years agosync
jsg [Sat, 14 Jul 2018 09:07:27 +0000 (09:07 +0000)]
sync

6 years ago.El should have been zapped too;
jmc [Sat, 14 Jul 2018 07:40:17 +0000 (07:40 +0000)]
.El should have been zapped too;

6 years agozap network configuration section, it's a level of tinkering that's
espie [Sat, 14 Jul 2018 07:07:26 +0000 (07:07 +0000)]
zap network configuration section, it's a level of tinkering that's
not really supported.

add another ref to PORTS_PRIVSEP here, as it is really a good idea.

6 years agoRemove cscope leftover and a stray comma.
bentley [Fri, 13 Jul 2018 20:06:10 +0000 (20:06 +0000)]
Remove cscope leftover and a stray comma.

From "kshe" on tech@.

6 years agoopenssl app timers: TM_START -> TM_RESET, TM_STOP -> TM_GET
cheloha [Fri, 13 Jul 2018 18:36:56 +0000 (18:36 +0000)]
openssl app timers: TM_START -> TM_RESET, TM_STOP -> TM_GET

Much more apt than the current operation names.

Names suggested by jca@ ages ago.

ok jca, jsing

6 years agotweak previous; ok reyk
jmc [Fri, 13 Jul 2018 17:48:30 +0000 (17:48 +0000)]
tweak previous; ok reyk

6 years agoCorrect some typos and also ran it through mandoc -Tlint
mestre [Fri, 13 Jul 2018 17:18:34 +0000 (17:18 +0000)]
Correct some typos and also ran it through mandoc -Tlint

OK millert@ deraadt@ and jmc@ who also gave me a cluebat stick

6 years agoAdd & update author credits for Mary Ann Horton.
cheloha [Fri, 13 Jul 2018 16:59:46 +0000 (16:59 +0000)]
Add & update author credits for Mary Ann Horton.

Add credits for leave(1) and w(1); update credit for script(1).

Supported by the Spinellis repo and CSRG SCCS logs.

ok brynet millert jca jmc schwarze

6 years agonetwork -> interface; ok reyk@
anton [Fri, 13 Jul 2018 15:18:59 +0000 (15:18 +0000)]
network -> interface; ok reyk@

6 years agoexplicitly link libm for sqrt()/fmax() calls added in bgpctl.c rev 1.204
jsg [Fri, 13 Jul 2018 15:02:40 +0000 (15:02 +0000)]
explicitly link libm for sqrt()/fmax() calls added in bgpctl.c rev 1.204

6 years agounbreak gcc4 build
jsg [Fri, 13 Jul 2018 13:47:41 +0000 (13:47 +0000)]
unbreak gcc4 build

6 years agoCheck the disk/kernel/cdrom file permissions after openening the fd.
reyk [Fri, 13 Jul 2018 10:26:57 +0000 (10:26 +0000)]
Check the disk/kernel/cdrom file permissions after openening the fd.

This prevents time of TOCTOU attacks for instances.

OK mlarkin@

6 years agoMake the default failure for unveil while disabled return success
beck [Fri, 13 Jul 2018 09:36:00 +0000 (09:36 +0000)]
Make the default failure for unveil while disabled return success
so that people don't get screwed when playing with it on their
machines

6 years agosync
deraadt [Fri, 13 Jul 2018 09:28:07 +0000 (09:28 +0000)]
sync

6 years agoCrank minor for unveil
beck [Fri, 13 Jul 2018 09:27:07 +0000 (09:27 +0000)]
Crank minor for unveil
ok deraadt@

6 years agoUnveiling unveil(2).
beck [Fri, 13 Jul 2018 09:25:22 +0000 (09:25 +0000)]
Unveiling unveil(2).
This brings unveil into the tree, disabled by default - Currently
this will return EPERM on all attempts to use it until we are
fully certain it is ready for people to start using, but this
now allows for others to do more tweaking and experimentation.

Still needs to send the unveil's across forks and execs before
fully enabling.

Many thanks to robert@ and deraadt@ for extensive testing.
ok deraadt@

6 years agono longer interpret 0.192.168.4 in hosts(5) as 192.168.4/24
schwarze [Fri, 13 Jul 2018 09:19:42 +0000 (09:19 +0000)]
no longer interpret 0.192.168.4 in hosts(5) as 192.168.4/24
OK phessler@ claudio@ benno@ kn@
"steh' nicht rum, committe das" henning@

6 years agoMonitor the route socket and regenerate the list of interfaces and
florian [Fri, 13 Jul 2018 09:16:50 +0000 (09:16 +0000)]
Monitor the route socket and regenerate the list of interfaces and
messages to send when an interface shows up or disappears or
and address shows up or disappears.

6 years agoadd missing IMSG_STARTUP; unclear why this ever worked
florian [Fri, 13 Jul 2018 09:16:15 +0000 (09:16 +0000)]
add missing IMSG_STARTUP; unclear why this ever worked

6 years agoUse "rtable" not "tableid" as argument name for rtable
kn [Fri, 13 Jul 2018 09:06:58 +0000 (09:06 +0000)]
Use "rtable" not "tableid" as argument name for rtable

Make rtable(4) usage documentation consistent with other programs.
This is to have `man -k ar~rtable' show the full list without having to
look for other variations of the same argument type.

OK bluhm

6 years agoUnused variables.
krw [Fri, 13 Jul 2018 09:03:44 +0000 (09:03 +0000)]
Unused variables.

ok henning@

6 years agoUnused variable.
krw [Fri, 13 Jul 2018 09:02:07 +0000 (09:02 +0000)]
Unused variable.

ok martijn@ henning@

6 years agotests for next steps in unveil
beck [Fri, 13 Jul 2018 08:59:02 +0000 (08:59 +0000)]
tests for next steps in unveil

6 years agoSome USB network interfaces like rum(4) report ENXIO from their
bluhm [Fri, 13 Jul 2018 08:51:15 +0000 (08:51 +0000)]
Some USB network interfaces like rum(4) report ENXIO from their
ioctl function after the device has been pulled out.  Also accept
this error code in bpf_detachd() to prevent a kernel panic.  tcpdump(8)
may run while the interface is detached.
from Moritz Buhl; OK stsp@

6 years agoUnused variables.
krw [Fri, 13 Jul 2018 08:51:14 +0000 (08:51 +0000)]
Unused variables.

ok halex@

6 years agoFix some comments referencing sockets which are not used by the ber api. The
rob [Fri, 13 Jul 2018 08:50:38 +0000 (08:50 +0000)]
Fix some comments referencing sockets which are not used by the ber api. The
api uses read and write buffers (byte streams) that are utilized by calling
applications which may or may not use sockets.

ok claudio@

buffer byte streams that applications then use for

6 years agoWhen we nack a domain service because we don't support the requested major
kettenis [Fri, 13 Jul 2018 08:46:07 +0000 (08:46 +0000)]
When we nack a domain service because we don't support the requested major
version, provide a major version that we do support.

6 years agoEliminate the weird condition in the BN_swap_ct() API that at most one bit
tb [Fri, 13 Jul 2018 08:43:31 +0000 (08:43 +0000)]
Eliminate the weird condition in the BN_swap_ct() API that at most one bit
be set in condition. This makes the constant time bit-twiddling a bit
trickier, but it's not too bad. Thanks to halex for an extensive rubber
ducking session over a non-spicy spicy tabouleh falafel..

ok jsing, kn

6 years agoAdd "allow instance" option.
reyk [Fri, 13 Jul 2018 08:42:49 +0000 (08:42 +0000)]
Add "allow instance" option.

This allows users to create VM instances and change desired options,
for example a user can be allowed to run a VM with all the
pre-configured options but specify an own disk image.

(mlarkin@ was fine with iterating over it)

OK ccardenas@

6 years agoUnused variables.
krw [Fri, 13 Jul 2018 08:41:32 +0000 (08:41 +0000)]
Unused variables.

ok henning@ phessler@

6 years agoFix regression on child queue definitions
kn [Fri, 13 Jul 2018 08:41:15 +0000 (08:41 +0000)]
Fix regression on child queue definitions

I comitted the wrong diff in 1.680 which turned `queue cq parent pq ...'
into invalid syntax by changing `interface' to `ON if_item'.

Found by bket, thanks!

6 years agoUnused variable.
krw [Fri, 13 Jul 2018 08:39:33 +0000 (08:39 +0000)]
Unused variable.

ok deraadt@

6 years agopass control socket in from main
florian [Fri, 13 Jul 2018 08:32:10 +0000 (08:32 +0000)]
pass control socket in from main

6 years agopass in route socket from main; stub out handling for now
florian [Fri, 13 Jul 2018 08:31:34 +0000 (08:31 +0000)]
pass in route socket from main; stub out handling for now

6 years agoDisable codepatching infrastructure after boot
sf [Fri, 13 Jul 2018 08:30:34 +0000 (08:30 +0000)]
Disable codepatching infrastructure after boot

This way, it is not available for use in ROP attacks.  This diff puts the
codepatching code into a separate section and unmaps that section after boot.
In the future, the memory could potentially be reused but that would require
larger changes.

ok pguenther@

6 years agoFix loop condition in ber.c. Discussed with claudio.
rob [Fri, 13 Jul 2018 08:30:10 +0000 (08:30 +0000)]
Fix loop condition in ber.c. Discussed with claudio.

ok claudio@, jca@

6 years agoMove aspath_verify() and aspath_inflate() into util.c so bgpctl can use them.
claudio [Fri, 13 Jul 2018 08:18:11 +0000 (08:18 +0000)]
Move aspath_verify() and aspath_inflate() into util.c so bgpctl can use them.
With this it gets a bit easier to parse MRT update messages in bgpctl.
OK benno@ phessler@

6 years agorepair inconsistancies
deraadt [Fri, 13 Jul 2018 08:10:56 +0000 (08:10 +0000)]
repair inconsistancies

6 years agorepair inconsistancies
deraadt [Fri, 13 Jul 2018 08:10:45 +0000 (08:10 +0000)]
repair inconsistancies

6 years agobyebye MASTER_SITE_OVERRIDE, we won't miss you
espie [Fri, 13 Jul 2018 08:09:34 +0000 (08:09 +0000)]
byebye MASTER_SITE_OVERRIDE, we won't miss you

6 years agoExplain what the example is doing.
florian [Fri, 13 Jul 2018 08:08:11 +0000 (08:08 +0000)]
Explain what the example is doing.
Prompted by, tweak & OK jmc

6 years agoCheck protocol version number before sending an ack indicating that we
kettenis [Fri, 13 Jul 2018 07:29:08 +0000 (07:29 +0000)]
Check protocol version number before sending an ack indicating that we
support a domain services protocol.

6 years agoSome more checks before auto-join switches networks.
phessler [Fri, 13 Jul 2018 07:22:55 +0000 (07:22 +0000)]
Some more checks before auto-join switches networks.

Make sure all of the crypto options the AP announces matches what we
would configure.  While here, don't switch if the user has specified
a specific BSSID, and the new AP does not match.

OK stsp@

6 years agoadd rad.conf; from semarie; tweak & OK tb
florian [Fri, 13 Jul 2018 06:56:59 +0000 (06:56 +0000)]
add rad.conf; from semarie; tweak & OK tb

6 years agoUse _ALIGN_TRAPS instead of _ALIGN_TEXT where nops aren't needed.
guenther [Fri, 13 Jul 2018 05:56:57 +0000 (05:56 +0000)]
Use _ALIGN_TRAPS instead of _ALIGN_TEXT where nops aren't needed.

ok deraadt@

6 years agovarious tweaks; ok florian
jmc [Fri, 13 Jul 2018 05:25:29 +0000 (05:25 +0000)]
various tweaks; ok florian

6 years agozap some garbage that snuck in.
tb [Fri, 13 Jul 2018 05:25:24 +0000 (05:25 +0000)]
zap some garbage that snuck in.

spotted by kevlo

6 years ago- differentiate between join and nwid
jmc [Fri, 13 Jul 2018 05:22:34 +0000 (05:22 +0000)]
- differentiate between join and nwid
- remove some duplication between them
- document -join
- sort

ok phessler

6 years agomake this use ssh_proxy rather than starting/stopping a daemon for
djm [Fri, 13 Jul 2018 02:13:50 +0000 (02:13 +0000)]
make this use ssh_proxy rather than starting/stopping a daemon for
each testcase

6 years agofix leaks in unit test; with this, all unit tests are leak free
djm [Fri, 13 Jul 2018 02:13:19 +0000 (02:13 +0000)]
fix leaks in unit test; with this, all unit tests are leak free
(as far as valgrind can spot anyway)

6 years agowe will be toggling witness on/off a few times. when it is on, it raises
deraadt [Thu, 12 Jul 2018 22:09:04 +0000 (22:09 +0000)]
we will be toggling witness on/off a few times.  when it is on, it raises
awareness of problems.  when it is off, development cycles are faster.
let's do the faster cycle for a little while.
discussion with naddy

6 years agosync
deraadt [Thu, 12 Jul 2018 22:07:57 +0000 (22:07 +0000)]
sync

6 years agostore and print the rdomain of the interfaces we see.
benno [Thu, 12 Jul 2018 21:45:37 +0000 (21:45 +0000)]
store and print the rdomain of the interfaces we see.
ok phessler@ henning@

6 years agoif we couldn't update the clock for ~1h due to lack of data from peers and
henning [Thu, 12 Jul 2018 19:31:05 +0000 (19:31 +0000)]
if we couldn't update the clock for ~1h due to lack of data from peers and
sensors, mark us unsynced again. ok reyk krw, pt out / discussion / help naddy

6 years agomissing .Ek;
jmc [Thu, 12 Jul 2018 18:45:13 +0000 (18:45 +0000)]
missing .Ek;

6 years agoCleanup and clarify getuint64() by using the
krw [Thu, 12 Jul 2018 16:59:59 +0000 (16:59 +0000)]
Cleanup and clarify getuint64() by using the
same functions as auto-allocation. parse_sizespec()
and apply_unit(). No intentional functional
change.

Looked good to tb@

6 years agoCleanup and clarify the has_overlap() logic so it can be read by
krw [Thu, 12 Jul 2018 16:53:09 +0000 (16:53 +0000)]
Cleanup and clarify the has_overlap() logic so it can be read by
normal people and is more efficient to boot.

The only intentional functional change was to use mergesort()
instead of heapsort() so that partitions with the same offset
retain their order in the emitted verbiage.

Looked good to tb@, ok kn@

6 years agoRTM_CHGADDRATTR for route monitor
florian [Thu, 12 Jul 2018 16:08:02 +0000 (16:08 +0000)]
RTM_CHGADDRATTR for route monitor
OK phessler, benno, claudio

6 years agoIntroduce RTM_CHGADDRATTR to inform userland on the route socket when
florian [Thu, 12 Jul 2018 16:07:35 +0000 (16:07 +0000)]
Introduce RTM_CHGADDRATTR to inform userland on the route socket when
an attribute of an address is changed.
For now it's used when IPv6 duplicate address detection finishes.

With this slaacd(8) can find out if a configured address is not
duplicated without the need to poll.

OK phessler, benno, claudio

6 years agoIntroduce ipsec_output_cb() to merge duplicate code and account for
mpi [Thu, 12 Jul 2018 15:51:50 +0000 (15:51 +0000)]
Introduce ipsec_output_cb() to merge duplicate code and account for
dropped packets in the output path.

While here fix a memory leak when compression is not needed w/ IPcomp.

ok markus@

6 years agounbreak i386 build, thanks to pd@ for noticing. Same diff as I committed
mlarkin [Thu, 12 Jul 2018 15:48:02 +0000 (15:48 +0000)]
unbreak i386 build, thanks to pd@ for noticing. Same diff as I committed
earlier for amd64

6 years agozap an extra newline
mlarkin [Thu, 12 Jul 2018 15:13:33 +0000 (15:13 +0000)]
zap an extra newline

6 years agoThe vmctl start -I option was changed to -t.
reyk [Thu, 12 Jul 2018 14:53:37 +0000 (14:53 +0000)]
The vmctl start -I option was changed to -t.

I committed the manpage but accidentally forgot the main.c part.

OK ccardenas@

6 years agoAdd a function to delete all nodes with a specific name.
kettenis [Thu, 12 Jul 2018 14:46:45 +0000 (14:46 +0000)]
Add a function to delete all nodes with a specific name.
Add a function to determine the size of a machine description.

6 years agotrade few 'goto unlock: for 'break' in pf_test()
sashan [Thu, 12 Jul 2018 14:28:07 +0000 (14:28 +0000)]
trade few 'goto unlock: for 'break' in pf_test()

OK mpi@, OK henning@, OK jca@

6 years agoUnbreak the nmi handler (again): I placed INTR_CLEAR_GPRS in the wrong
guenther [Thu, 12 Jul 2018 14:24:54 +0000 (14:24 +0000)]
Unbreak the nmi handler (again): I placed INTR_CLEAR_GPRS in the wrong
place and GS.base was horked on return.  Also, the frame passed to ddb
didn't have the %rbp<-->tf_err swap, which would have confused backtraces.
Now if we can just come up with a way to automate testing the NMI handler
with qemu...

6 years ago- introducing _Q_INVALID to sys/queue.h
sashan [Thu, 12 Jul 2018 14:22:54 +0000 (14:22 +0000)]
- introducing _Q_INVALID to sys/queue.h

OK @bluhm, OK @otto, OK @guenther

6 years agoReorganize the Meltdown entry and exit trampolines for syscall and
guenther [Thu, 12 Jul 2018 14:11:11 +0000 (14:11 +0000)]
Reorganize the Meltdown entry and exit trampolines for syscall and
traps so that the "mov %rax,%cr3" is followed by an infinite loop
which is avoided because the mapping of the code being executed is
changed.  This means the sysretq/iretq isn't even present in that
flow of instructions in the kernel mapping, so userspace code can't
be speculatively reached on the kernel mapping and totally eliminates
the conditional jump over the the %cr3 change that supported CPUs
without the Meltdown vulnerability.  The return paths were probably
vulnerable to Spectre v1 (and v1.1/1.2) style attacks, speculatively
executing user code post-system-call with the kernel mappings, thus
creating cache/TLB/etc side-effects.

Would like to apply this technique to the interrupt stubs too, but
I'm hitting a bug in clang's assembler which misaligns the code and
symbols.

While here, when on a CPU not vulnerable to Meltdown, codepatch out
the unnecessary bits in cpu_switchto().

Inspiration from sf@, refined over dinner with theo
ok mlarkin@ deraadt@

6 years agofix Test 7.1 after main.c rev. 1.37;
schwarze [Thu, 12 Jul 2018 14:06:39 +0000 (14:06 +0000)]
fix Test 7.1 after main.c rev. 1.37;
breaking the output lines earlier with the 'l' command is intentional

6 years agoAdd support for rdomains.
remi [Thu, 12 Jul 2018 13:45:03 +0000 (13:45 +0000)]
Add support for rdomains.

small quirk from tb@
ok phessler@

6 years agoRemove cases for 1-bit and 4-bit color depths in efifb_ioctl(), as we
fcambus [Thu, 12 Jul 2018 12:47:57 +0000 (12:47 +0000)]
Remove cases for 1-bit and 4-bit color depths in efifb_ioctl(), as we
basically can't run in those modes.

OK kettenis@

6 years agoStop building rasops4 on amd64.
fcambus [Thu, 12 Jul 2018 12:46:00 +0000 (12:46 +0000)]
Stop building rasops4 on amd64.

It was pulled in for efifb, but it is extremely unlikely an EFI system
supporting only 4-bit color depth (16 colors) exists. Even if it existed
though, on SMALL_KERNEL rasops4_putchar() simply returns EAGAIN so it
would not be possible to install the system.

For the record, we do not build rasops4 on i386 or on any of our other
platforms either.

OK kettenis@, mpi@

6 years agoUse (mostly) the same capitalisation in the replacement string as in
florian [Thu, 12 Jul 2018 12:38:56 +0000 (12:38 +0000)]
Use (mostly) the same capitalisation in the replacement string as in
the replaced string:

replacing foo with bar turns

foo
Foo
FOO

into

bar
Bar
BAR

OK phessler, benno

6 years agosymlinks make my cry.. thanks robert.. don't you care about my feelings?
beck [Thu, 12 Jul 2018 12:20:11 +0000 (12:20 +0000)]
symlinks make my cry.. thanks robert.. don't you care about my feelings?

6 years agoWith the "depend on" option routes are sent out with a metric of 65535 if
remi [Thu, 12 Jul 2018 12:19:05 +0000 (12:19 +0000)]
With the "depend on" option routes are sent out with a metric of 65535 if
the referenced interface is down or in state backup. This is especially
useful on a carp cluster to ensure all traffic goes to the carp master.

ok friehm@ jca@

6 years agoAllow to use configured/running VMs as templates for other VM instances.
reyk [Thu, 12 Jul 2018 12:04:49 +0000 (12:04 +0000)]
Allow to use configured/running VMs as templates for other VM instances.

This introduces new grammar and the -t optional in vmctl start.

(For now, only root can create VM instances; but it is planned to allow
users to create their own VMs based on permissions and quota.)

OK ccardenas@ mlarkin@ jmc@

6 years agoAdd regress test for realpath and modify behavior appropriately
beck [Thu, 12 Jul 2018 11:42:33 +0000 (11:42 +0000)]
Add regress test for realpath and modify behavior appropriately

6 years agozap a blank line
mlarkin [Thu, 12 Jul 2018 10:16:41 +0000 (10:16 +0000)]
zap a blank line

6 years agovmm(8)/vmm(4): send a copy of the guest register state to vmd on exit,
mlarkin [Thu, 12 Jul 2018 10:15:44 +0000 (10:15 +0000)]
vmm(8)/vmm(4): send a copy of the guest register state to vmd on exit,
avoiding multiple readregs ioctls back to vmm in case register content
is needed subsequently.

ok phessler

6 years agorc(8) infrastructure for rad
florian [Thu, 12 Jul 2018 08:20:36 +0000 (08:20 +0000)]
rc(8) infrastructure for rad

6 years agohook up rad(8) and ractl(8) to the build
florian [Thu, 12 Jul 2018 08:19:00 +0000 (08:19 +0000)]
hook up rad(8) and ractl(8) to the build

6 years agouse _rad user
florian [Thu, 12 Jul 2018 08:18:10 +0000 (08:18 +0000)]
use _rad user