David Herrmann 75ae95a75d drm: remove redundant drm_file->uid
Each DRM file-context caches the EUID of the process that opened the file.
It is used exclusively for debugging purposes in /proc/dri/ and friends.

Note, however, that we can already fetch the EUID from
priv->pid->task->creds. The pointer-chasing will not hurt us, since it is
only about debugging, anyway.

Since we already are in an rcu-read-side, we can use __task_cred() rather
than task_cred_xxx().

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20160901124837.680-2-dh.herrmann@gmail.com
2016-09-19 11:21:42 +02:00
..
2016-06-21 22:10:55 +02:00
2010-08-10 08:20:20 +10:00
2016-04-20 13:35:14 +02:00
2012-11-28 18:36:05 +10:00
2016-07-19 10:29:47 +02:00
2016-06-21 22:10:55 +02:00
2016-08-29 15:37:13 +02:00
2013-12-18 11:35:45 +10:00
2016-05-06 16:04:48 +02:00
2015-08-12 12:24:05 -04:00
2016-09-19 11:21:42 +02:00
2014-03-17 20:11:57 +01:00