From 8f22f8efc50f0d0edb96046e97db53edfe9b5d71 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Nov 04 2011 19:27:05 +0000 Subject: MCS fixes quota fixes --- diff --git a/execmem.patch b/execmem.patch index 83360b9..637ff4d 100644 --- a/execmem.patch +++ b/execmem.patch @@ -367,3 +367,55 @@ diff -up serefpolicy-3.10.0/policy/modules/system/userdomain.if.execmem serefpol mount_run_fusermount($1_t, $1_r) mount_read_pid_files($1_t) ') +diff -up serefpolicy-3.10.0/policy/modules/system/userdomain.if~ serefpolicy-3.10.0/policy/modules/system/userdomain.if +--- serefpolicy-3.10.0/policy/modules/system/userdomain.if~ 2011-11-04 13:31:34.537348883 -0400 ++++ serefpolicy-3.10.0/policy/modules/system/userdomain.if 2011-11-04 15:02:50.404128186 -0400 +@@ -84,7 +84,7 @@ template(`userdom_base_user_template',` + ## The user domain + ## + ## +-## ++>## + # + interface(`userdom_ro_home_role',` + gen_require(` +@@ -4705,3 +4705,39 @@ interface(`userdom_rw_unpriv_user_semaph + + allow $1 unpriv_userdomain:sem rw_sem_perms; + ') ++ ++####################################### ++## ++## The Interface gives a domain the privs of a unpriv_userdomain ++## ++## ++## ++## The user domain ++## ++## ++# ++template(`userdom_unpriv_user',` ++ gen_require(` ++ attribute unpriv_userdomain; ++ ') ++ ++ typeattribute $1 unpriv_userdomain; ++') ++ ++####################################### ++## ++## The Interface gives a domain the privs of a common_userdomain ++## ++## ++## ++## The user domain ++## ++## ++# ++template(`userdom_common_user',` ++ gen_require(` ++ attribute common_userdomain; ++ ') ++ ++ typeattribute $1 common_userdomain; ++') diff --git a/qemu.patch b/qemu.patch index 0e53c82..60f58b0 100644 --- a/qemu.patch +++ b/qemu.patch @@ -71,7 +71,7 @@ diff -up serefpolicy-3.10.0/policy/modules/services/virt.te.qemu serefpolicy-3.1 allow virt_domain virtd_t:fd use; dontaudit virt_domain virtd_t:unix_stream_socket { read write }; -+can_exec(virt_t, qemu_exec_t) ++can_exec(virtd_t, qemu_exec_t) +can_exec(virt_domain, qemu_exec_t) + allow virtd_t qemu_var_run_t:file relabel_file_perms;