From: Tetsuo Handa Date: Thu, 30 Jun 2011 08:32:30 +0000 (+0900) Subject: TOMOYO: Fix wrong domainname in tomoyo_init_log(). X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ea504819122a76a236f8b95d1556f807a0a41397;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git TOMOYO: Fix wrong domainname in tomoyo_init_log(). Commit eadd99cc "TOMOYO: Add auditing interface." by error replaced "struct tomoyo_request_info"->domain with tomoyo_domain(). Signed-off-by: Tetsuo Handa Signed-off-by: James Morris --- diff --git a/security/tomoyo/audit.c b/security/tomoyo/audit.c index f2c869767d79..967b5648dce3 100644 --- a/security/tomoyo/audit.c +++ b/security/tomoyo/audit.c @@ -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;