]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drivers/net/tehuti: use proper capability check for raw IO access
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 18:45:16 +0000 (11:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 18:45:16 +0000 (11:45 -0700)
commit6203554207728f43cfb9fd48585cd6500da73d42
treea1e486f288c3ef0d29c4367a058fe906ece763e3
parent9781db7b345b5dfe93787aaaf310c861db7c1ede
drivers/net/tehuti: use proper capability check for raw IO access

Yeah, in practice they both mean "root", but Alan correctly points out
that anybody who gets to do raw IO space accesses should really be using
CAP_SYS_RAWIO rather than CAP_NET_ADMIN.

Pointed-out-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/tehuti.c