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 time, and the IEEE 1284 device IDs are stored for later retrieval to user space via these sysctls. They are backed by read-only variables. Reading does not trigger any device interaction. Make them 0400 if you think it's a security issue: but then, /proc/ide/hda/model etc should also get the same treatment. Tim. */
Attachment:
pgpOMr74j3Rxs.pgp
Description: PGP signature
- Follow-Ups:
- Re: [Linux-parport] Incorrect permissions on parport sysctls.
- From: Dave Jones <[email protected]>
- Re: [Linux-parport] Incorrect permissions on parport sysctls.
- References:
- Incorrect permissions on parport sysctls.
- From: Dave Jones <[email protected]>
- Incorrect permissions on parport sysctls.
- Prev by Date: Re: [PATCH] kernel: use kcalloc instead kmalloc/memset
- Next by Date: Re: [RFC][patch 0/2] mm: remove PageReserved
- Previous by thread: Re: Incorrect permissions on parport sysctls.
- Next by thread: Re: [Linux-parport] Incorrect permissions on parport sysctls.
- Index(es):