Skip to contentSkip to conversation

libsemanage: semanage_get_modules_names should get CIL path

PATCH Applied Caleb Case 2 participants 2 messages Jan 26, 2010 SELinux security module

lore
Share & tools
lore

Caleb Case

author
#0 lore raw

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
index 4ac5b5b..f077ac3 100644
@@ -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.
Applied
#1 lore raw
Quoted 18 lines · Caleb Case

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 +0 -0
index 4ac5b5b..f077ac3 100644
@@ -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) {

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.