summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorArnd Bergmann2010-02-24 19:45:09 +0100
committerPaul E. McKenney2010-08-20 02:18:00 +0200
commit1b0ba1c9037b2265d6e5d0165d31e4c0269b603b (patch)
tree11bcb87591f7e3efbbf6d25c6d9bc8545d210cd2 /include/linux/sched.h
parentcgroups: __rcu annotations (diff)
downloadkernel-qcow2-linux-1b0ba1c9037b2265d6e5d0165d31e4c0269b603b.tar.gz
kernel-qcow2-linux-1b0ba1c9037b2265d6e5d0165d31e4c0269b603b.tar.xz
kernel-qcow2-linux-1b0ba1c9037b2265d6e5d0165d31e4c0269b603b.zip
credentials: rcu annotation
Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ingo Molnar <mingo@redhat.com> Acked-by: David Howells <dhowells@redhat.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index bbffd087476c..2c756666c111 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1288,9 +1288,9 @@ struct task_struct {
struct list_head cpu_timers[3];
/* process credentials */
- const struct cred *real_cred; /* objective and real subjective task
+ const struct cred __rcu *real_cred; /* objective and real subjective task
* credentials (COW) */
- const struct cred *cred; /* effective (overridable) subjective task
+ const struct cred __rcu *cred; /* effective (overridable) subjective task
* credentials (COW) */
struct mutex cred_guard_mutex; /* guard against foreign influences on
* credential calculations