Skip to content

Commit 7c63e64

Browse files
committed
Document extensions to the qrexec policy daemon protocol
They were not documented, and several are not optional. Fixes: QubesOS/qubes-issues#9038
1 parent f42521d commit 7c63e64

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

doc/qrexec-policy-daemon.rst

+13-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,16 @@ Any possible extensions may be placed on next lines.
3030
All responses that do not start with `result=allow` or `result=deny` are
3131
incorrect and will be rejected.
3232

33-
End of response and request is always an empty line.
33+
End of request is always an empty line.
34+
Response is always terminated by EOF.
35+
36+
Extensions include:
37+
38+
- `target=`: Name of the target, optionally preceded by `@dispvm:`
39+
`@dispvm:` prefix means that this is a disposable VM template and a new disposable VM will be created automatically.
40+
In allow responses, ignored if `target_uuid=` is present, required otherwise.
41+
Forbidden in deny responses.
42+
- `autostart=`: `True` to automatically start the VM, `False` to not start it.
43+
Anything else is invalid.
44+
Required in allow responses, forbidden in deny responses.
45+
- `requested_target=`: Normalized version of the target domain.

0 commit comments

Comments
 (0)