git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
upgrade to linux 2.6.10-1.12_FC2
[linux-2.6.git]
/
drivers
/
net
/
wan
/
sdla.c
diff --git
a/drivers/net/wan/sdla.c
b/drivers/net/wan/sdla.c
index
f0ed00e
..
71f9546
100644
(file)
--- a/
drivers/net/wan/sdla.c
+++ b/
drivers/net/wan/sdla.c
@@
-1306,6
+1306,8
@@
NOTE: This is rather a useless action right now, as the
case SDLA_WRITEMEM:
case SDLA_READMEM:
+ if(!capable(CAP_SYS_RAWIO))
+ return -EPERM;
return(sdla_xfer(dev, ifr->ifr_data, cmd == SDLA_READMEM));
case SDLA_START: