MCS fixes
quota fixes
This commit is contained in:
parent
01e90f94b8
commit
8f22f8efc5
@ -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_run_fusermount($1_t, $1_r)
|
||||||
mount_read_pid_files($1_t)
|
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
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
-## <rolebase/>
|
||||||
|
+>## <rolebase/>
|
||||||
|
#
|
||||||
|
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;
|
||||||
|
')
|
||||||
|
+
|
||||||
|
+#######################################
|
||||||
|
+## <summary>
|
||||||
|
+## The Interface gives a domain the privs of a unpriv_userdomain
|
||||||
|
+## </summary>
|
||||||
|
+## <param name="userdomain">
|
||||||
|
+## <summary>
|
||||||
|
+## The user domain
|
||||||
|
+## </summary>
|
||||||
|
+## </param>
|
||||||
|
+#
|
||||||
|
+template(`userdom_unpriv_user',`
|
||||||
|
+ gen_require(`
|
||||||
|
+ attribute unpriv_userdomain;
|
||||||
|
+ ')
|
||||||
|
+
|
||||||
|
+ typeattribute $1 unpriv_userdomain;
|
||||||
|
+')
|
||||||
|
+
|
||||||
|
+#######################################
|
||||||
|
+## <summary>
|
||||||
|
+## The Interface gives a domain the privs of a common_userdomain
|
||||||
|
+## </summary>
|
||||||
|
+## <param name="userdomain">
|
||||||
|
+## <summary>
|
||||||
|
+## The user domain
|
||||||
|
+## </summary>
|
||||||
|
+## </param>
|
||||||
|
+#
|
||||||
|
+template(`userdom_common_user',`
|
||||||
|
+ gen_require(`
|
||||||
|
+ attribute common_userdomain;
|
||||||
|
+ ')
|
||||||
|
+
|
||||||
|
+ typeattribute $1 common_userdomain;
|
||||||
|
+')
|
||||||
|
@ -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;
|
allow virt_domain virtd_t:fd use;
|
||||||
dontaudit virt_domain virtd_t:unix_stream_socket { read write };
|
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)
|
+can_exec(virt_domain, qemu_exec_t)
|
||||||
+
|
+
|
||||||
allow virtd_t qemu_var_run_t:file relabel_file_perms;
|
allow virtd_t qemu_var_run_t:file relabel_file_perms;
|
||||||
|
Loading…
Reference in New Issue
Block a user