From: David Howells Date: Wed, 27 Aug 2008 13:46:39 +0000 (-0300) Subject: V4L/DVB (8838): CRED: Wrap task credential accesses in video input drivers X-Git-Tag: v2.6.28-rc1~601^2~231 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abc94fc8feb1488079dd7dd46bd61d37d91c5658;p=pandora-kernel.git V4L/DVB (8838): CRED: Wrap task credential accesses in video input drivers Wrap access to task credentials so that they can be separated more easily from the task_struct during the introduction of COW creds. Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id(). Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more sense to use RCU directly rather than a convenient wrapper; these will be addressed by later patches. Signed-off-by: David Howells Reviewed-by: James Morris Acked-by: Serge Hallyn Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed