Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260933
b: refs/heads/master
c: 7986cf2
h: refs/heads/master
i:
  260931: 2f553b1
v: v3
  • Loading branch information
Tetsuo Handa authored and James Morris committed Jun 30, 2011
1 parent 1342d2f commit 8437e29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: da3f1c7b7d34e66cf571a613525ca0d23f92d42f
refs/heads/master: 7986cf28bc5050967a7056d6eadda7f16f84eaab
2 changes: 2 additions & 0 deletions trunk/security/tomoyo/tomoyo.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@ static int tomoyo_bprm_set_creds(struct linux_binprm *bprm)
*/
if (bprm->cred_prepared)
return 0;
#ifndef CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER
/*
* Load policy if /sbin/tomoyo-init exists and /sbin/init is requested
* for the first time.
*/
if (!tomoyo_policy_loaded)
tomoyo_load_policy(bprm->filename);
#endif
/*
* Release reference to "struct tomoyo_domain_info" stored inside
* "bprm->cred->security". New reference to "struct tomoyo_domain_info"
Expand Down

0 comments on commit 8437e29

Please sign in to comment.