]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - security/tomoyo/common.c
TOMOYO: Allow specifying domain transition preference.
[karo-tx-linux.git] / security / tomoyo / common.c
index 084018351b4f0b9979b2f2f8eddeccfa2ca410a1..0994948f3edc467386c5c972cfa8a1d24d7e5de0 100644 (file)
@@ -1203,6 +1203,10 @@ static bool tomoyo_print_condition(struct tomoyo_io_buffer *head,
        case 0:
                head->r.cond_index = 0;
                head->r.cond_step++;
+               if (cond->transit) {
+                       tomoyo_set_space(head);
+                       tomoyo_set_string(head, cond->transit->name);
+               }
                /* fall through */
        case 1:
                {