@@ -29847,7 +30047,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 +1195,11 @@
+@@ -1193,12 +1196,11 @@
# and may change other protocols
tunable_policy(`user_tcp_server',`
corenet_tcp_bind_all_nodes($1_t)
@@ -29862,7 +30062,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
# Run pppd in pppd_t by default for user
-@@ -1207,7 +1208,27 @@
+@@ -1207,7 +1209,27 @@
')
optional_policy(`
@@ -29891,7 +30091,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
')
-@@ -1284,8 +1305,6 @@
+@@ -1284,8 +1306,6 @@
# Manipulate other users crontab.
allow $1_t self:passwd crontab;
@@ -29900,7 +30100,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 +1382,6 @@
+@@ -1363,13 +1383,6 @@
# But presently necessary for installing the file_contexts file.
seutil_manage_bin_policy($1_t)
@@ -29914,7 +30114,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
optional_policy(`
userhelper_exec($1_t)
')
-@@ -1422,6 +1434,7 @@
+@@ -1422,6 +1435,7 @@
dev_relabel_all_dev_nodes($1)
files_create_boot_flag($1)
@@ -29922,7 +30122,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 +1800,14 @@
+@@ -1787,10 +1801,14 @@
template(`userdom_user_home_content',`
gen_require(`
attribute $1_file_type;
@@ -29938,7 +30138,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -1886,11 +1903,11 @@
+@@ -1886,11 +1904,11 @@
#
template(`userdom_search_user_home_dirs',`
gen_require(`
@@ -29952,7 +30152,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -1920,11 +1937,11 @@
+@@ -1920,11 +1938,11 @@
#
template(`userdom_list_user_home_dirs',`
gen_require(`
@@ -29966,7 +30166,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -1968,12 +1985,12 @@
+@@ -1968,12 +1986,12 @@
#
template(`userdom_user_home_domtrans',`
gen_require(`
@@ -29982,7 +30182,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2003,10 +2020,10 @@
+@@ -2003,10 +2021,10 @@
#
template(`userdom_dontaudit_list_user_home_dirs',`
gen_require(`
@@ -29995,7 +30195,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2038,11 +2055,47 @@
+@@ -2038,11 +2056,47 @@
#
template(`userdom_manage_user_home_content_dirs',`
gen_require(`
@@ -30045,7 +30245,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2074,10 +2127,10 @@
+@@ -2074,10 +2128,10 @@
#
template(`userdom_dontaudit_setattr_user_home_content_files',`
gen_require(`
@@ -30058,7 +30258,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2107,11 +2160,11 @@
+@@ -2107,11 +2161,11 @@
#
template(`userdom_read_user_home_content_files',`
gen_require(`
@@ -30072,7 +30272,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2141,11 +2194,11 @@
+@@ -2141,11 +2195,11 @@
#
template(`userdom_dontaudit_read_user_home_content_files',`
gen_require(`
@@ -30087,7 +30287,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2175,10 +2228,14 @@
+@@ -2175,10 +2229,14 @@
#
template(`userdom_dontaudit_write_user_home_content_files',`
gen_require(`
@@ -30104,7 +30304,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2208,11 +2265,11 @@
+@@ -2208,11 +2266,11 @@
#
template(`userdom_read_user_home_content_symlinks',`
gen_require(`
@@ -30118,7 +30318,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2242,11 +2299,11 @@
+@@ -2242,11 +2300,11 @@
#
template(`userdom_exec_user_home_content_files',`
gen_require(`
@@ -30132,7 +30332,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2276,10 +2333,10 @@
+@@ -2276,10 +2334,10 @@
#
template(`userdom_dontaudit_exec_user_home_content_files',`
gen_require(`
@@ -30145,7 +30345,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2311,12 +2368,12 @@
+@@ -2311,12 +2369,12 @@
#
template(`userdom_manage_user_home_content_files',`
gen_require(`
@@ -30161,7 +30361,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2348,10 +2405,10 @@
+@@ -2348,10 +2406,10 @@
#
template(`userdom_dontaudit_manage_user_home_content_dirs',`
gen_require(`
@@ -30174,7 +30374,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2383,12 +2440,12 @@
+@@ -2383,12 +2441,12 @@
#
template(`userdom_manage_user_home_content_symlinks',`
gen_require(`
@@ -30190,7 +30390,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2420,12 +2477,12 @@
+@@ -2420,12 +2478,12 @@
#
template(`userdom_manage_user_home_content_pipes',`
gen_require(`
@@ -30206,7 +30406,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2457,12 +2514,12 @@
+@@ -2457,12 +2515,12 @@
#
template(`userdom_manage_user_home_content_sockets',`
gen_require(`
@@ -30222,7 +30422,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2507,11 +2564,11 @@
+@@ -2507,11 +2565,11 @@
#
template(`userdom_user_home_dir_filetrans',`
gen_require(`
@@ -30236,7 +30436,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2556,11 +2613,11 @@
+@@ -2556,11 +2614,11 @@
#
template(`userdom_user_home_content_filetrans',`
gen_require(`
@@ -30250,7 +30450,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2600,11 +2657,11 @@
+@@ -2600,11 +2658,11 @@
#
template(`userdom_user_home_dir_filetrans_user_home_content',`
gen_require(`
@@ -30264,7 +30464,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2634,11 +2691,11 @@
+@@ -2634,11 +2692,11 @@
#
template(`userdom_write_user_tmp_sockets',`
gen_require(`
@@ -30278,7 +30478,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2668,11 +2725,11 @@
+@@ -2668,11 +2726,11 @@
#
template(`userdom_list_user_tmp',`
gen_require(`
@@ -30292,7 +30492,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2704,10 +2761,10 @@
+@@ -2704,10 +2762,10 @@
#
template(`userdom_dontaudit_list_user_tmp',`
gen_require(`
@@ -30305,7 +30505,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2739,10 +2796,10 @@
+@@ -2739,10 +2797,10 @@
#
template(`userdom_dontaudit_manage_user_tmp_dirs',`
gen_require(`
@@ -30318,7 +30518,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2772,12 +2829,12 @@
+@@ -2772,12 +2830,12 @@
#
template(`userdom_read_user_tmp_files',`
gen_require(`
@@ -30334,7 +30534,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2809,10 +2866,10 @@
+@@ -2809,10 +2867,10 @@
#
template(`userdom_dontaudit_read_user_tmp_files',`
gen_require(`
@@ -30347,7 +30547,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2844,10 +2901,48 @@
+@@ -2844,10 +2902,48 @@
#
template(`userdom_dontaudit_append_user_tmp_files',`
gen_require(`
@@ -30398,7 +30598,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2877,12 +2972,12 @@
+@@ -2877,12 +2973,12 @@
#
template(`userdom_rw_user_tmp_files',`
gen_require(`
@@ -30414,7 +30614,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2914,10 +3009,10 @@
+@@ -2914,10 +3010,10 @@
#
template(`userdom_dontaudit_manage_user_tmp_files',`
gen_require(`
@@ -30427,7 +30627,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2949,12 +3044,12 @@
+@@ -2949,12 +3045,12 @@
#
template(`userdom_read_user_tmp_symlinks',`
gen_require(`
@@ -30443,7 +30643,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2986,11 +3081,11 @@
+@@ -2986,11 +3082,11 @@
#
template(`userdom_manage_user_tmp_dirs',`
gen_require(`
@@ -30457,7 +30657,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3022,11 +3117,11 @@
+@@ -3022,11 +3118,11 @@
#
template(`userdom_manage_user_tmp_files',`
gen_require(`
@@ -30471,7 +30671,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3058,11 +3153,11 @@
+@@ -3058,11 +3154,11 @@
#
template(`userdom_manage_user_tmp_symlinks',`
gen_require(`
@@ -30485,7 +30685,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3094,11 +3189,11 @@
+@@ -3094,11 +3190,11 @@
#
template(`userdom_manage_user_tmp_pipes',`
gen_require(`
@@ -30499,7 +30699,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3130,11 +3225,11 @@
+@@ -3130,11 +3226,11 @@
#
template(`userdom_manage_user_tmp_sockets',`
gen_require(`
@@ -30513,7 +30713,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3179,10 +3274,10 @@
+@@ -3179,10 +3275,10 @@
#
template(`userdom_user_tmp_filetrans',`
gen_require(`
@@ -30526,7 +30726,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
files_search_tmp($2)
')
-@@ -3223,10 +3318,10 @@
+@@ -3223,10 +3319,10 @@
#
template(`userdom_tmp_filetrans_user_tmp',`
gen_require(`
@@ -30539,7 +30739,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3254,6 +3349,42 @@
+@@ -3254,6 +3350,42 @@
##
##
#
@@ -30582,7 +30782,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 +4362,11 @@
+@@ -4231,11 +4363,11 @@
#
interface(`userdom_search_staff_home_dirs',`
gen_require(`
@@ -30596,7 +30796,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4251,10 +4382,10 @@
+@@ -4251,10 +4383,10 @@
#
interface(`userdom_dontaudit_search_staff_home_dirs',`
gen_require(`
@@ -30609,7 +30809,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4270,11 +4401,11 @@
+@@ -4270,11 +4402,11 @@
#
interface(`userdom_manage_staff_home_dirs',`
gen_require(`
@@ -30623,7 +30823,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4289,16 +4420,16 @@
+@@ -4289,16 +4421,16 @@
#
interface(`userdom_relabelto_staff_home_dirs',`
gen_require(`
@@ -30643,7 +30843,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
## users home directory.
##
##
-@@ -4307,12 +4438,27 @@
+@@ -4307,12 +4439,27 @@
##
##
#
@@ -30674,7 +30874,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4327,13 +4473,13 @@
+@@ -4327,13 +4474,13 @@
#
interface(`userdom_read_staff_home_content_files',`
gen_require(`
@@ -30692,7 +30892,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4531,10 +4677,10 @@
+@@ -4531,10 +4678,10 @@
#
interface(`userdom_getattr_sysadm_home_dirs',`
gen_require(`
@@ -30705,7 +30905,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4551,10 +4697,10 @@
+@@ -4551,10 +4698,10 @@
#
interface(`userdom_dontaudit_getattr_sysadm_home_dirs',`
gen_require(`
@@ -30718,7 +30918,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4569,10 +4715,10 @@
+@@ -4569,10 +4716,10 @@
#
interface(`userdom_search_sysadm_home_dirs',`
gen_require(`
@@ -30731,7 +30931,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4588,10 +4734,10 @@
+@@ -4588,10 +4735,10 @@
#
interface(`userdom_dontaudit_search_sysadm_home_dirs',`
gen_require(`
@@ -30744,7 +30944,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4606,10 +4752,10 @@
+@@ -4606,10 +4753,10 @@
#
interface(`userdom_list_sysadm_home_dirs',`
gen_require(`
@@ -30757,7 +30957,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4625,10 +4771,10 @@
+@@ -4625,10 +4772,10 @@
#
interface(`userdom_dontaudit_list_sysadm_home_dirs',`
gen_require(`
@@ -30770,7 +30970,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4644,12 +4790,11 @@
+@@ -4644,12 +4791,11 @@
#
interface(`userdom_dontaudit_read_sysadm_home_content_files',`
gen_require(`
@@ -30786,7 +30986,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4676,10 +4821,10 @@
+@@ -4676,10 +4822,10 @@
#
interface(`userdom_sysadm_home_dir_filetrans',`
gen_require(`
@@ -30799,7 +30999,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4694,10 +4839,10 @@
+@@ -4694,10 +4840,10 @@
#
interface(`userdom_search_sysadm_home_content_dirs',`
gen_require(`
@@ -30812,7 +31012,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4712,13 +4857,13 @@
+@@ -4712,13 +4858,13 @@
#
interface(`userdom_read_sysadm_home_content_files',`
gen_require(`
@@ -30830,7 +31030,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4754,11 +4899,49 @@
+@@ -4754,11 +4900,49 @@
#
interface(`userdom_search_all_users_home_dirs',`
gen_require(`
@@ -30881,7 +31081,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4778,6 +4961,14 @@
+@@ -4778,6 +4962,14 @@
files_list_home($1)
allow $1 home_dir_type:dir list_dir_perms;
@@ -30896,7 +31096,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4839,6 +5030,26 @@
+@@ -4839,6 +5031,26 @@
########################################
##