Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169166
b: refs/heads/master
c: 0e1a6ef
h: refs/heads/master
v: v3
  • Loading branch information
Kees Cook authored and James Morris committed Nov 8, 2009
1 parent 08c5ed9 commit fb10d36
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 31bde71c202722a76686c3cf69a254c8a912275a
refs/heads/master: 0e1a6ef2dea88101b056b6d9984f3325c5efced3
3 changes: 3 additions & 0 deletions trunk/security/min_addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ int mmap_min_addr_handler(struct ctl_table *table, int write,
{
int ret;

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

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

update_mmap_min_addr();
Expand Down

0 comments on commit fb10d36

Please sign in to comment.