From 2d175266814b1b57ace7378abd816ddbaad490d6 Mon Sep 17 00:00:00 2001
From: Daniel J Walsh
@@ -33554,7 +33804,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ##
#### This template creates a user domain, types, and -@@ -1167,11 +1161,10 @@ +@@ -1167,11 +1162,10 @@ # # port access is audited even if dac would not have allowed it, so dontaudit it here @@ -33567,7 +33817,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol # cjp: why? files_read_kernel_symbol_table($1_t) -@@ -1189,36 +1182,45 @@ +@@ -1189,36 +1183,45 @@ ') ') @@ -33626,7 +33876,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ') -@@ -1295,8 +1297,6 @@ +@@ -1295,8 +1298,6 @@ # Manipulate other users crontab. allow $1_t self:passwd crontab; @@ -33635,7 +33885,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol kernel_read_software_raid_state($1_t) kernel_getattr_core_if($1_t) kernel_getattr_message_if($1_t) -@@ -1318,8 +1318,6 @@ +@@ -1318,8 +1319,6 @@ dev_getattr_generic_blk_files($1_t) dev_getattr_generic_chr_files($1_t) @@ -33644,7 +33894,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol # Allow MAKEDEV to work dev_create_all_blk_files($1_t) dev_create_all_chr_files($1_t) -@@ -1374,13 +1372,6 @@ +@@ -1374,13 +1373,6 @@ # But presently necessary for installing the file_contexts file. seutil_manage_bin_policy($1_t) @@ -33658,7 +33908,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol optional_policy(` postgresql_unconfined($1_t) ') -@@ -1432,6 +1423,7 @@ +@@ -1432,6 +1424,7 @@ dev_relabel_all_dev_nodes($1) files_create_boot_flag($1) @@ -33666,7 +33916,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol # Necessary for managing /boot/efi fs_manage_dos_files($1) -@@ -1461,10 +1453,6 @@ +@@ -1461,10 +1454,6 @@ seutil_run_semanage($1,$2,$3) seutil_run_setfiles($1, $2, $3) @@ -33677,7 +33927,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol optional_policy(` aide_run($1,$2, $3) ') -@@ -1484,6 +1472,14 @@ +@@ -1484,6 +1473,14 @@ optional_policy(` netlabel_run_mgmt($1,$2, $3) ') @@ -33692,7 +33942,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -1741,11 +1737,15 @@ +@@ -1741,11 +1738,15 @@ # template(`userdom_user_home_content',` gen_require(` @@ -33711,7 +33961,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -1841,11 +1841,11 @@ +@@ -1841,11 +1842,11 @@ # template(`userdom_search_user_home_dirs',` gen_require(` @@ -33725,7 +33975,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -1875,11 +1875,11 @@ +@@ -1875,11 +1876,11 @@ # template(`userdom_list_user_home_dirs',` gen_require(` @@ -33739,7 +33989,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -1923,12 +1923,12 @@ +@@ -1923,12 +1924,12 @@ # template(`userdom_user_home_domtrans',` gen_require(` @@ -33755,7 +34005,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -1958,10 +1958,11 @@ +@@ -1958,10 +1959,11 @@ # template(`userdom_dontaudit_list_user_home_dirs',` gen_require(` @@ -33769,7 +34019,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -1993,11 +1994,47 @@ +@@ -1993,11 +1995,47 @@ # template(`userdom_manage_user_home_content_dirs',` gen_require(` @@ -33819,7 +34069,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2029,10 +2066,10 @@ +@@ -2029,10 +2067,10 @@ # template(`userdom_dontaudit_setattr_user_home_content_files',` gen_require(` @@ -33832,7 +34082,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2062,11 +2099,11 @@ +@@ -2062,11 +2100,11 @@ # template(`userdom_read_user_home_content_files',` gen_require(` @@ -33846,7 +34096,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2096,11 +2133,11 @@ +@@ -2096,11 +2134,11 @@ # template(`userdom_dontaudit_read_user_home_content_files',` gen_require(` @@ -33861,7 +34111,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2130,10 +2167,14 @@ +@@ -2130,10 +2168,14 @@ # template(`userdom_dontaudit_write_user_home_content_files',` gen_require(` @@ -33878,7 +34128,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2163,11 +2204,11 @@ +@@ -2163,11 +2205,11 @@ # template(`userdom_read_user_home_content_symlinks',` gen_require(` @@ -33892,7 +34142,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2197,11 +2238,11 @@ +@@ -2197,11 +2239,11 @@ # template(`userdom_exec_user_home_content_files',` gen_require(` @@ -33906,7 +34156,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2231,10 +2272,10 @@ +@@ -2231,10 +2273,10 @@ # template(`userdom_dontaudit_exec_user_home_content_files',` gen_require(` @@ -33919,7 +34169,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2266,12 +2307,12 @@ +@@ -2266,12 +2308,12 @@ # template(`userdom_manage_user_home_content_files',` gen_require(` @@ -33935,7 +34185,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2303,10 +2344,10 @@ +@@ -2303,10 +2345,10 @@ # template(`userdom_dontaudit_manage_user_home_content_dirs',` gen_require(` @@ -33948,7 +34198,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2338,12 +2379,12 @@ +@@ -2338,12 +2380,12 @@ # template(`userdom_manage_user_home_content_symlinks',` gen_require(` @@ -33964,7 +34214,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2375,12 +2416,12 @@ +@@ -2375,12 +2417,12 @@ # template(`userdom_manage_user_home_content_pipes',` gen_require(` @@ -33980,7 +34230,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2412,12 +2453,12 @@ +@@ -2412,12 +2454,12 @@ # template(`userdom_manage_user_home_content_sockets',` gen_require(` @@ -33996,7 +34246,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2462,11 +2503,11 @@ +@@ -2462,11 +2504,11 @@ # template(`userdom_user_home_dir_filetrans',` gen_require(` @@ -34010,7 +34260,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2511,11 +2552,11 @@ +@@ -2511,11 +2553,11 @@ # template(`userdom_user_home_content_filetrans',` gen_require(` @@ -34024,7 +34274,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2555,11 +2596,11 @@ +@@ -2555,11 +2597,11 @@ # template(`userdom_user_home_dir_filetrans_user_home_content',` gen_require(` @@ -34038,7 +34288,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2589,11 +2630,11 @@ +@@ -2589,11 +2631,11 @@ # template(`userdom_write_user_tmp_sockets',` gen_require(` @@ -34052,7 +34302,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2623,11 +2664,11 @@ +@@ -2623,11 +2665,11 @@ # template(`userdom_list_user_tmp',` gen_require(` @@ -34066,7 +34316,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2659,10 +2700,10 @@ +@@ -2659,10 +2701,10 @@ # template(`userdom_dontaudit_list_user_tmp',` gen_require(` @@ -34079,7 +34329,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2694,10 +2735,10 @@ +@@ -2694,10 +2736,10 @@ # template(`userdom_dontaudit_manage_user_tmp_dirs',` gen_require(` @@ -34092,7 +34342,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2727,12 +2768,12 @@ +@@ -2727,12 +2769,12 @@ # template(`userdom_read_user_tmp_files',` gen_require(` @@ -34108,7 +34358,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2764,10 +2805,10 @@ +@@ -2764,10 +2806,10 @@ # template(`userdom_dontaudit_read_user_tmp_files',` gen_require(` @@ -34121,7 +34371,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2799,10 +2840,10 @@ +@@ -2799,10 +2841,10 @@ # template(`userdom_dontaudit_append_user_tmp_files',` gen_require(` @@ -34134,7 +34384,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2832,12 +2873,12 @@ +@@ -2832,12 +2874,12 @@ # template(`userdom_rw_user_tmp_files',` gen_require(` @@ -34150,7 +34400,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2869,10 +2910,10 @@ +@@ -2869,10 +2911,10 @@ # template(`userdom_dontaudit_manage_user_tmp_files',` gen_require(` @@ -34163,7 +34413,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2904,12 +2945,12 @@ +@@ -2904,12 +2946,12 @@ # template(`userdom_read_user_tmp_symlinks',` gen_require(` @@ -34179,7 +34429,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2941,11 +2982,11 @@ +@@ -2941,11 +2983,11 @@ # template(`userdom_manage_user_tmp_dirs',` gen_require(` @@ -34193,7 +34443,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -2977,11 +3018,11 @@ +@@ -2977,11 +3019,11 @@ # template(`userdom_manage_user_tmp_files',` gen_require(` @@ -34207,7 +34457,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -3013,11 +3054,11 @@ +@@ -3013,11 +3055,11 @@ # template(`userdom_manage_user_tmp_symlinks',` gen_require(` @@ -34221,7 +34471,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -3049,11 +3090,11 @@ +@@ -3049,11 +3091,11 @@ # template(`userdom_manage_user_tmp_pipes',` gen_require(` @@ -34235,7 +34485,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -3085,11 +3126,11 @@ +@@ -3085,11 +3127,11 @@ # template(`userdom_manage_user_tmp_sockets',` gen_require(` @@ -34249,7 +34499,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ') ######################################## -@@ -3134,10 +3175,10 @@ +@@ -3134,10 +3176,10 @@ # template(`userdom_user_tmp_filetrans',` gen_require(` @@ -34262,7 +34512,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol files_search_tmp($2) ') -@@ -3178,19 +3219,19 @@ +@@ -3178,19 +3220,19 @@ # template(`userdom_tmp_filetrans_user_tmp',` gen_require(` @@ -34286,7 +34536,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol ##
##
## This is a templated interface, and should only
-@@ -4616,11 +4657,11 @@
+@@ -4616,11 +4658,11 @@
#
interface(`userdom_search_all_users_home_dirs',`
gen_require(`
@@ -34300,7 +34550,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
')
########################################
-@@ -4640,6 +4681,14 @@
+@@ -4640,6 +4682,14 @@
files_list_home($1)
allow $1 home_dir_type:dir list_dir_perms;
@@ -34315,7 +34565,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
')
########################################
-@@ -4677,6 +4726,8 @@
+@@ -4677,6 +4727,8 @@
')
dontaudit $1 { home_dir_type home_type }:dir search_dir_perms;
@@ -34324,7 +34574,7 @@ diff -b -B --ignore-all-space --exclude-from=exclude -N -u -r nsaserefpolicy/pol
')
########################################
-@@ -4721,6 +4772,25 @@
+@@ -4721,6 +4773,25 @@
########################################
##