Commit 1b0ba1c9037b2265d6e5d0165d31e4c0269b603b
Committed by
Paul E. McKenney
1 parent
2c392b8c34
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
include/linux/sched.h
... | ... | @@ -1288,9 +1288,9 @@ |
1288 | 1288 | struct list_head cpu_timers[3]; |
1289 | 1289 | |
1290 | 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 | 1292 | * credentials (COW) */ |
1293 | - const struct cred *cred; /* effective (overridable) subjective task | |
1293 | + const struct cred __rcu *cred; /* effective (overridable) subjective task | |
1294 | 1294 | * credentials (COW) */ |
1295 | 1295 | struct mutex cred_guard_mutex; /* guard against foreign influences on |
1296 | 1296 | * credential calculations |