Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123435
b: refs/heads/master
c: df98937
h: refs/heads/master
i:
  123433: d310ac6
  123431: 89e0c19
v: v3
  • Loading branch information
Dave Airlie authored and Dave Airlie committed Dec 29, 2008
1 parent b53c1ab commit d5208c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4e74f36d08e83390121d088f1f62e3337603df89
refs/heads/master: df989374a9f5356ee815baa1ba6916671a701da2
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/drm_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ int drm_ioctl(struct inode *inode, struct file *filp,
retcode = -EINVAL;
} else if (((ioctl->flags & DRM_ROOT_ONLY) && !capable(CAP_SYS_ADMIN)) ||
((ioctl->flags & DRM_AUTH) && !file_priv->authenticated) ||
((ioctl->flags & DRM_MASTER) && !file_priv->master)) {
((ioctl->flags & DRM_MASTER) && !file_priv->is_master)) {
retcode = -EACCES;
} else {
if (cmd & (IOC_IN | IOC_OUT)) {
Expand Down

0 comments on commit d5208c9

Please sign in to comment.