diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2018-06-26 10:00:09 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2018-06-26 10:00:09 +0000 |
commit | d00c11bad092042bae1bf9afadd7297fa69f5b08 (patch) | |
tree | 30c79acf7e1b9fa1029a45c9c5f24a7bd183a7d6 /usr.sbin/vmd/vmd.h | |
parent | 8957befd2643b3c50e48cea8c1fd90324d71c97f (diff) |
Add "socket owner" to allow changing the owner of the vmd control socket.
This allows to open vmctl control or console access to other users
that are not in group wheel. Access for non-root users still defaults
to read-only actions unless you change the owner (user/group) of each
individual VM.
Requested by Mischa Peters
OK mlarkin@
Diffstat (limited to 'usr.sbin/vmd/vmd.h')
-rw-r--r-- | usr.sbin/vmd/vmd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/vmd/vmd.h b/usr.sbin/vmd/vmd.h index d0260c35929..27c17edb187 100644 --- a/usr.sbin/vmd/vmd.h +++ b/usr.sbin/vmd/vmd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmd.h,v 1.68 2018/04/27 12:15:10 mlarkin Exp $ */ +/* $OpenBSD: vmd.h,v 1.69 2018/06/26 10:00:08 reyk Exp $ */ /* * Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org> @@ -105,7 +105,8 @@ enum imsg_type { IMSG_VMDOP_PRIV_IFRDOMAIN, IMSG_VMDOP_VM_SHUTDOWN, IMSG_VMDOP_VM_REBOOT, - IMSG_VMDOP_CONFIG + IMSG_VMDOP_CONFIG, + IMSG_VMDOP_DONE }; struct vmop_result { |