Re: [Linux-parport] Incorrect permissions on parport sysctls.

2005-08-09 Thread Dave Jones
On Tue, Aug 09, 2005 at 11:11:10AM +0100, Tim Waugh wrote: > On Tue, Aug 09, 2005 at 12:44:41AM -0400, Dave Jones wrote: > > > We have a bunch of 'probe' sysctl's in parport, which are > > readable. (world readable even). Make them write-only. > > Without this, sysctl -a will try to read thes

Re: [Linux-parport] Incorrect permissions on parport sysctls.

2005-08-09 Thread Tim Waugh
On Tue, Aug 09, 2005 at 12:44:41AM -0400, Dave Jones wrote: > We have a bunch of 'probe' sysctl's in parport, which are > readable. (world readable even). Make them write-only. > Without this, sysctl -a will try to read these files. ?? This change is wrong. The probing happens at module load ti

Re: Incorrect permissions on parport sysctls.

2005-08-09 Thread Jan Engelhardt
>We have a bunch of 'probe' sysctl's in parport, which are >readable. (world readable even). Make them write-only. >Without this, sysctl -a will try to read these files. Why write-only? Donot you want to read back what you've written there sometime? IMO 0600. Jan Engelhardt -- - To unsubscri

Incorrect permissions on parport sysctls.

2005-08-08 Thread Dave Jones
We have a bunch of 'probe' sysctl's in parport, which are readable. (world readable even). Make them write-only. Without this, sysctl -a will try to read these files. Signed-off-by: Dave Jones <[EMAIL PROTECTED]> --- linux-2.6.11/drivers/parport/procfs.c~ 2005-04-25 12:17:30.0 -0400