Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74641
b: refs/heads/master
c: ab5a91a
h: refs/heads/master
i:
  74639: 57cf4a2
v: v3
  • Loading branch information
Eric Paris authored and James Morris committed Dec 5, 2007
1 parent ca95e3f commit 80b50c4
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: d313f948309ab22797316e789a7ff8fa358176b6
refs/heads/master: ab5a91a8364c3d6fc617abc47cc81d162c01d90a
2 changes: 1 addition & 1 deletion trunk/security/dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ static int dummy_file_mmap (struct file *file, unsigned long reqprot,
unsigned long addr,
unsigned long addr_only)
{
if (addr < mmap_min_addr)
if ((addr < mmap_min_addr) && !capable(CAP_SYS_RAWIO))
return -EACCES;
return 0;
}
Expand Down

0 comments on commit 80b50c4

Please sign in to comment.