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

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

From: Caleb Case <ccase_at_nospam>
Date: Tue Jan 26 2010 - 21:26:31 GMT
To: selinux@tycho.nsa.gov


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) { -- 1.6.3.3 -- 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.