New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qrexec policy: use special symbols for 'anyvm' and 'dispvm' #281

Closed
marmarek opened this Issue Mar 8, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by joanna on 17 Jul 2011 21:01 UTC
Interpreting the common words 'anyvm' and 'dispvm' in a special way (which is what is being done now) can only get the user into troubles. We should use special symbols (not normally allowed to occur in the VM name) to specify those special cases, such as e.g. '' instead of 'anyvm', and perhaps 'disp' (which would be consistent with DispVM nameing convention, assuming qubes.py would not allow the user to create other vms with such names)

Migrated-From: https://wiki.qubes-os.org/ticket/281

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 18 Jul 2011 14:45 UTC
Or perhaps: $anyvm, and $dispvm?

Also, make sure that the user cannot create a VM with the dame dispXX.

Member

marmarek commented Mar 8, 2015

Comment by joanna on 18 Jul 2011 14:45 UTC
Or perhaps: $anyvm, and $dispvm?

Also, make sure that the user cannot create a VM with the dame dispXX.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by rafal on 22 Jul 2011 14:24 UTC
Implemented in
http://git.qubes-os.org/?p=rafal/core.git;a=commit;h=c23cc480b8cbc6877fdc0973d3213e464d6b4ac4
prebeta2 branch.

Member

marmarek commented Mar 8, 2015

Comment by rafal on 22 Jul 2011 14:24 UTC
Implemented in
http://git.qubes-os.org/?p=rafal/core.git;a=commit;h=c23cc480b8cbc6877fdc0973d3213e464d6b4ac4
prebeta2 branch.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by rafal on 25 Jul 2011 07:42 UTC

Member

marmarek commented Mar 8, 2015

Modified by rafal on 25 Jul 2011 07:42 UTC

@marmarek marmarek closed this Mar 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment