aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-02-24 13:45:09 -0500
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-08-19 20:18:00 -0400
commit1b0ba1c9037b2265d6e5d0165d31e4c0269b603b (patch)
tree11bcb87591f7e3efbbf6d25c6d9bc8545d210cd2 /include
parent2c392b8c3450ceb69ba1b93cb0cddb3998fb8cdc (diff)
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')
-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 {
1288 struct list_head cpu_timers[3]; 1288 struct list_head cpu_timers[3];
1289 1289
1290/* process credentials */ 1290/* process credentials */
1291 const struct cred *real_cred; /* objective and real subjective task 1291 const struct cred __rcu *real_cred; /* objective and real subjective task
1292 * credentials (COW) */ 1292 * credentials (COW) */
1293 const struct cred *cred; /* effective (overridable) subjective task 1293 const struct cred __rcu *cred; /* effective (overridable) subjective task
1294 * credentials (COW) */ 1294 * credentials (COW) */
1295 struct mutex cred_guard_mutex; /* guard against foreign influences on 1295 struct mutex cred_guard_mutex; /* guard against foreign influences on
1296 * credential calculations 1296 * credential calculations