CVSROOT:        /cvs
Module name:    src
Changes by:     p...@cvs.openbsd.org    2018/02/17 18:00:25

Modified files:
        usr.sbin/vmd   : vmd.c 

Log message:
vmd: fix vmctl pause for non existing vm ids (never returns)

check if vm id is valid before sending to vmm for pausing. The 'lock' is caused
by vmm sending back ENOENT for a non existent vm but vmd drops the message
because it doesn't recogize the vmid vmm is talking about. This is an artifact
of the 'policy' don't trust any imsg from a sibling priv sep process and do
your own checking.

reported by Abel Abraham Camarillo Ojeda
ok mlarkin@ and ccardenas@

Reply via email to