Add Qubes 4.0 policy keywords

This commit is contained in:
Marek Marczykowski-Górecki 2017-06-25 13:02:48 +02:00
parent caf8dfb91a
commit 7756a5353a
No known key found for this signature in database
GPG Key ID: F32894BE9684938A

View File

@ -192,6 +192,15 @@ second rule allowing calls to `$dispvm:anon-whonix-dvm`, or even if
there is a rule explicitly denying it. This is because the redirection happen
_after_ considering the action.
In Qubes 4.0 there are also additional methods to specify source/target VM:
* `$tag:some-tag` - meaning a VM with tag `some-tag`
* `$type:type` - meaning a VM of `type` (like `AppVM`, `TemplateVM` etc)
Target VM can be also specified as `$default`, which matches the case when
calling VM didn't specified any particular target (either by using `$default`
target, or empty target).
### Service argument in policy
Sometimes just service name isn't enough to make reasonable qrexec policy. One