Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47419
b: refs/heads/master
c: 6ff1b44
h: refs/heads/master
i:
  47417: 0cb84f9
  47415: a3b9c1d
v: v3
  • Loading branch information
Eric Paris authored and Linus Torvalds committed Feb 11, 2007
1 parent 3c6a0ee commit 7b46871
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: daa88c8d214ca4ab2f1764b6e503cef4b3cde9b2
refs/heads/master: 6ff1b4426e3afc61dcb67299709fde9041d59265
2 changes: 1 addition & 1 deletion trunk/kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1961,7 +1961,7 @@ int proc_dointvec_bset(ctl_table *table, int write, struct file *filp,
{
int op;

if (!capable(CAP_SYS_MODULE)) {
if (write && !capable(CAP_SYS_MODULE)) {
return -EPERM;
}

Expand Down

0 comments on commit 7b46871

Please sign in to comment.