Fix virt_ptrace() interface
Please enter the commit message for your changes. Lines starting
This commit is contained in:
parent
a765f30a9f
commit
a3277735dd
@ -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/log/qemu-ga\.log -- gen_context(system_u:object_r:virt_qemu_ga_log_t,s0)
|
||||
diff --git a/virt.if b/virt.if
|
||||
index 9dec06c..e2c53bf 100644
|
||||
index 9dec06c..d8a2b54 100644
|
||||
--- a/virt.if
|
||||
+++ b/virt.if
|
||||
@@ -1,120 +1,51 @@
|
||||
@ -81912,7 +81912,7 @@ index 9dec06c..e2c53bf 100644
|
||||
|
||||
- files_search_pids($1)
|
||||
- filetrans_pattern($1, virt_var_run_t, $2, $3, $4)
|
||||
+ allow $1 virt_domain:self ptrace;
|
||||
+ allow $1 virt_domain:process ptrace;
|
||||
')
|
||||
|
||||
########################################
|
||||
|
Loading…
Reference in New Issue
Block a user