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-08-03 14:25:22 -10:00
2011-07-30 08:57:57 -10:00
2011-07-28 11:31:47 +10:00
2011-08-03 21:53:27 -10:00
2011-08-03 11:30:42 -04: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
2011-08-03 14:25:20 -10:00
2011-07-27 22:39:30 -07:00
2011-08-05 14:45:41 -04:00
2011-07-31 14:30:59 -10:00
2011-07-28 01:32:04 -06:00
2011-07-28 01:32:04 -06:00
2011-07-29 21:53:30 +02: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-28 05:58:19 -07: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-08-06 22:56:03 -07:00
2011-07-31 12:18:16 -04:00
2011-08-04 11:26:24 +01:00
2011-07-28 16:19:22 -06:00
2011-07-28 01:32:04 -06:00
2011-08-04 11:26:24 +01:00
2011-07-30 08:21:48 -10: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-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
2011-07-27 17:55:40 -03:00
2011-07-28 08:01:18 +00:00