Al Viro
3295514841
fix rcu annotations noise in cred.h
...
task->cred is declared as __rcu, and access to other tasks' ->cred is,
indeed, protected. Access to current->cred does not need rcu_dereference()
at all, since only the task itself can change its ->cred. sparse, of
course, has no way of knowing that...
Add force-cast in current_cred(), make current_fsuid() et.al. use it.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2011-08-07 13:42:35 -07:00
..
2011-07-26 13:38:50 -07:00
2011-08-03 14:25:22 -10:00
2011-07-30 08:57:57 -10:00
2011-08-03 21:53:27 -10:00
2011-08-03 11:30:42 -04:00
2010-08-19 17:17:59 -07:00
2011-08-03 19:06:37 -04:00
2011-08-07 13:42:35 -07:00
2011-08-06 22:12:37 -07:00
2011-08-06 22:52:40 -07:00
2011-08-02 12:32:04 +01:00
2011-08-02 12:32:06 +01:00
2011-08-02 12:32:04 +01:00
2011-08-01 13:40:51 -10:00
2011-08-03 14:25:20 -10:00
2011-08-06 22:53:23 -07:00
2011-08-03 11:15:57 -04:00
2011-08-03 14:25:21 -10:00
2005-04-16 15:20:36 -07:00
2011-08-03 14:25:20 -10:00
2011-08-05 14:45:41 -04:00
2011-07-31 14:30:59 -10:00
2011-03-08 11:17:22 +11:00
2011-08-03 11:15:56 -04:00
2011-08-03 14:25:24 -10:00
2011-08-03 11:30:42 -04:00
2011-07-31 12:18:15 -04:00
2011-07-31 14:27:04 -10:00
2011-08-01 13:48:31 -10:00
2011-03-11 15:39:26 -05:00
2011-08-06 22:56:03 -07:00
2011-07-31 12:18:16 -04:00
2011-05-10 22:21:45 +09:00
2011-08-04 11:26:24 +01:00
2011-08-04 11:26:24 +01:00
2011-07-30 08:21:48 -10:00
2010-02-22 16:15:17 -08:00
2011-08-04 16:43:43 -10:00
2011-07-29 23:35:05 -07:00
2011-08-03 00:58:42 -04:00
2011-05-23 13:01:00 -07:00
2011-08-03 14:25:24 -10:00
2011-08-06 18:33:19 -07:00
2011-07-30 08:44:19 -10:00
2011-08-03 14:25:24 -10:00
2011-07-30 08:21:48 -10:00
2011-08-03 14:25:22 -10:00
2011-08-02 14:51:57 -04:00
2008-03-10 18:01:18 -07:00