@@ -30099,7 +30322,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 +1196,11 @@
+@@ -1193,12 +1198,11 @@
# and may change other protocols
tunable_policy(`user_tcp_server',`
corenet_tcp_bind_all_nodes($1_t)
@@ -30114,7 +30337,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
# Run pppd in pppd_t by default for user
-@@ -1207,7 +1209,27 @@
+@@ -1207,7 +1211,27 @@
')
optional_policy(`
@@ -30143,7 +30366,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
')
-@@ -1284,8 +1306,6 @@
+@@ -1284,8 +1308,6 @@
# Manipulate other users crontab.
allow $1_t self:passwd crontab;
@@ -30152,7 +30375,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 +1383,6 @@
+@@ -1363,13 +1385,6 @@
# But presently necessary for installing the file_contexts file.
seutil_manage_bin_policy($1_t)
@@ -30166,7 +30389,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
optional_policy(`
userhelper_exec($1_t)
')
-@@ -1422,6 +1435,7 @@
+@@ -1422,6 +1437,7 @@
dev_relabel_all_dev_nodes($1)
files_create_boot_flag($1)
@@ -30174,7 +30397,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 +1801,14 @@
+@@ -1787,10 +1803,14 @@
template(`userdom_user_home_content',`
gen_require(`
attribute $1_file_type;
@@ -30190,7 +30413,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -1886,11 +1904,11 @@
+@@ -1886,11 +1906,11 @@
#
template(`userdom_search_user_home_dirs',`
gen_require(`
@@ -30204,7 +30427,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -1920,11 +1938,11 @@
+@@ -1920,11 +1940,11 @@
#
template(`userdom_list_user_home_dirs',`
gen_require(`
@@ -30218,7 +30441,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -1968,12 +1986,12 @@
+@@ -1968,12 +1988,12 @@
#
template(`userdom_user_home_domtrans',`
gen_require(`
@@ -30234,7 +30457,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2003,10 +2021,10 @@
+@@ -2003,10 +2023,10 @@
#
template(`userdom_dontaudit_list_user_home_dirs',`
gen_require(`
@@ -30247,7 +30470,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2038,11 +2056,47 @@
+@@ -2038,11 +2058,47 @@
#
template(`userdom_manage_user_home_content_dirs',`
gen_require(`
@@ -30297,7 +30520,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2074,10 +2128,10 @@
+@@ -2074,10 +2130,10 @@
#
template(`userdom_dontaudit_setattr_user_home_content_files',`
gen_require(`
@@ -30310,7 +30533,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2107,11 +2161,11 @@
+@@ -2107,11 +2163,11 @@
#
template(`userdom_read_user_home_content_files',`
gen_require(`
@@ -30324,7 +30547,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2141,11 +2195,11 @@
+@@ -2141,11 +2197,11 @@
#
template(`userdom_dontaudit_read_user_home_content_files',`
gen_require(`
@@ -30339,7 +30562,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2175,10 +2229,14 @@
+@@ -2175,10 +2231,14 @@
#
template(`userdom_dontaudit_write_user_home_content_files',`
gen_require(`
@@ -30356,7 +30579,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2208,11 +2266,11 @@
+@@ -2208,11 +2268,11 @@
#
template(`userdom_read_user_home_content_symlinks',`
gen_require(`
@@ -30370,7 +30593,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2242,11 +2300,11 @@
+@@ -2242,11 +2302,11 @@
#
template(`userdom_exec_user_home_content_files',`
gen_require(`
@@ -30384,7 +30607,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2276,10 +2334,10 @@
+@@ -2276,10 +2336,10 @@
#
template(`userdom_dontaudit_exec_user_home_content_files',`
gen_require(`
@@ -30397,7 +30620,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2311,12 +2369,12 @@
+@@ -2311,12 +2371,12 @@
#
template(`userdom_manage_user_home_content_files',`
gen_require(`
@@ -30413,7 +30636,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2348,10 +2406,10 @@
+@@ -2348,10 +2408,10 @@
#
template(`userdom_dontaudit_manage_user_home_content_dirs',`
gen_require(`
@@ -30426,7 +30649,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2383,12 +2441,12 @@
+@@ -2383,12 +2443,12 @@
#
template(`userdom_manage_user_home_content_symlinks',`
gen_require(`
@@ -30442,7 +30665,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2420,12 +2478,12 @@
+@@ -2420,12 +2480,12 @@
#
template(`userdom_manage_user_home_content_pipes',`
gen_require(`
@@ -30458,7 +30681,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2457,12 +2515,12 @@
+@@ -2457,12 +2517,12 @@
#
template(`userdom_manage_user_home_content_sockets',`
gen_require(`
@@ -30474,7 +30697,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2507,11 +2565,11 @@
+@@ -2507,11 +2567,11 @@
#
template(`userdom_user_home_dir_filetrans',`
gen_require(`
@@ -30488,7 +30711,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2556,11 +2614,11 @@
+@@ -2556,11 +2616,11 @@
#
template(`userdom_user_home_content_filetrans',`
gen_require(`
@@ -30502,7 +30725,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2600,11 +2658,11 @@
+@@ -2600,11 +2660,11 @@
#
template(`userdom_user_home_dir_filetrans_user_home_content',`
gen_require(`
@@ -30516,7 +30739,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2634,11 +2692,11 @@
+@@ -2634,11 +2694,11 @@
#
template(`userdom_write_user_tmp_sockets',`
gen_require(`
@@ -30530,7 +30753,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2668,11 +2726,11 @@
+@@ -2668,11 +2728,11 @@
#
template(`userdom_list_user_tmp',`
gen_require(`
@@ -30544,7 +30767,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2704,10 +2762,10 @@
+@@ -2704,10 +2764,10 @@
#
template(`userdom_dontaudit_list_user_tmp',`
gen_require(`
@@ -30557,7 +30780,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2739,10 +2797,10 @@
+@@ -2739,10 +2799,10 @@
#
template(`userdom_dontaudit_manage_user_tmp_dirs',`
gen_require(`
@@ -30570,7 +30793,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2772,12 +2830,12 @@
+@@ -2772,12 +2832,12 @@
#
template(`userdom_read_user_tmp_files',`
gen_require(`
@@ -30586,7 +30809,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2809,10 +2867,10 @@
+@@ -2809,10 +2869,10 @@
#
template(`userdom_dontaudit_read_user_tmp_files',`
gen_require(`
@@ -30599,7 +30822,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2844,10 +2902,48 @@
+@@ -2844,10 +2904,48 @@
#
template(`userdom_dontaudit_append_user_tmp_files',`
gen_require(`
@@ -30650,7 +30873,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2877,12 +2973,12 @@
+@@ -2877,12 +2975,12 @@
#
template(`userdom_rw_user_tmp_files',`
gen_require(`
@@ -30666,7 +30889,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2914,10 +3010,10 @@
+@@ -2914,10 +3012,10 @@
#
template(`userdom_dontaudit_manage_user_tmp_files',`
gen_require(`
@@ -30679,7 +30902,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2949,12 +3045,12 @@
+@@ -2949,12 +3047,12 @@
#
template(`userdom_read_user_tmp_symlinks',`
gen_require(`
@@ -30695,7 +30918,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -2986,11 +3082,11 @@
+@@ -2986,11 +3084,11 @@
#
template(`userdom_manage_user_tmp_dirs',`
gen_require(`
@@ -30709,7 +30932,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3022,11 +3118,11 @@
+@@ -3022,11 +3120,11 @@
#
template(`userdom_manage_user_tmp_files',`
gen_require(`
@@ -30723,7 +30946,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3058,11 +3154,11 @@
+@@ -3058,11 +3156,11 @@
#
template(`userdom_manage_user_tmp_symlinks',`
gen_require(`
@@ -30737,7 +30960,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3094,11 +3190,11 @@
+@@ -3094,11 +3192,11 @@
#
template(`userdom_manage_user_tmp_pipes',`
gen_require(`
@@ -30751,7 +30974,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3130,11 +3226,11 @@
+@@ -3130,11 +3228,11 @@
#
template(`userdom_manage_user_tmp_sockets',`
gen_require(`
@@ -30765,7 +30988,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3179,10 +3275,10 @@
+@@ -3179,10 +3277,10 @@
#
template(`userdom_user_tmp_filetrans',`
gen_require(`
@@ -30778,7 +31001,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
files_search_tmp($2)
')
-@@ -3223,10 +3319,10 @@
+@@ -3223,10 +3321,10 @@
#
template(`userdom_tmp_filetrans_user_tmp',`
gen_require(`
@@ -30791,7 +31014,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -3254,6 +3350,42 @@
+@@ -3254,6 +3352,42 @@
##
##
#
@@ -30834,7 +31057,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 +4363,11 @@
+@@ -4231,11 +4365,11 @@
#
interface(`userdom_search_staff_home_dirs',`
gen_require(`
@@ -30848,7 +31071,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4251,10 +4383,10 @@
+@@ -4251,10 +4385,10 @@
#
interface(`userdom_dontaudit_search_staff_home_dirs',`
gen_require(`
@@ -30861,7 +31084,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4270,11 +4402,11 @@
+@@ -4270,11 +4404,11 @@
#
interface(`userdom_manage_staff_home_dirs',`
gen_require(`
@@ -30875,7 +31098,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4289,16 +4421,16 @@
+@@ -4289,16 +4423,16 @@
#
interface(`userdom_relabelto_staff_home_dirs',`
gen_require(`
@@ -30895,7 +31118,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
## users home directory.
##
##
-@@ -4307,12 +4439,27 @@
+@@ -4307,12 +4441,27 @@
##
##
#
@@ -30926,7 +31149,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4327,13 +4474,13 @@
+@@ -4327,13 +4476,13 @@
#
interface(`userdom_read_staff_home_content_files',`
gen_require(`
@@ -30944,7 +31167,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4531,10 +4678,10 @@
+@@ -4531,10 +4680,10 @@
#
interface(`userdom_getattr_sysadm_home_dirs',`
gen_require(`
@@ -30957,7 +31180,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4551,10 +4698,10 @@
+@@ -4551,10 +4700,10 @@
#
interface(`userdom_dontaudit_getattr_sysadm_home_dirs',`
gen_require(`
@@ -30970,7 +31193,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4569,10 +4716,10 @@
+@@ -4569,10 +4718,10 @@
#
interface(`userdom_search_sysadm_home_dirs',`
gen_require(`
@@ -30983,7 +31206,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4588,10 +4735,10 @@
+@@ -4588,10 +4737,10 @@
#
interface(`userdom_dontaudit_search_sysadm_home_dirs',`
gen_require(`
@@ -30996,7 +31219,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4606,10 +4753,10 @@
+@@ -4606,10 +4755,10 @@
#
interface(`userdom_list_sysadm_home_dirs',`
gen_require(`
@@ -31009,7 +31232,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4625,10 +4772,10 @@
+@@ -4625,10 +4774,10 @@
#
interface(`userdom_dontaudit_list_sysadm_home_dirs',`
gen_require(`
@@ -31022,7 +31245,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4644,12 +4791,11 @@
+@@ -4644,12 +4793,11 @@
#
interface(`userdom_dontaudit_read_sysadm_home_content_files',`
gen_require(`
@@ -31038,7 +31261,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4676,10 +4822,10 @@
+@@ -4676,10 +4824,10 @@
#
interface(`userdom_sysadm_home_dir_filetrans',`
gen_require(`
@@ -31051,7 +31274,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4694,10 +4840,10 @@
+@@ -4694,10 +4842,10 @@
#
interface(`userdom_search_sysadm_home_content_dirs',`
gen_require(`
@@ -31064,7 +31287,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4712,13 +4858,13 @@
+@@ -4712,13 +4860,13 @@
#
interface(`userdom_read_sysadm_home_content_files',`
gen_require(`
@@ -31082,7 +31305,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4754,11 +4900,49 @@
+@@ -4754,11 +4902,49 @@
#
interface(`userdom_search_all_users_home_dirs',`
gen_require(`
@@ -31133,7 +31356,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4778,6 +4962,14 @@
+@@ -4778,6 +4964,14 @@
files_list_home($1)
allow $1 home_dir_type:dir list_dir_perms;
@@ -31148,7 +31371,7 @@ diff --exclude-from=exclude -N -u -r nsaserefpolicy/policy/modules/system/userdo
')
########################################
-@@ -4839,6 +5031,26 @@
+@@ -4839,6 +5033,26 @@
########################################
##