libsemanage: semanage_get_modules_names should get CIL path
PATCH 1/1 libsemanage: semanage_get_modules_names should get CIL path
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(-)
libsemanage/src/semanage_store.c +1 -1
@@ -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 ) {
Signature · 7 lines
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 [email protected] with the words "unsubscribe selinux" without quotes as the message.
Chad Sellers
AppliedQuoted 18 lines · Caleb Case
semanage_get_modules_namesshould 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(-)libsemanage/src/semanage_store.c +0
-0@@ -1085,7 +1085,7 @@ int semanage_get_modules_names(semanage_handle_t * sh, char ***filenames,ret = semanage_module_get_path(
sh,
&modinfos[i],libsemanage/src/semanage_store.c +1
-1- SEMANAGE_MODULE_PATH_HLL, + SEMANAGE_MODULE_PATH_CIL,
Quoted 3 lines
path,
sizeof(path));
if (ret != 0) {
Signed-off-by Chad Sellers <[email protected]>
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 [email protected] with the words "unsubscribe selinux" without quotes as the message.