++## This template creates a derived domains which are used ++## for openoffice plugins that are executed by a browser. ++##
++##++## This template is invoked automatically for each user, and ++## generally does not need to be invoked directly ++## by policy writers. ++##
++##++## This template creates a derived domains which are used ++## for openoffice applications. ++##
++##
@@ -30751,7 +31055,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
## This template creates a user domain, types, and
## rules for the user's tty, pty, home directories,
## tmp, and tmpfs files.
-@@ -1193,12 +1199,11 @@
+@@ -1193,12 +1203,11 @@
# and may change other protocols
tunable_policy(`user_tcp_server',`
corenet_tcp_bind_all_nodes($1_t)
@@ -30766,7 +31070,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
# Run pppd in pppd_t by default for user
-@@ -1207,7 +1212,27 @@
+@@ -1207,7 +1216,27 @@
')
optional_policy(`
@@ -30795,7 +31099,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
')
-@@ -1284,8 +1309,6 @@
+@@ -1284,8 +1313,6 @@
# Manipulate other users crontab.
allow $1_t self:passwd crontab;
@@ -30804,7 +31108,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
kernel_read_software_raid_state($1_t)
kernel_getattr_core_if($1_t)
kernel_getattr_message_if($1_t)
-@@ -1363,13 +1386,6 @@
+@@ -1363,13 +1390,6 @@
# But presently necessary for installing the file_contexts file.
seutil_manage_bin_policy($1_t)
@@ -30818,7 +31122,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
optional_policy(`
userhelper_exec($1_t)
')
-@@ -1422,6 +1438,7 @@
+@@ -1422,6 +1442,7 @@
dev_relabel_all_dev_nodes($1)
files_create_boot_flag($1)
@@ -30826,7 +31130,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
# Necessary for managing /boot/efi
fs_manage_dos_files($1)
-@@ -1787,10 +1804,14 @@
+@@ -1787,10 +1808,14 @@
template(`userdom_user_home_content',`
gen_require(`
attribute $1_file_type;
@@ -30842,7 +31146,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -1886,11 +1907,11 @@
+@@ -1886,11 +1911,11 @@
#
template(`userdom_search_user_home_dirs',`
gen_require(`
@@ -30856,7 +31160,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -1920,11 +1941,11 @@
+@@ -1920,11 +1945,11 @@
#
template(`userdom_list_user_home_dirs',`
gen_require(`
@@ -30870,7 +31174,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -1968,12 +1989,12 @@
+@@ -1968,12 +1993,12 @@
#
template(`userdom_user_home_domtrans',`
gen_require(`
@@ -30886,7 +31190,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2003,10 +2024,10 @@
+@@ -2003,10 +2028,10 @@
#
template(`userdom_dontaudit_list_user_home_dirs',`
gen_require(`
@@ -30899,7 +31203,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2038,11 +2059,47 @@
+@@ -2038,11 +2063,47 @@
#
template(`userdom_manage_user_home_content_dirs',`
gen_require(`
@@ -30949,7 +31253,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2074,10 +2131,10 @@
+@@ -2074,10 +2135,10 @@
#
template(`userdom_dontaudit_setattr_user_home_content_files',`
gen_require(`
@@ -30962,7 +31266,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2107,11 +2164,11 @@
+@@ -2107,11 +2168,11 @@
#
template(`userdom_read_user_home_content_files',`
gen_require(`
@@ -30976,7 +31280,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2141,11 +2198,11 @@
+@@ -2141,11 +2202,11 @@
#
template(`userdom_dontaudit_read_user_home_content_files',`
gen_require(`
@@ -30991,7 +31295,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2175,10 +2232,14 @@
+@@ -2175,10 +2236,14 @@
#
template(`userdom_dontaudit_write_user_home_content_files',`
gen_require(`
@@ -31008,7 +31312,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2208,11 +2269,11 @@
+@@ -2208,11 +2273,11 @@
#
template(`userdom_read_user_home_content_symlinks',`
gen_require(`
@@ -31022,7 +31326,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2242,11 +2303,11 @@
+@@ -2242,11 +2307,11 @@
#
template(`userdom_exec_user_home_content_files',`
gen_require(`
@@ -31036,7 +31340,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2276,10 +2337,10 @@
+@@ -2276,10 +2341,10 @@
#
template(`userdom_dontaudit_exec_user_home_content_files',`
gen_require(`
@@ -31049,7 +31353,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2311,12 +2372,12 @@
+@@ -2311,12 +2376,12 @@
#
template(`userdom_manage_user_home_content_files',`
gen_require(`
@@ -31065,7 +31369,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2348,10 +2409,10 @@
+@@ -2348,10 +2413,10 @@
#
template(`userdom_dontaudit_manage_user_home_content_dirs',`
gen_require(`
@@ -31078,7 +31382,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2383,12 +2444,12 @@
+@@ -2383,12 +2448,12 @@
#
template(`userdom_manage_user_home_content_symlinks',`
gen_require(`
@@ -31094,7 +31398,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2420,12 +2481,12 @@
+@@ -2420,12 +2485,12 @@
#
template(`userdom_manage_user_home_content_pipes',`
gen_require(`
@@ -31110,7 +31414,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2457,12 +2518,12 @@
+@@ -2457,12 +2522,12 @@
#
template(`userdom_manage_user_home_content_sockets',`
gen_require(`
@@ -31126,7 +31430,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2507,11 +2568,11 @@
+@@ -2507,11 +2572,11 @@
#
template(`userdom_user_home_dir_filetrans',`
gen_require(`
@@ -31140,7 +31444,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2556,11 +2617,11 @@
+@@ -2556,11 +2621,11 @@
#
template(`userdom_user_home_content_filetrans',`
gen_require(`
@@ -31154,7 +31458,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2600,11 +2661,11 @@
+@@ -2600,11 +2665,11 @@
#
template(`userdom_user_home_dir_filetrans_user_home_content',`
gen_require(`
@@ -31168,7 +31472,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2634,11 +2695,11 @@
+@@ -2634,11 +2699,11 @@
#
template(`userdom_write_user_tmp_sockets',`
gen_require(`
@@ -31182,7 +31486,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2668,11 +2729,11 @@
+@@ -2668,11 +2733,11 @@
#
template(`userdom_list_user_tmp',`
gen_require(`
@@ -31196,7 +31500,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2704,10 +2765,10 @@
+@@ -2704,10 +2769,10 @@
#
template(`userdom_dontaudit_list_user_tmp',`
gen_require(`
@@ -31209,7 +31513,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2739,10 +2800,10 @@
+@@ -2739,10 +2804,10 @@
#
template(`userdom_dontaudit_manage_user_tmp_dirs',`
gen_require(`
@@ -31222,7 +31526,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2772,12 +2833,12 @@
+@@ -2772,12 +2837,12 @@
#
template(`userdom_read_user_tmp_files',`
gen_require(`
@@ -31238,7 +31542,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2809,10 +2870,10 @@
+@@ -2809,10 +2874,10 @@
#
template(`userdom_dontaudit_read_user_tmp_files',`
gen_require(`
@@ -31251,7 +31555,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2844,10 +2905,48 @@
+@@ -2844,10 +2909,48 @@
#
template(`userdom_dontaudit_append_user_tmp_files',`
gen_require(`
@@ -31302,7 +31606,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2877,12 +2976,12 @@
+@@ -2877,12 +2980,12 @@
#
template(`userdom_rw_user_tmp_files',`
gen_require(`
@@ -31318,7 +31622,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2914,10 +3013,10 @@
+@@ -2914,10 +3017,10 @@
#
template(`userdom_dontaudit_manage_user_tmp_files',`
gen_require(`
@@ -31331,7 +31635,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2949,12 +3048,12 @@
+@@ -2949,12 +3052,12 @@
#
template(`userdom_read_user_tmp_symlinks',`
gen_require(`
@@ -31347,7 +31651,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2986,11 +3085,11 @@
+@@ -2986,11 +3089,11 @@
#
template(`userdom_manage_user_tmp_dirs',`
gen_require(`
@@ -31361,7 +31665,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3022,11 +3121,11 @@
+@@ -3022,11 +3125,11 @@
#
template(`userdom_manage_user_tmp_files',`
gen_require(`
@@ -31375,7 +31679,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3058,11 +3157,11 @@
+@@ -3058,11 +3161,11 @@
#
template(`userdom_manage_user_tmp_symlinks',`
gen_require(`
@@ -31389,7 +31693,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3094,11 +3193,11 @@
+@@ -3094,11 +3197,11 @@
#
template(`userdom_manage_user_tmp_pipes',`
gen_require(`
@@ -31403,7 +31707,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3130,11 +3229,11 @@
+@@ -3130,11 +3233,11 @@
#
template(`userdom_manage_user_tmp_sockets',`
gen_require(`
@@ -31417,7 +31721,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3179,10 +3278,10 @@
+@@ -3179,10 +3282,10 @@
#
template(`userdom_user_tmp_filetrans',`
gen_require(`
@@ -31430,7 +31734,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
files_search_tmp($2)
')
-@@ -3223,10 +3322,10 @@
+@@ -3223,10 +3326,10 @@
#
template(`userdom_tmp_filetrans_user_tmp',`
gen_require(`
@@ -31443,7 +31747,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3254,6 +3353,42 @@
+@@ -3254,6 +3357,42 @@
##
##
#
@@ -31486,7 +31790,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
template(`userdom_rw_user_tmpfs_files',`
gen_require(`
type $1_tmpfs_t;
-@@ -4231,11 +4366,11 @@
+@@ -4231,11 +4370,11 @@
#
interface(`userdom_search_staff_home_dirs',`
gen_require(`
@@ -31500,7 +31804,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4251,10 +4386,10 @@
+@@ -4251,10 +4390,10 @@
#
interface(`userdom_dontaudit_search_staff_home_dirs',`
gen_require(`
@@ -31513,7 +31817,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4270,11 +4405,11 @@
+@@ -4270,11 +4409,11 @@
#
interface(`userdom_manage_staff_home_dirs',`
gen_require(`
@@ -31527,7 +31831,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4289,16 +4424,16 @@
+@@ -4289,16 +4428,16 @@
#
interface(`userdom_relabelto_staff_home_dirs',`
gen_require(`
@@ -31547,7 +31851,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
## users home directory.
##
##
-@@ -4307,12 +4442,27 @@
+@@ -4307,12 +4446,27 @@
##
##
#
@@ -31578,7 +31882,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4327,13 +4477,13 @@
+@@ -4327,13 +4481,13 @@
#
interface(`userdom_read_staff_home_content_files',`
gen_require(`
@@ -31596,7 +31900,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4531,10 +4681,10 @@
+@@ -4531,10 +4685,10 @@
#
interface(`userdom_getattr_sysadm_home_dirs',`
gen_require(`
@@ -31609,7 +31913,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4551,10 +4701,10 @@
+@@ -4551,10 +4705,10 @@
#
interface(`userdom_dontaudit_getattr_sysadm_home_dirs',`
gen_require(`
@@ -31622,7 +31926,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4569,10 +4719,10 @@
+@@ -4569,10 +4723,10 @@
#
interface(`userdom_search_sysadm_home_dirs',`
gen_require(`
@@ -31635,7 +31939,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4588,10 +4738,10 @@
+@@ -4588,10 +4742,10 @@
#
interface(`userdom_dontaudit_search_sysadm_home_dirs',`
gen_require(`
@@ -31648,7 +31952,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4606,10 +4756,10 @@
+@@ -4606,10 +4760,10 @@
#
interface(`userdom_list_sysadm_home_dirs',`
gen_require(`
@@ -31661,7 +31965,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4625,10 +4775,10 @@
+@@ -4625,10 +4779,10 @@
#
interface(`userdom_dontaudit_list_sysadm_home_dirs',`
gen_require(`
@@ -31674,7 +31978,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4644,12 +4794,11 @@
+@@ -4644,12 +4798,11 @@
#
interface(`userdom_dontaudit_read_sysadm_home_content_files',`
gen_require(`
@@ -31690,7 +31994,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4676,10 +4825,10 @@
+@@ -4676,10 +4829,10 @@
#
interface(`userdom_sysadm_home_dir_filetrans',`
gen_require(`
@@ -31703,7 +32007,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4694,10 +4843,10 @@
+@@ -4694,10 +4847,10 @@
#
interface(`userdom_search_sysadm_home_content_dirs',`
gen_require(`
@@ -31716,7 +32020,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4712,13 +4861,13 @@
+@@ -4712,13 +4865,13 @@
#
interface(`userdom_read_sysadm_home_content_files',`
gen_require(`
@@ -31734,7 +32038,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4754,11 +4903,49 @@
+@@ -4754,11 +4907,49 @@
#
interface(`userdom_search_all_users_home_dirs',`
gen_require(`
@@ -31785,7 +32089,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4778,6 +4965,14 @@
+@@ -4778,6 +4969,14 @@
files_list_home($1)
allow $1 home_dir_type:dir list_dir_perms;
@@ -31800,7 +32104,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4839,6 +5034,26 @@
+@@ -4839,6 +5038,26 @@
########################################
##