Skip to content

Commit

Permalink
TOMOYO: Fix wrong domainname in tomoyo_init_log().
Browse files Browse the repository at this point in the history
Commit eadd99c "TOMOYO: Add auditing interface." by error replaced
"struct tomoyo_request_info"->domain with tomoyo_domain().

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
  • Loading branch information
Tetsuo Handa authored and James Morris committed Jun 30, 2011
1 parent ad599f9 commit ea50481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/tomoyo/audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ char *tomoyo_init_log(struct tomoyo_request_info *r, int len, const char *fmt,
char *buf = NULL;
const char *header = NULL;
int pos;
const char *domainname = tomoyo_domain()->domainname->name;
const char *domainname = r->domain->domainname->name;
header = tomoyo_print_header(r);
if (!header)
return NULL;
Expand Down

0 comments on commit ea50481

Please sign in to comment.