diff --git a/Changelog b/Changelog index bb9f329..2322ce9 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,5 @@ +- Fix incorrectly named files_lib_filetrans_shared_lib() interface in the + libraries module. - Unified labeled networking policy from Paul Moore. - Use netmsg initial SID for MLS-only Netlabel packets, from Paul Moore. - Xen updates from Dan Walsh. diff --git a/policy/modules/admin/portage.te b/policy/modules/admin/portage.te index 0540613..e598786 100644 --- a/policy/modules/admin/portage.te +++ b/policy/modules/admin/portage.te @@ -1,5 +1,5 @@ -policy_module(portage,1.2.1) +policy_module(portage,1.2.2) ######################################## # @@ -109,7 +109,7 @@ libs_use_shared_libs(gcc_config_t) libs_read_lib_files(gcc_config_t) libs_domtrans_ldconfig(gcc_config_t) libs_manage_shared_libs(gcc_config_t) -files_lib_filetrans_shared_lib(gcc_config_t,file) +lib_filetrans_shared_lib(gcc_config_t,file) # gcc-config creates a temp dir for the libs libs_manage_lib_dirs(gcc_config_t) diff --git a/policy/modules/system/libraries.if b/policy/modules/system/libraries.if index d6236bc..2e71bea 100644 --- a/policy/modules/system/libraries.if +++ b/policy/modules/system/libraries.if @@ -476,10 +476,40 @@ interface(`libs_relabel_shared_libs',` ## ## # -interface(`files_lib_filetrans_shared_lib',` +interface(`lib_filetrans_shared_lib',` gen_require(` type lib_t, shlib_t; ') filetrans_pattern($1,lib_t,shlib_t,$2) ') + +######################################## +## +## Create an object in lib directories, with +## the shared libraries type using a type transition. (Deprecated) +## +## +## +## Create an object in lib directories, with +## the shared libraries type using a type transition. (Deprecated) +## +## +## lib_filetrans_shared_lib() should be used instead. +## +## +## +## +## Domain allowed access. +## +## +## +## +## The object class of the object being created. +## +## +# +interface(`files_lib_filetrans_shared_lib',` + refpolicywarn(`$0($*) has been deprecated, use lib_filetrans_shared_lib() instead.') + lib_filetrans_shared_lib($1,$2) +') diff --git a/policy/modules/system/libraries.te b/policy/modules/system/libraries.te index 3f0b3a2..1230b63 100644 --- a/policy/modules/system/libraries.te +++ b/policy/modules/system/libraries.te @@ -1,5 +1,5 @@ -policy_module(libraries,1.6.2) +policy_module(libraries,1.6.3) ######################################## #
+## Create an object in lib directories, with +## the shared libraries type using a type transition. (Deprecated) +##
+## lib_filetrans_shared_lib() should be used instead. +##