Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192431
b: refs/heads/master
c: 822ccee
h: refs/heads/master
i:
  192429: 2c698ae
  192427: 58cd7e7
  192423: 434ffbf
  192415: 2bcb2a9
v: v3
  • Loading branch information
Kees Cook authored and James Morris committed Apr 22, 2010
1 parent 2925a8f commit 4519051
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: eb8dae9607901fd3fc181325ff3f30dce8f574c5
refs/heads/master: 822cceec7248013821d655545ea45d1c6a9d15b3
2 changes: 1 addition & 1 deletion trunk/security/min_addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int mmap_min_addr_handler(struct ctl_table *table, int write,
{
int ret;

if (!capable(CAP_SYS_RAWIO))
if (write && !capable(CAP_SYS_RAWIO))
return -EPERM;

ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos);
Expand Down

0 comments on commit 4519051

Please sign in to comment.