Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5915
b: refs/heads/master
c: f6fdd7d
h: refs/heads/master
i:
  5913: 6c718bc
  5911: 6578bee
v: v3
  • Loading branch information
Linus Torvalds committed Aug 21, 2005
1 parent a0650f3 commit 3a4fd31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7e71af49d46e4c25f17a2c8f53d62ffd14f01007
refs/heads/master: f6fdd7d9c273bb2a20ab467cb57067494f932fa3
2 changes: 2 additions & 0 deletions trunk/fs/ioprio.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ asmlinkage long sys_ioprio_set(int which, int who, int ioprio)

break;
case IOPRIO_CLASS_IDLE:
if (!capable(CAP_SYS_ADMIN))
return -EPERM;
break;
default:
return -EINVAL;
Expand Down

0 comments on commit 3a4fd31

Please sign in to comment.