From 9c3f7b0713b5ffd82eda6ee885763858dabbb786 Mon Sep 17 00:00:00 2001 From: Miroslav Grepl Date: May 17 2013 08:13:44 +0000 Subject: Add support for /home//.icedtea and label it as mozilla_home_t --- diff --git a/policy-rawhide-contrib.patch b/policy-rawhide-contrib.patch index 6a2197b..d4b02fd 100644 --- a/policy-rawhide-contrib.patch +++ b/policy-rawhide-contrib.patch @@ -36591,10 +36591,10 @@ index 4462c0e..84944d1 100644 userdom_dontaudit_use_unpriv_user_fds(monopd_t) diff --git a/mozilla.fc b/mozilla.fc -index 6ffaba2..90fd526 100644 +index 6ffaba2..640ff5e 100644 --- a/mozilla.fc +++ b/mozilla.fc -@@ -1,38 +1,63 @@ +@@ -1,38 +1,64 @@ -HOME_DIR/\.galeon(/.*)? gen_context(system_u:object_r:mozilla_home_t,s0) -HOME_DIR/\.mozilla(/.*)? gen_context(system_u:object_r:mozilla_home_t,s0) -HOME_DIR/\.mozilla/plugins(/.*)? gen_context(system_u:object_r:mozilla_plugin_home_t,s0) @@ -36629,6 +36629,7 @@ index 6ffaba2..90fd526 100644 +HOME_DIR/\.gcjwebplugin(/.*)? gen_context(system_u:object_r:mozilla_home_t,s0) +HOME_DIR/\.grl-podcasts(/.*)? gen_context(system_u:object_r:mozilla_home_t,s0) +HOME_DIR/\.icedteaplugin(/.*)? gen_context(system_u:object_r:mozilla_home_t,s0) ++HOME_DIR/\..icedtea(/.*)? gen_context(system_u:object_r:mozilla_home_t,s0) +HOME_DIR/\.lyx(/.*)? gen_context(system_u:object_r:mozilla_home_t,s0) +HOME_DIR/\.quakelive(/.*)? gen_context(system_u:object_r:mozilla_home_t,s0) +HOME_DIR/\.spicec(/.*)? gen_context(system_u:object_r:mozilla_home_t,s0) @@ -36693,7 +36694,7 @@ index 6ffaba2..90fd526 100644 +/usr/lib/nspluginwrapper/plugin-config -- gen_context(system_u:object_r:mozilla_plugin_config_exec_t,s0) +') diff --git a/mozilla.if b/mozilla.if -index 6194b80..116d9d2 100644 +index 6194b80..879f5db 100644 --- a/mozilla.if +++ b/mozilla.if @@ -1,146 +1,75 @@ @@ -37332,7 +37333,7 @@ index 6194b80..116d9d2 100644 ## ## ## -@@ -530,45 +448,50 @@ interface(`mozilla_plugin_delete_tmpfs_files',` +@@ -530,45 +448,51 @@ interface(`mozilla_plugin_delete_tmpfs_files',` ## ## # @@ -37397,6 +37398,7 @@ index 6194b80..116d9d2 100644 + userdom_user_home_dir_filetrans($1, mozilla_home_t, dir, ".grl-podcasts") + userdom_user_home_dir_filetrans($1, mozilla_home_t, dir, ".gcjwebplugin") + userdom_user_home_dir_filetrans($1, mozilla_home_t, dir, ".icedteaplugin") ++ userdom_user_home_dir_filetrans($1, mozilla_home_t, dir, ".icedtea") + userdom_user_home_dir_filetrans($1, mozilla_home_t, dir, ".quakelive") + userdom_user_home_dir_filetrans($1, mozilla_home_t, dir, ".spicec") + userdom_user_home_dir_filetrans($1, mozilla_home_t, dir, ".ICAClient")