Allow gtk apps to map usr_t files
PATCH 1/1 Allow gtk apps to map usr_t files
This is required to access gtk's icon cache. IIRC, past discussion on the ML came to the conclusion that adding a new domain for this would be overkill.
--- blueman.te | 1 + evolution.te | 1 + gpg.te | 1 + mozilla.te | 1 + openoffice.te | 1 + thunderbird.te | 1 + wireshark.te | 1 + wm.te | 1 + 8 files changed, 8 insertions(+)
blueman.te +1 -0
@@ -45,6 +45,7 @@ dev_rw_wireless(blueman_t) domain_use_interactive_fds(blueman_t) files_list_tmp(blueman_t) +files_map_usr_files(blueman_t) files_read_usr_files(blueman_t) auth_use_nsswitch(blueman_t)
evolution.te +1 -0
@@ -182,6 +182,7 @@ dev_read_urand(evolution_t) domain_dontaudit_read_all_domains_state(evolution_t) +files_map_usr_files(evolution_t) files_read_usr_files(evolution_t) fs_dontaudit_getattr_xattr_fs(evolution_t)
gpg.te +1 -0
@@ -338,6 +338,7 @@ dev_read_rand(gpg_pinentry_t) domain_use_interactive_fds(gpg_pinentry_t) +files_map_usr_files(gpg_pinentry_t) files_read_usr_files(gpg_pinentry_t) fs_dontaudit_getattr_xattr_fs(gpg_pinentry_t)
mozilla.te +1 -0
@@ -170,6 +170,7 @@ dev_write_sound(mozilla_t) domain_dontaudit_read_all_domains_state(mozilla_t) files_read_etc_runtime_files(mozilla_t) +files_map_usr_files(mozilla_t) files_read_usr_files(mozilla_t) files_read_var_files(mozilla_t) files_read_var_lib_files(mozilla_t)
openoffice.te +1 -0
@@ -80,6 +80,7 @@ files_getattr_all_dirs(ooffice_t) files_getattr_all_files(ooffice_t) files_getattr_all_symlinks(ooffice_t) files_read_etc_files(ooffice_t) +files_map_usr_files(ooffice_t) files_read_usr_files(ooffice_t) fs_getattr_xattr_fs(ooffice_t)
thunderbird.te +1 -0
@@ -86,6 +86,7 @@ dev_read_urand(thunderbird_t) dev_dontaudit_search_sysfs(thunderbird_t) files_list_tmp(thunderbird_t) +files_map_usr_files(thunderbird_t) files_read_usr_files(thunderbird_t) files_read_etc_runtime_files(thunderbird_t) files_read_var_files(thunderbird_t)
wireshark.te +1 -0
@@ -86,6 +86,7 @@ dev_read_rand(wireshark_t) dev_read_sysfs(wireshark_t) dev_read_urand(wireshark_t) +files_map_usr_files(wireshark_t) files_read_usr_files(wireshark_t) fs_getattr_all_fs(wireshark_t)
wm.te +1 -0
@@ -56,6 +56,7 @@ dev_rw_wireless(wm_domain) dev_write_sound(wm_domain) files_read_etc_runtime_files(wm_domain) +files_map_usr_files(wm_domain) files_read_usr_files(wm_domain) fs_getattr_all_fs(wm_domain)
Signature · 1 line
2.15.0
PATCH 1/1 Allow gtk apps to map usr_t files
Quoted 103 lines · Luis Ressel via refpolicy
This is required to access gtk's icon cache. IIRC, past discussion on the ML came to the conclusion that adding a new domain for this would be overkill.
--- blueman.te | 1 + evolution.te | 1 + gpg.te | 1 + mozilla.te | 1 + openoffice.te | 1 + thunderbird.te | 1 + wireshark.te | 1 + wm.te | 1 + 8 files changed, 8 insertions(+)blueman.te +1
-0@@ -45,6 +45,7 @@ dev_rw_wireless(blueman_t) domain_use_interactive_fds(blueman_t) files_list_tmp(blueman_t) +files_map_usr_files(blueman_t) files_read_usr_files(blueman_t) auth_use_nsswitch(blueman_t)evolution.te +1
-0@@ -182,6 +182,7 @@ dev_read_urand(evolution_t) domain_dontaudit_read_all_domains_state(evolution_t) +files_map_usr_files(evolution_t) files_read_usr_files(evolution_t) fs_dontaudit_getattr_xattr_fs(evolution_t)gpg.te +1
-0@@ -338,6 +338,7 @@ dev_read_rand(gpg_pinentry_t) domain_use_interactive_fds(gpg_pinentry_t) +files_map_usr_files(gpg_pinentry_t) files_read_usr_files(gpg_pinentry_t) fs_dontaudit_getattr_xattr_fs(gpg_pinentry_t)mozilla.te +1
-0@@ -170,6 +170,7 @@ dev_write_sound(mozilla_t) domain_dontaudit_read_all_domains_state(mozilla_t) files_read_etc_runtime_files(mozilla_t) +files_map_usr_files(mozilla_t) files_read_usr_files(mozilla_t) files_read_var_files(mozilla_t) files_read_var_lib_files(mozilla_t)openoffice.te +1
-0@@ -80,6 +80,7 @@ files_getattr_all_dirs(ooffice_t) files_getattr_all_files(ooffice_t) files_getattr_all_symlinks(ooffice_t) files_read_etc_files(ooffice_t) +files_map_usr_files(ooffice_t) files_read_usr_files(ooffice_t) fs_getattr_xattr_fs(ooffice_t)thunderbird.te +1
-0@@ -86,6 +86,7 @@ dev_read_urand(thunderbird_t) dev_dontaudit_search_sysfs(thunderbird_t) files_list_tmp(thunderbird_t) +files_map_usr_files(thunderbird_t) files_read_usr_files(thunderbird_t) files_read_etc_runtime_files(thunderbird_t) files_read_var_files(thunderbird_t)wireshark.te +1
-0@@ -86,6 +86,7 @@ dev_read_rand(wireshark_t) dev_read_sysfs(wireshark_t) dev_read_urand(wireshark_t) +files_map_usr_files(wireshark_t) files_read_usr_files(wireshark_t) fs_getattr_all_fs(wireshark_t)wm.te +0
-0
wm.te dev_rw_wireless(wm_domain) · line 62
Quoted 7 lines
wm.te +1
-0@@ -56,6 +56,7 @@ dev_rw_wireless(wm_domain) dev_write_sound(wm_domain) files_read_etc_runtime_files(wm_domain) +files_map_usr_files(wm_domain) files_read_usr_files(wm_domain) fs_getattr_all_fs(wm_domain)
Merged.
Signature · 1 line
Chris PeBenito