Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83258
b: refs/heads/master
c: 62f29ba
h: refs/heads/master
v: v3
  • Loading branch information
serue@us.ibm.com authored and Dave Airlie committed Feb 5, 2008
1 parent b603328 commit 23cc704
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: 1fa4db7d308da04f6644c5cb8eed244c200d4ed5
refs/heads/master: 62f29babbc60ab572d3cecda981931d3a66123d6
2 changes: 1 addition & 1 deletion trunk/drivers/char/agp/frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ static int agp_open(struct inode *inode, struct file *file)
set_bit(AGP_FF_ALLOW_CLIENT, &priv->access_flags);
priv->my_pid = current->pid;

if ((current->uid == 0) || (current->suid == 0)) {
if (capable(CAP_SYS_RAWIO)) {
/* Root priv, can be controller */
set_bit(AGP_FF_ALLOW_CONTROLLER, &priv->access_flags);
}
Expand Down

0 comments on commit 23cc704

Please sign in to comment.