Add files_poly_member() to userdom_user_home_content() Remove redundant files_poly_member() calls.
Signed-off-by: Dominick Grift <domg472@gmail.com> Signed-off-by: Chris PeBenito <cpebenito@tresys.com>
This commit is contained in:
		
							parent
							
								
									f7ffe6c2a9
								
							
						
					
					
						commit
						fa1847f4a2
					
				| @ -59,7 +59,6 @@ ubac_constrained(evolution_exchange_orbit_tmp_t) | |||||||
| type evolution_home_t; | type evolution_home_t; | ||||||
| typealias evolution_home_t alias { user_evolution_home_t staff_evolution_home_t sysadm_evolution_home_t }; | typealias evolution_home_t alias { user_evolution_home_t staff_evolution_home_t sysadm_evolution_home_t }; | ||||||
| typealias evolution_home_t alias { auditadm_evolution_home_t secadm_evolution_home_t }; | typealias evolution_home_t alias { auditadm_evolution_home_t secadm_evolution_home_t }; | ||||||
| files_poly_member(evolution_home_t) |  | ||||||
| userdom_user_home_content(evolution_home_t) | userdom_user_home_content(evolution_home_t) | ||||||
| 
 | 
 | ||||||
| type evolution_orbit_tmp_t; | type evolution_orbit_tmp_t; | ||||||
|  | |||||||
| @ -15,7 +15,6 @@ ubac_constrained(gift_t) | |||||||
| type gift_home_t; | type gift_home_t; | ||||||
| typealias gift_home_t alias { user_gift_home_t staff_gift_home_t sysadm_gift_home_t }; | typealias gift_home_t alias { user_gift_home_t staff_gift_home_t sysadm_gift_home_t }; | ||||||
| typealias gift_home_t alias { auditadm_gift_home_t secadm_gift_home_t }; | typealias gift_home_t alias { auditadm_gift_home_t secadm_gift_home_t }; | ||||||
| files_poly_member(gift_home_t) |  | ||||||
| userdom_user_home_content(gift_home_t) | userdom_user_home_content(gift_home_t) | ||||||
| 
 | 
 | ||||||
| type gift_tmpfs_t; | type gift_tmpfs_t; | ||||||
|  | |||||||
| @ -25,7 +25,6 @@ files_config_file(mozilla_conf_t) | |||||||
| type mozilla_home_t; | type mozilla_home_t; | ||||||
| typealias mozilla_home_t alias { user_mozilla_home_t staff_mozilla_home_t sysadm_mozilla_home_t }; | typealias mozilla_home_t alias { user_mozilla_home_t staff_mozilla_home_t sysadm_mozilla_home_t }; | ||||||
| typealias mozilla_home_t alias { auditadm_mozilla_home_t secadm_mozilla_home_t }; | typealias mozilla_home_t alias { auditadm_mozilla_home_t secadm_mozilla_home_t }; | ||||||
| files_poly_member(mozilla_home_t) |  | ||||||
| userdom_user_home_content(mozilla_home_t) | userdom_user_home_content(mozilla_home_t) | ||||||
| 
 | 
 | ||||||
| type mozilla_tmpfs_t; | type mozilla_tmpfs_t; | ||||||
|  | |||||||
| @ -32,7 +32,6 @@ files_config_file(mplayer_etc_t) | |||||||
| type mplayer_home_t; | type mplayer_home_t; | ||||||
| typealias mplayer_home_t alias { user_mplayer_home_t staff_mplayer_home_t sysadm_mplayer_home_t }; | typealias mplayer_home_t alias { user_mplayer_home_t staff_mplayer_home_t sysadm_mplayer_home_t }; | ||||||
| typealias mplayer_home_t alias { auditadm_mplayer_home_t secadm_mplayer_home_t }; | typealias mplayer_home_t alias { auditadm_mplayer_home_t secadm_mplayer_home_t }; | ||||||
| files_poly_member(mplayer_home_t) |  | ||||||
| userdom_user_home_content(mplayer_home_t) | userdom_user_home_content(mplayer_home_t) | ||||||
| 
 | 
 | ||||||
| type mplayer_tmpfs_t; | type mplayer_tmpfs_t; | ||||||
|  | |||||||
| @ -15,7 +15,6 @@ ubac_constrained(thunderbird_t) | |||||||
| type thunderbird_home_t; | type thunderbird_home_t; | ||||||
| typealias thunderbird_home_t alias { user_thunderbird_home_t staff_thunderbird_home_t sysadm_thunderbird_home_t }; | typealias thunderbird_home_t alias { user_thunderbird_home_t staff_thunderbird_home_t sysadm_thunderbird_home_t }; | ||||||
| typealias thunderbird_home_t alias { auditadm_thunderbird_home_t secadm_thunderbird_home_t }; | typealias thunderbird_home_t alias { auditadm_thunderbird_home_t secadm_thunderbird_home_t }; | ||||||
| files_poly_member(thunderbird_home_t) |  | ||||||
| userdom_user_home_content(thunderbird_home_t) | userdom_user_home_content(thunderbird_home_t) | ||||||
| 
 | 
 | ||||||
| type thunderbird_tmpfs_t; | type thunderbird_tmpfs_t; | ||||||
|  | |||||||
| @ -16,7 +16,6 @@ type tvtime_home_t alias tvtime_rw_t; | |||||||
| typealias tvtime_home_t alias { user_tvtime_home_t staff_tvtime_home_t sysadm_tvtime_home_t }; | typealias tvtime_home_t alias { user_tvtime_home_t staff_tvtime_home_t sysadm_tvtime_home_t }; | ||||||
| typealias tvtime_home_t alias { auditadm_tvtime_home_t secadm_tvtime_home_t }; | typealias tvtime_home_t alias { auditadm_tvtime_home_t secadm_tvtime_home_t }; | ||||||
| userdom_user_home_content(tvtime_home_t) | userdom_user_home_content(tvtime_home_t) | ||||||
| files_poly_member(tvtime_home_t) |  | ||||||
| 
 | 
 | ||||||
| type tvtime_tmp_t; | type tvtime_tmp_t; | ||||||
| typealias tvtime_tmp_t alias { user_tvtime_tmp_t staff_tvtime_tmp_t sysadm_tvtime_tmp_t }; | typealias tvtime_tmp_t alias { user_tvtime_tmp_t staff_tvtime_tmp_t sysadm_tvtime_tmp_t }; | ||||||
|  | |||||||
| @ -15,7 +15,6 @@ ubac_constrained(wireshark_t) | |||||||
| type wireshark_home_t; | type wireshark_home_t; | ||||||
| typealias wireshark_home_t alias { user_wireshark_home_t staff_wireshark_home_t sysadm_wireshark_home_t }; | typealias wireshark_home_t alias { user_wireshark_home_t staff_wireshark_home_t sysadm_wireshark_home_t }; | ||||||
| typealias wireshark_home_t alias { auditadm_wireshark_home_t secadm_wireshark_home_t }; | typealias wireshark_home_t alias { auditadm_wireshark_home_t secadm_wireshark_home_t }; | ||||||
| files_poly_member(wireshark_home_t) |  | ||||||
| userdom_user_home_content(wireshark_home_t) | userdom_user_home_content(wireshark_home_t) | ||||||
| 
 | 
 | ||||||
| type wireshark_tmp_t; | type wireshark_tmp_t; | ||||||
|  | |||||||
| @ -14,7 +14,6 @@ files_config_file(razor_etc_t) | |||||||
| type razor_home_t; | type razor_home_t; | ||||||
| typealias razor_home_t alias { user_razor_home_t staff_razor_home_t sysadm_razor_home_t }; | typealias razor_home_t alias { user_razor_home_t staff_razor_home_t sysadm_razor_home_t }; | ||||||
| typealias razor_home_t alias { auditadm_razor_home_t secadm_razor_home_t }; | typealias razor_home_t alias { auditadm_razor_home_t secadm_razor_home_t }; | ||||||
| files_poly_member(razor_home_t) |  | ||||||
| userdom_user_home_content(razor_home_t) | userdom_user_home_content(razor_home_t) | ||||||
| 
 | 
 | ||||||
| type razor_log_t; | type razor_log_t; | ||||||
|  | |||||||
| @ -30,7 +30,6 @@ type spamassassin_home_t; | |||||||
| typealias spamassassin_home_t alias { user_spamassassin_home_t staff_spamassassin_home_t sysadm_spamassassin_home_t }; | typealias spamassassin_home_t alias { user_spamassassin_home_t staff_spamassassin_home_t sysadm_spamassassin_home_t }; | ||||||
| typealias spamassassin_home_t alias { auditadm_spamassassin_home_t secadm_spamassassin_home_t }; | typealias spamassassin_home_t alias { auditadm_spamassassin_home_t secadm_spamassassin_home_t }; | ||||||
| userdom_user_home_content(spamassassin_home_t) | userdom_user_home_content(spamassassin_home_t) | ||||||
| files_poly_member(spamassassin_home_t) |  | ||||||
| 
 | 
 | ||||||
| type spamassassin_tmp_t; | type spamassassin_tmp_t; | ||||||
| typealias spamassassin_tmp_t alias { user_spamassassin_tmp_t staff_spamassassin_tmp_t sysadm_spamassassin_tmp_t }; | typealias spamassassin_tmp_t alias { user_spamassassin_tmp_t staff_spamassassin_tmp_t sysadm_spamassassin_tmp_t }; | ||||||
|  | |||||||
| @ -131,7 +131,6 @@ ubac_constrained(iceauth_t) | |||||||
| type iceauth_home_t; | type iceauth_home_t; | ||||||
| typealias iceauth_home_t alias { user_iceauth_home_t staff_iceauth_home_t sysadm_iceauth_home_t }; | typealias iceauth_home_t alias { user_iceauth_home_t staff_iceauth_home_t sysadm_iceauth_home_t }; | ||||||
| typealias iceauth_home_t alias { auditadm_iceauth_home_t secadm_iceauth_home_t }; | typealias iceauth_home_t alias { auditadm_iceauth_home_t secadm_iceauth_home_t }; | ||||||
| files_poly_member(iceauth_home_t) |  | ||||||
| userdom_user_home_content(iceauth_home_t) | userdom_user_home_content(iceauth_home_t) | ||||||
| 
 | 
 | ||||||
| type xauth_t; | type xauth_t; | ||||||
| @ -144,7 +143,6 @@ ubac_constrained(xauth_t) | |||||||
| type xauth_home_t; | type xauth_home_t; | ||||||
| typealias xauth_home_t alias { user_xauth_home_t staff_xauth_home_t sysadm_xauth_home_t }; | typealias xauth_home_t alias { user_xauth_home_t staff_xauth_home_t sysadm_xauth_home_t }; | ||||||
| typealias xauth_home_t alias { auditadm_xauth_home_t secadm_xauth_home_t }; | typealias xauth_home_t alias { auditadm_xauth_home_t secadm_xauth_home_t }; | ||||||
| files_poly_member(xauth_home_t) |  | ||||||
| userdom_user_home_content(xauth_home_t) | userdom_user_home_content(xauth_home_t) | ||||||
| 
 | 
 | ||||||
| type xauth_tmp_t; | type xauth_tmp_t; | ||||||
|  | |||||||
| @ -1272,6 +1272,7 @@ interface(`userdom_user_home_content',` | |||||||
| 
 | 
 | ||||||
| 	allow $1 user_home_t:filesystem associate; | 	allow $1 user_home_t:filesystem associate; | ||||||
| 	files_type($1) | 	files_type($1) | ||||||
|  | 	files_poly_member($1) | ||||||
| 	ubac_constrained($1) | 	ubac_constrained($1) | ||||||
| ') | ') | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user