Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264557
b: refs/heads/master
c: e00fb3f
h: refs/heads/master
i:
  264555: 8695f4e
v: v3
  • Loading branch information
Tetsuo Handa authored and James Morris committed Sep 28, 2011
1 parent 0b2269d commit 866f3d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6cb56fc94f4efaec2d4ad74bed2be7883179ccd
refs/heads/master: e00fb3f7af111d1b3252f7d622213d2e22be65f5
3 changes: 2 additions & 1 deletion trunk/security/tomoyo/domain.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,8 @@ struct tomoyo_domain_info *tomoyo_assign_domain(const char *domainname,
* that domain. Do not perform domain transition if
* profile for that domain is not yet created.
*/
if (!entry->ns->profile_ptr[entry->profile])
if (tomoyo_policy_loaded &&
!entry->ns->profile_ptr[entry->profile])
return NULL;
}
return entry;
Expand Down

0 comments on commit 866f3d4

Please sign in to comment.