]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 May 2008 21:44:39 +0000 (14:44 -0700)
commitb0cc38c177802742d847469e0a06f4ad31d011cc
tree175dc2dc84ce0be5385c5a86afaba8afd0df3569
parentf5f5e084959d9c22c43c235b206b2e2fe2971e7f
drivers/net/tehuti: use proper capability check for raw IO access

commit 6203554207728f43cfb9fd48585cd6500da73d42 in mainline.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/tehuti.c