Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211673
b: refs/heads/master
c: 9f1c1d4
h: refs/heads/master
i:
  211671: d87c9be
v: v3
  • Loading branch information
Tetsuo Handa authored and James Morris committed Oct 20, 2010
1 parent 6e375f9 commit 0d5233b
Show file tree
Hide file tree
Showing 2 changed files with 11 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: b0ae19811375031ae3b3fecc65b702a9c6e5cc28
refs/heads/master: 9f1c1d426b0402b25cd0d7ca719ffc8e20e46d5f
11 changes: 10 additions & 1 deletion trunk/security/tomoyo/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -2053,13 +2053,22 @@ void tomoyo_check_profile(void)
const u8 profile = domain->profile;
if (tomoyo_profile_ptr[profile])
continue;
printk(KERN_ERR "You need to define profile %u before using it.\n",
profile);
printk(KERN_ERR "Please see http://tomoyo.sourceforge.jp/2.3/ "
"for more information.\n");
panic("Profile %u (used by '%s') not defined.\n",
profile, domain->domainname->name);
}
tomoyo_read_unlock(idx);
if (tomoyo_profile_version != 20090903)
if (tomoyo_profile_version != 20090903) {
printk(KERN_ERR "You need to install userland programs for "
"TOMOYO 2.3 and initialize policy configuration.\n");
printk(KERN_ERR "Please see http://tomoyo.sourceforge.jp/2.3/ "
"for more information.\n");
panic("Profile version %u is not supported.\n",
tomoyo_profile_version);
}
printk(KERN_INFO "TOMOYO: 2.3.0\n");
printk(KERN_INFO "Mandatory Access Control activated.\n");
}

0 comments on commit 0d5233b

Please sign in to comment.