Re: root owned writeable files under /sys

2010-07-07 Thread Or Gerlitz
Roland Dreier rdre...@cisco.com wrote: thanks, applied I don't see it, and none of the other patches you accepted last night, in the for-next brach of yours, where are they...? Or. -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to

Re: root owned writeable files under /sys

2010-07-07 Thread Roland Dreier
I don't see it, and none of the other patches you accepted last night, in the for-next brach of yours, where are they...? Sitting on my local system ;) Forgot to do git push to kernel.org. -- Roland Dreier rola...@cisco.com || For corporate legal information go to:

Re: root owned writeable files under /sys

2010-07-06 Thread Roland Dreier
thanks, applied -- Roland Dreier rola...@cisco.com || For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to majord...@vger.kernel.org More

Re: root owned writeable files under /sys

2010-06-09 Thread Sumeet Lahorani
You are right. The mlx4_port* files are world writeable in ofed 1.4.2 but not in 1.5.1. static int mlx4_init_port_info(struct mlx4_dev *dev, int port) { struct mlx4_port_info *info = mlx4_priv(dev)-port[port]; struct attribute attr = {.name = info-dev_name,

Re: root owned writeable files under /sys

2010-06-08 Thread Eli Cohen
I don't understand why mlx4_port1 and mlx4_port2 have world write permissions on your system. I can't see this from the sources nor from installing ofed-1.5.1 on my system. I agree though that the permissions for port_trigger and clear_diag should be changed. We'll push a fix to OFED 1.5.2. On

root owned writeable files under /sys

2010-06-03 Thread Sumeet Lahorani
Hi All, With ofed 1.5.1 (and it appears to be the case in prior versions as well), I see the following files created under /sys which are world writeable # find /sys -type f -perm 222 -ls 68340 --w--w--w- 1 root root0 Jun 3 14:50