Fix incorrectly named files_lib_filetrans_shared_lib() interface in the libraries module.

This commit is contained in:
Chris PeBenito 2007-06-28 17:25:46 +00:00
parent 4231988555
commit 113b4fc4a2
4 changed files with 36 additions and 4 deletions

View File

@ -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.

View File

@ -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)

View File

@ -476,10 +476,40 @@ interface(`libs_relabel_shared_libs',`
## </summary>
## </param>
#
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)
')
########################################
## <summary>
## Create an object in lib directories, with
## the shared libraries type using a type transition. (Deprecated)
## </summary>
## <desc>
## <p>
## Create an object in lib directories, with
## the shared libraries type using a type transition. (Deprecated)
## </p>
## <p>
## lib_filetrans_shared_lib() should be used instead.
## </p>
## </desc>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
## <param name="object">
## <summary>
## The object class of the object being created.
## </summary>
## </param>
#
interface(`files_lib_filetrans_shared_lib',`
refpolicywarn(`$0($*) has been deprecated, use lib_filetrans_shared_lib() instead.')
lib_filetrans_shared_lib($1,$2)
')

View File

@ -1,5 +1,5 @@
policy_module(libraries,1.6.2)
policy_module(libraries,1.6.3)
########################################
#