From 8885eb35781ecce4071c2d16fbfd9467cd16d326 Mon Sep 17 00:00:00 2001 From: Miroslav Grepl Date: Sep 10 2012 12:56:38 +0000 Subject: Fix typos --- diff --git a/policy_contrib-rawhide.patch b/policy_contrib-rawhide.patch index 2f029cd..640d620 100644 --- a/policy_contrib-rawhide.patch +++ b/policy_contrib-rawhide.patch @@ -12418,7 +12418,7 @@ index 6e12dc7..1382775 100644 + manage_files_pattern($1, system_cronjob_var_lib_t, system_cronjob_var_lib_t) ') diff --git a/cron.te b/cron.te -index b357856..91fc6e1 100644 +index b357856..2b0b0d7 100644 --- a/cron.te +++ b/cron.te @@ -1,4 +1,4 @@ @@ -13007,9 +13007,9 @@ index b357856..91fc6e1 100644 + dontaudit crontab_domain crond_t:process signal; +') + -+#optional_policy(` -+# ssh_dontaudit_use_ptys(crontab_domain) -+#') ++optional_policy(` ++ ssh_dontaudit_use_ptys(crontab_domain) ++') + +optional_policy(` + openshift_dontaudit_rw_inherited_fifo_files(crontab_domain) @@ -39270,10 +39270,10 @@ index 0000000..2144799 +/sandbox(/.*)? gen_context(system_u:object_r:tmp_t,s0) diff --git a/openshift.if b/openshift.if new file mode 100644 -index 0000000..fc734fd +index 0000000..75e8c7f --- /dev/null +++ b/openshift.if -@@ -0,0 +1,545 @@ +@@ -0,0 +1,546 @@ +## policy for openshift + +######################################## @@ -39330,7 +39330,7 @@ index 0000000..fc734fd + ') + + files_search_var($1) -+ read_files_pattern($1, openshift_cache_t openshift_cache_t) ++ read_files_pattern($1, openshift_cache_t, openshift_cache_t) +') + +######################################## @@ -39783,6 +39783,7 @@ index 0000000..fc734fd +# +interface(`openshift_dyntransition',` + gen_require(` ++ attribute openshift_domain; + attribute openshift_user_domain; + ') + @@ -39821,7 +39822,7 @@ index 0000000..fc734fd +') diff --git a/openshift.te b/openshift.te new file mode 100644 -index 0000000..0d24b97 +index 0000000..72b3bb4 --- /dev/null +++ b/openshift.te @@ -0,0 +1,419 @@ @@ -40187,9 +40188,9 @@ index 0000000..0d24b97 +allow openshift_cgroup_read_t openshift_var_lib_t:dir list_dir_perms; +read_files_pattern(openshift_cgroup_read_t, openshift_var_lib_t, openshift_var_lib_t) + -+#optional_policy(` -+# ssh_dontaudit_use_ptys(openshift_cgroup_read_t) -+#') ++optional_policy(` ++ ssh_dontaudit_use_ptys(openshift_cgroup_read_t) ++') + +####################################################### +# @@ -40211,9 +40212,9 @@ index 0000000..0d24b97 + +term_use_ptmx(openshift_domain) + -+#optional_policy(` -+# ssh_use_ptys(openshift_domain) -+#') ++optional_policy(` ++ ssh_use_ptys(openshift_domain) ++') + +####################################################### +#