• R/O
  • SSH
  • HTTPS

tomoyo: Commit


Commit MetaInfo

Revision6812 (tree)
Time2020-07-22 23:58:04
Authorkumaneko

Log Message

Fix domain transition preference.

Change Summary

Incremental Difference

--- trunk/1.8.x/ccs-patch/security/ccsecurity/permission.c (revision 6811)
+++ trunk/1.8.x/ccs-patch/security/ccsecurity/permission.c (revision 6812)
@@ -807,6 +807,7 @@
807807 {
808808 const struct ccs_domain_info *domain = ccs_current_domain();
809809 int error;
810+ r->matched_acl = NULL;
810811 do {
811812 struct ccs_acl_info *ptr;
812813 const struct list_head *list = &domain->acl_info_list;
--- trunk/1.8.x/ccs-patch/security/ccsecurity/policy_io.c (revision 6811)
+++ trunk/1.8.x/ccs-patch/security/ccsecurity/policy_io.c (revision 6812)
@@ -5604,7 +5604,6 @@
56045604 char *buf;
56055605 const char *cp;
56065606 const struct ccs_acl_info *acl = r->matched_acl;
5607- r->matched_acl = NULL;
56085607 if (!acl || !acl->cond || !acl->cond->transit ||
56095608 acl->cond->exec_transit)
56105609 return;
Show on old repository browser