]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IPoIB: Fix world-writable child interface control sysfs attributes
authorOr Gerlitz <ogerlitz@voltaire.com>
Sun, 6 Jun 2010 04:59:16 +0000 (04:59 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:20:54 +0000 (10:20 -0700)
commit3ea41f9c05bd3a7888d8ad1a585418658be0358f
tree9a4c9365d28039351c675670e7d98b03de7f77bd
parent51d47ca810c85197369ddcdc8f437d5ee16be0f0
IPoIB: Fix world-writable child interface control sysfs attributes

commit 7a52b34b07122ff5f45258d47f260f8a525518f0 upstream.

Sumeet Lahorani <sumeet.lahorani@oracle.com> reported that the IPoIB
child entries are world-writable; however we don't want ordinary users
to be able to create and destroy child interfaces, so fix them to be
writable only by root.

Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/infiniband/ulp/ipoib/ipoib_main.c