@@ -26116,7 +26133,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.
-@@ -1187,12 +1178,11 @@
+@@ -1187,12 +1180,11 @@
# and may change other protocols
tunable_policy(`user_tcp_server',`
corenet_tcp_bind_all_nodes($1_t)
@@ -26131,7 +26148,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
# Run pppd in pppd_t by default for user
-@@ -1201,7 +1191,7 @@
+@@ -1201,7 +1193,7 @@
')
optional_policy(`
@@ -26140,7 +26157,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
')
-@@ -1278,8 +1268,6 @@
+@@ -1278,8 +1270,6 @@
# Manipulate other users crontab.
allow $1_t self:passwd crontab;
@@ -26149,7 +26166,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)
-@@ -1357,13 +1345,6 @@
+@@ -1357,13 +1347,6 @@
# But presently necessary for installing the file_contexts file.
seutil_manage_bin_policy($1_t)
@@ -26163,7 +26180,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
optional_policy(`
userhelper_exec($1_t)
')
-@@ -1416,6 +1397,7 @@
+@@ -1416,6 +1399,7 @@
dev_relabel_all_dev_nodes($1)
files_create_boot_flag($1)
@@ -26171,7 +26188,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
# Necessary for managing /boot/efi
fs_manage_dos_files($1)
-@@ -1781,10 +1763,14 @@
+@@ -1781,10 +1765,14 @@
template(`userdom_user_home_content',`
gen_require(`
attribute $1_file_type;
@@ -26187,7 +26204,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -1880,11 +1866,11 @@
+@@ -1880,11 +1868,11 @@
#
template(`userdom_search_user_home_dirs',`
gen_require(`
@@ -26201,7 +26218,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -1914,11 +1900,11 @@
+@@ -1914,11 +1902,11 @@
#
template(`userdom_list_user_home_dirs',`
gen_require(`
@@ -26215,7 +26232,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -1962,12 +1948,12 @@
+@@ -1962,12 +1950,12 @@
#
template(`userdom_user_home_domtrans',`
gen_require(`
@@ -26231,7 +26248,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -1997,10 +1983,10 @@
+@@ -1997,10 +1985,10 @@
#
template(`userdom_dontaudit_list_user_home_dirs',`
gen_require(`
@@ -26244,7 +26261,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2032,11 +2018,47 @@
+@@ -2032,11 +2020,47 @@
#
template(`userdom_manage_user_home_content_dirs',`
gen_require(`
@@ -26294,7 +26311,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2068,10 +2090,10 @@
+@@ -2068,10 +2092,10 @@
#
template(`userdom_dontaudit_setattr_user_home_content_files',`
gen_require(`
@@ -26307,7 +26324,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2101,11 +2123,11 @@
+@@ -2101,11 +2125,11 @@
#
template(`userdom_read_user_home_content_files',`
gen_require(`
@@ -26321,7 +26338,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2135,11 +2157,11 @@
+@@ -2135,11 +2159,11 @@
#
template(`userdom_dontaudit_read_user_home_content_files',`
gen_require(`
@@ -26336,7 +26353,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2169,10 +2191,10 @@
+@@ -2169,10 +2193,10 @@
#
template(`userdom_dontaudit_write_user_home_content_files',`
gen_require(`
@@ -26349,7 +26366,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2202,11 +2224,11 @@
+@@ -2202,11 +2226,11 @@
#
template(`userdom_read_user_home_content_symlinks',`
gen_require(`
@@ -26363,7 +26380,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2236,11 +2258,11 @@
+@@ -2236,11 +2260,11 @@
#
template(`userdom_exec_user_home_content_files',`
gen_require(`
@@ -26377,7 +26394,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2270,10 +2292,10 @@
+@@ -2270,10 +2294,10 @@
#
template(`userdom_dontaudit_exec_user_home_content_files',`
gen_require(`
@@ -26390,7 +26407,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2305,12 +2327,12 @@
+@@ -2305,12 +2329,12 @@
#
template(`userdom_manage_user_home_content_files',`
gen_require(`
@@ -26406,7 +26423,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2342,10 +2364,10 @@
+@@ -2342,10 +2366,10 @@
#
template(`userdom_dontaudit_manage_user_home_content_dirs',`
gen_require(`
@@ -26419,7 +26436,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2377,12 +2399,12 @@
+@@ -2377,12 +2401,12 @@
#
template(`userdom_manage_user_home_content_symlinks',`
gen_require(`
@@ -26435,7 +26452,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2414,12 +2436,12 @@
+@@ -2414,12 +2438,12 @@
#
template(`userdom_manage_user_home_content_pipes',`
gen_require(`
@@ -26451,7 +26468,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2451,12 +2473,12 @@
+@@ -2451,12 +2475,12 @@
#
template(`userdom_manage_user_home_content_sockets',`
gen_require(`
@@ -26467,7 +26484,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2501,11 +2523,11 @@
+@@ -2501,11 +2525,11 @@
#
template(`userdom_user_home_dir_filetrans',`
gen_require(`
@@ -26481,7 +26498,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2550,11 +2572,11 @@
+@@ -2550,11 +2574,11 @@
#
template(`userdom_user_home_content_filetrans',`
gen_require(`
@@ -26495,7 +26512,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2594,11 +2616,11 @@
+@@ -2594,11 +2618,11 @@
#
template(`userdom_user_home_dir_filetrans_user_home_content',`
gen_require(`
@@ -26509,7 +26526,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2628,11 +2650,11 @@
+@@ -2628,11 +2652,11 @@
#
template(`userdom_write_user_tmp_sockets',`
gen_require(`
@@ -26523,7 +26540,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2662,11 +2684,11 @@
+@@ -2662,11 +2686,11 @@
#
template(`userdom_list_user_tmp',`
gen_require(`
@@ -26537,7 +26554,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2698,10 +2720,10 @@
+@@ -2698,10 +2722,10 @@
#
template(`userdom_dontaudit_list_user_tmp',`
gen_require(`
@@ -26550,7 +26567,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2733,10 +2755,10 @@
+@@ -2733,10 +2757,10 @@
#
template(`userdom_dontaudit_manage_user_tmp_dirs',`
gen_require(`
@@ -26563,7 +26580,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2766,12 +2788,12 @@
+@@ -2766,12 +2790,12 @@
#
template(`userdom_read_user_tmp_files',`
gen_require(`
@@ -26579,7 +26596,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2803,10 +2825,10 @@
+@@ -2803,10 +2827,10 @@
#
template(`userdom_dontaudit_read_user_tmp_files',`
gen_require(`
@@ -26592,7 +26609,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2838,10 +2860,48 @@
+@@ -2838,10 +2862,48 @@
#
template(`userdom_dontaudit_append_user_tmp_files',`
gen_require(`
@@ -26643,7 +26660,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2871,12 +2931,12 @@
+@@ -2871,12 +2933,12 @@
#
template(`userdom_rw_user_tmp_files',`
gen_require(`
@@ -26659,7 +26676,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2908,10 +2968,10 @@
+@@ -2908,10 +2970,10 @@
#
template(`userdom_dontaudit_manage_user_tmp_files',`
gen_require(`
@@ -26672,7 +26689,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2943,12 +3003,12 @@
+@@ -2943,12 +3005,12 @@
#
template(`userdom_read_user_tmp_symlinks',`
gen_require(`
@@ -26688,7 +26705,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2980,11 +3040,11 @@
+@@ -2980,11 +3042,11 @@
#
template(`userdom_manage_user_tmp_dirs',`
gen_require(`
@@ -26702,7 +26719,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3016,11 +3076,11 @@
+@@ -3016,11 +3078,11 @@
#
template(`userdom_manage_user_tmp_files',`
gen_require(`
@@ -26716,7 +26733,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3052,11 +3112,11 @@
+@@ -3052,11 +3114,11 @@
#
template(`userdom_manage_user_tmp_symlinks',`
gen_require(`
@@ -26730,7 +26747,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3088,11 +3148,11 @@
+@@ -3088,11 +3150,11 @@
#
template(`userdom_manage_user_tmp_pipes',`
gen_require(`
@@ -26744,7 +26761,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3124,11 +3184,11 @@
+@@ -3124,11 +3186,11 @@
#
template(`userdom_manage_user_tmp_sockets',`
gen_require(`
@@ -26758,7 +26775,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3173,10 +3233,10 @@
+@@ -3173,10 +3235,10 @@
#
template(`userdom_user_tmp_filetrans',`
gen_require(`
@@ -26771,7 +26788,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
files_search_tmp($2)
')
-@@ -3217,10 +3277,10 @@
+@@ -3217,10 +3279,10 @@
#
template(`userdom_tmp_filetrans_user_tmp',`
gen_require(`
@@ -26784,7 +26801,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3248,6 +3308,42 @@
+@@ -3248,6 +3310,42 @@
##
##
#
@@ -26827,7 +26844,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;
-@@ -4225,11 +4321,11 @@
+@@ -4225,11 +4323,11 @@
#
interface(`userdom_search_staff_home_dirs',`
gen_require(`
@@ -26841,7 +26858,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4245,10 +4341,10 @@
+@@ -4245,10 +4343,10 @@
#
interface(`userdom_dontaudit_search_staff_home_dirs',`
gen_require(`
@@ -26854,7 +26871,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4264,11 +4360,11 @@
+@@ -4264,11 +4362,11 @@
#
interface(`userdom_manage_staff_home_dirs',`
gen_require(`
@@ -26868,7 +26885,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4283,16 +4379,16 @@
+@@ -4283,16 +4381,16 @@
#
interface(`userdom_relabelto_staff_home_dirs',`
gen_require(`
@@ -26888,7 +26905,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
## users home directory.
##
##
-@@ -4301,12 +4397,27 @@
+@@ -4301,12 +4399,27 @@
##
##
#
@@ -26919,7 +26936,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4321,13 +4432,13 @@
+@@ -4321,13 +4434,13 @@
#
interface(`userdom_read_staff_home_content_files',`
gen_require(`
@@ -26937,7 +26954,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4525,10 +4636,10 @@
+@@ -4525,10 +4638,10 @@
#
interface(`userdom_getattr_sysadm_home_dirs',`
gen_require(`
@@ -26950,7 +26967,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4545,10 +4656,10 @@
+@@ -4545,10 +4658,10 @@
#
interface(`userdom_dontaudit_getattr_sysadm_home_dirs',`
gen_require(`
@@ -26963,7 +26980,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4563,10 +4674,10 @@
+@@ -4563,10 +4676,10 @@
#
interface(`userdom_search_sysadm_home_dirs',`
gen_require(`
@@ -26976,7 +26993,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4582,10 +4693,10 @@
+@@ -4582,10 +4695,10 @@
#
interface(`userdom_dontaudit_search_sysadm_home_dirs',`
gen_require(`
@@ -26989,7 +27006,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4600,10 +4711,10 @@
+@@ -4600,10 +4713,10 @@
#
interface(`userdom_list_sysadm_home_dirs',`
gen_require(`
@@ -27002,7 +27019,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4619,10 +4730,10 @@
+@@ -4619,10 +4732,10 @@
#
interface(`userdom_dontaudit_list_sysadm_home_dirs',`
gen_require(`
@@ -27015,7 +27032,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4638,12 +4749,11 @@
+@@ -4638,12 +4751,11 @@
#
interface(`userdom_dontaudit_read_sysadm_home_content_files',`
gen_require(`
@@ -27031,7 +27048,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4670,10 +4780,10 @@
+@@ -4670,10 +4782,10 @@
#
interface(`userdom_sysadm_home_dir_filetrans',`
gen_require(`
@@ -27044,7 +27061,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4688,10 +4798,10 @@
+@@ -4688,10 +4800,10 @@
#
interface(`userdom_search_sysadm_home_content_dirs',`
gen_require(`
@@ -27057,7 +27074,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4706,13 +4816,13 @@
+@@ -4706,13 +4818,13 @@
#
interface(`userdom_read_sysadm_home_content_files',`
gen_require(`
@@ -27075,7 +27092,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4748,11 +4858,49 @@
+@@ -4748,11 +4860,49 @@
#
interface(`userdom_search_all_users_home_dirs',`
gen_require(`
@@ -27126,7 +27143,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4772,6 +4920,14 @@
+@@ -4772,6 +4922,14 @@
files_list_home($1)
allow $1 home_dir_type:dir list_dir_perms;
@@ -27141,7 +27158,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4833,6 +4989,26 @@
+@@ -4833,6 +4991,26 @@
########################################
##