[openib-general] [PATCH] IPoIB: Only allow root to change between datagram and connected mode

Michael S. Tsirkin mst at mellanox.co.il
Wed Feb 14 21:58:58 PST 2007


> Quoting Roland Dreier <rdreier at cisco.com>:
> Subject: [PATCH] IPoIB: Only allow root to change between datagram and connected mode
> 
> Change the permissions of the "mode" sysfs attribute to be S_IWUSR
> instead of S_IWUGO.
> 
> Signed-off-by: Roland Dreier <rolandd at cisco.com>
> ---
> FYI -- I'm planning to merge this for 2.6.21.  It doesn't seem
> appropriate to allow ordinary users to mess with this sort of config.

Acked-by: Michael S. Tsirkin <mst at mellanox.co.il>


-- 
MST




More information about the general mailing list