OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7005e9
)
drm: disable GPU authentication
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Wed, 9 Feb 2011 02:43:27 +0000
(10:43 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 31 Mar 2011 02:03:21 +0000
(10:03 +0800)
drivers/gpu/drm/drm_fops.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_fops.c
b/drivers/gpu/drm/drm_fops.c
index
2ec7d48
..
08f0674
100644
(file)
--- a/
drivers/gpu/drm/drm_fops.c
+++ b/
drivers/gpu/drm/drm_fops.c
@@
-252,7
+252,7
@@
static int drm_open_helper(struct inode *inode, struct file *filp,
priv->minor = idr_find(&drm_minors_idr, minor_id);
priv->ioctl_count = 0;
/* for compatibility root is always authenticated */
- priv->authenticated =
capable(CAP_SYS_ADMIN)
;
+ priv->authenticated =
1
;
priv->lock_count = 0;
INIT_LIST_HEAD(&priv->lhead);