Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d3c0d816
authored
Aug 08, 2015
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vmdriver: fix vmdriver.te security module for kvm
parent
83767149
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
+10
-1
salt/vmdriver/files/vmdriver.te
+10
-1
No files found.
salt/vmdriver/files/vmdriver.te
View file @
d3c0d816
module vmdriver 1.
0
;
module vmdriver 1.
1
;
require {
require {
type virt_var_lib_t;
type virt_var_lib_t;
type svirt_tcg_t;
type svirt_tcg_t;
type svirt_t;
type default_t;
class sock_file { create unlink };
class sock_file { create unlink };
class dir { write remove_name add_name };
class dir { write remove_name add_name };
class lnk_file read;
}
}
#============= svirt_tcg_t ==============
#============= svirt_tcg_t ==============
allow svirt_tcg_t virt_var_lib_t:dir { write remove_name add_name };
allow svirt_tcg_t virt_var_lib_t:dir { write remove_name add_name };
allow svirt_tcg_t virt_var_lib_t:sock_file { create unlink };
allow svirt_tcg_t virt_var_lib_t:sock_file { create unlink };
#============= svirt_t ==============
allow svirt_t virt_var_lib_t:dir { write add_name };
allow svirt_t virt_var_lib_t:sock_file create;
allow svirt_t default_t:lnk_file read;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment