selinux January 2010 archive
Main Archive Page > Month Archives  > selinux archives
selinux: Re: [PATCH] [src-policy] libsemanage: semanage_get_modu

Re: [PATCH] [src-policy] libsemanage: semanage_get_modules_names should get CIL path

From: Chad Sellers <csellers_at_nospam>
Date: Tue Jan 26 2010 - 21:53:30 GMT
To: Caleb Case <ccase@tresys.com>, <selinux@tycho.nsa.gov>


On 1/26/10 4:26 PM, "Caleb Case" <ccase@tresys.com> wrote:

> semanage_get_modules_names should be returning the path for the CIL
> instead of the HLL path since it is the CIL that is used during commit.
> ---
> libsemanage/src/semanage_store.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libsemanage/src/semanage_store.c
> b/libsemanage/src/semanage_store.c
> index 4ac5b5b..f077ac3 100644
> --- a/libsemanage/src/semanage_store.c
> +++ b/libsemanage/src/semanage_store.c
> @@ -1085,7 +1085,7 @@ int semanage_get_modules_names(semanage_handle_t * sh,
> char ***filenames,
> ret = semanage_module_get_path(
> sh,
> &modinfos[i],
> - SEMANAGE_MODULE_PATH_HLL,
> + SEMANAGE_MODULE_PATH_CIL,
> path,
> sizeof(path));
> if (ret != 0) {

Signed-off-by: Chad Sellers <csellers@tresys.com>

Merged into src-policy branch -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.