From: 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 Signed-off-by: Andrew Morton --- drivers/parport/procfs.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff -puN drivers/parport/procfs.c~incorrect-permissions-on-parport-sysctls drivers/parport/procfs.c --- devel/drivers/parport/procfs.c~incorrect-permissions-on-parport-sysctls 2005-08-08 22:30:04.000000000 -0700 +++ devel-akpm/drivers/parport/procfs.c 2005-08-08 22:30:04.000000000 -0700 @@ -286,19 +286,19 @@ static const struct parport_sysctl_table PARPORT_DEVICES_ROOT_DIR, #ifdef CONFIG_PARPORT_1284 { DEV_PARPORT_AUTOPROBE, "autoprobe", - NULL, 0, 0444, NULL, + NULL, 0, 0200, NULL, &do_autoprobe }, { DEV_PARPORT_AUTOPROBE + 1, "autoprobe0", - NULL, 0, 0444, NULL, + NULL, 0, 0200, NULL, &do_autoprobe }, { DEV_PARPORT_AUTOPROBE + 2, "autoprobe1", - NULL, 0, 0444, NULL, + NULL, 0, 0200, NULL, &do_autoprobe }, { DEV_PARPORT_AUTOPROBE + 3, "autoprobe2", - NULL, 0, 0444, NULL, + NULL, 0, 0200, NULL, &do_autoprobe }, { DEV_PARPORT_AUTOPROBE + 4, "autoprobe3", - NULL, 0, 0444, NULL, + NULL, 0, 0200, NULL, &do_autoprobe }, #endif /* IEEE 1284 support */ {0} _