From d6e7da233682bc894cf53ff62957eba9231a0fb4 Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Thu, 8 Dec 2011 16:30:42 -0800 Subject: [PATCH] --- yaml --- r: 283253 b: refs/heads/master c: bb80d880ad2b11cd4ea5f28f815016b1548224a4 h: refs/heads/master i: 283251: 4f9c371ef477f1bc8c067a7e5de5233774a5ab6d v: v3 --- [refs] | 2 +- trunk/security/tomoyo/common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 29946da7455d..affecab8c497 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2053c4727c5a891bf182397e425b6cb87b2ae613 +refs/heads/master: bb80d880ad2b11cd4ea5f28f815016b1548224a4 diff --git a/trunk/security/tomoyo/common.h b/trunk/security/tomoyo/common.h index ed311d7a8ce0..cb9f5c2d6f3a 100644 --- a/trunk/security/tomoyo/common.h +++ b/trunk/security/tomoyo/common.h @@ -1122,7 +1122,7 @@ static inline pid_t tomoyo_sys_getppid(void) { pid_t pid; rcu_read_lock(); - pid = task_tgid_vnr(current->real_parent); + pid = task_tgid_vnr(rcu_dereference(current->real_parent)); rcu_read_unlock(); return pid; }