Skip to content

Commit

Permalink
flask/policy: remove unused example
Browse files Browse the repository at this point in the history
The access vectors defined here have never been used by xenstore.

Signed-off-by: Daniel De Graaf <[email protected]>
Reviewed-by: Konrad Rzeszutek Wilk <[email protected]>
Reviewed-by: Doug Goldstein <[email protected]>
  • Loading branch information
dgdegraaf authored and andyhhp committed Jun 21, 2016
1 parent 2511f89 commit b49839e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
23 changes: 2 additions & 21 deletions tools/flask/policy/policy/access_vectors
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
# Locally defined access vectors
#
# Define access vectors for the security classes defined in security_classes
# Define access vectors for the security classes defined in security_classes.
# Access vectors defined in this file should not be used by the hypervisor.
#

# Note: this is an example; the xenstore daemon provided with Xen does
# not yet include XSM support, and the exact permissions may be defined
# differently if such support is added.
class xenstore {
# read from keys owned by the target domain (if permissions allow)
read
# write to keys owned by the target domain (if permissions allow)
write
# change permissions of a key owned by the target domain
chmod
# change the owner of a key which was owned by the target domain
chown_from
# change the owner of a key to the target domain
chown_to
# access a key owned by the target domain without permission
override
# introduce a domain
introduce
}
1 change: 0 additions & 1 deletion tools/flask/policy/policy/security_classes
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
# security policy.
#
# Access vectors for these classes must be defined in the access_vectors file.
class xenstore

0 comments on commit b49839e

Please sign in to comment.