Fix virt_ptrace() interface

Please enter the commit message for your changes. Lines starting
This commit is contained in:
Miroslav Grepl 2013-01-11 20:01:16 +01:00
parent a765f30a9f
commit a3277735dd

View File

@ -80815,7 +80815,7 @@ index c30da4c..014e40c 100644
+/var/run/qemu-ga\.pid -- gen_context(system_u:object_r:virt_qemu_ga_var_run_t,s0) +/var/run/qemu-ga\.pid -- gen_context(system_u:object_r:virt_qemu_ga_var_run_t,s0)
+/var/log/qemu-ga\.log -- gen_context(system_u:object_r:virt_qemu_ga_log_t,s0) +/var/log/qemu-ga\.log -- gen_context(system_u:object_r:virt_qemu_ga_log_t,s0)
diff --git a/virt.if b/virt.if diff --git a/virt.if b/virt.if
index 9dec06c..e2c53bf 100644 index 9dec06c..d8a2b54 100644
--- a/virt.if --- a/virt.if
+++ b/virt.if +++ b/virt.if
@@ -1,120 +1,51 @@ @@ -1,120 +1,51 @@
@ -81912,7 +81912,7 @@ index 9dec06c..e2c53bf 100644
- files_search_pids($1) - files_search_pids($1)
- filetrans_pattern($1, virt_var_run_t, $2, $3, $4) - filetrans_pattern($1, virt_var_run_t, $2, $3, $4)
+ allow $1 virt_domain:self ptrace; + allow $1 virt_domain:process ptrace;
') ')
######################################## ########################################