Skip to content
Snippets Groups Projects
Commit 3ac4e829 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Merge branch 'for-linus' of...

parents 7ac992ef 4ae69e6b
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ int mmap_min_addr_handler(struct ctl_table *table, int write, ...@@ -33,7 +33,7 @@ int mmap_min_addr_handler(struct ctl_table *table, int write,
{ {
int ret; int ret;
if (!capable(CAP_SYS_RAWIO)) if (write && !capable(CAP_SYS_RAWIO))
return -EPERM; return -EPERM;
ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos); ret = proc_doulongvec_minmax(table, write, buffer, lenp, ppos);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment