diff --git a/policy/modules/kernel/files.if b/policy/modules/kernel/files.if
index 1cdf376..6564a31 100644
--- a/policy/modules/kernel/files.if
+++ b/policy/modules/kernel/files.if
@@ -4299,6 +4299,25 @@ interface(`files_rw_var_files',`
########################################
##
+## Do not audit attempts to read and write
+## files in the /var directory.
+##
+##
+##
+## Domain allowed access.
+##
+##
+#
+interface(`files_dontaudit_rw_var_files',`
+ gen_require(`
+ type var_t;
+ ')
+
+ dontaudit $1 var_t:file rw_file_perms;
+')
+
+########################################
+##
## Create, read, write, and delete files in the /var directory.
##
##
diff --git a/policy/modules/kernel/files.te b/policy/modules/kernel/files.te
index fdfe199..6515807 100644
--- a/policy/modules/kernel/files.te
+++ b/policy/modules/kernel/files.te
@@ -1,5 +1,5 @@
-policy_module(files, 1.12.2)
+policy_module(files, 1.12.3)
########################################
#
diff --git a/policy/modules/system/libraries.te b/policy/modules/system/libraries.te
index 76a1a05..0557fb2 100644
--- a/policy/modules/system/libraries.te
+++ b/policy/modules/system/libraries.te
@@ -1,5 +1,5 @@
-policy_module(libraries, 2.6.0)
+policy_module(libraries, 2.6.1)
########################################
#
@@ -101,6 +101,16 @@ ifdef(`distro_ubuntu',`
')
ifdef(`hide_broken_symptoms',`
+ ifdef(`distro_gentoo',`
+ # leaked fds from portage
+ files_dontaudit_rw_var_files(ldconfig_t)
+
+ optional_policy(`
+ portage_dontaudit_search_tmp(ldconfig_t)
+ portage_dontaudit_rw_tmp_files(ldconfig_t)
+ ')
+ ')
+
optional_policy(`
unconfined_dontaudit_rw_tcp_sockets(ldconfig_t)
')