summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordok666 <dok666>2003-05-13 20:51:18 +0000
committerdok666 <dok666>2003-05-13 20:51:18 +0000
commitdd51e09ca667d411acb3e8d0493151608a98578b (patch)
treead2e330dd3d8b6a594def7520830785acb4e7050
parent17943bfd2b079052a49f0febde2319d7be60895a (diff)
Ignore root only flag for now.
-rw-r--r--src/kernel/drm/drm_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/drm/drm_drv.h b/src/kernel/drm/drm_drv.h
index 772f03e2198..1a1ba36ff4b 100644
--- a/src/kernel/drm/drm_drv.h
+++ b/src/kernel/drm/drm_drv.h
@@ -991,7 +991,7 @@ int DRM(ioctl)( struct inode *inode, struct file *filp,
if ( !func ) {
DRM_DEBUG( "no function\n" );
retcode = -EINVAL;
- } else if ( ( ioctl->root_only && !capable( CAP_SYS_ADMIN ) )||
+ } else if ( ( 0/*ioctl->root_only*/ && !capable( CAP_SYS_ADMIN ) )||
( ioctl->auth_needed && !priv->authenticated ) ) {
retcode = -EACCES;
} else {