Nasty log spamming problem in ide proc changes

From: Alan Cox
Date: Thu Nov 11 2004 - 11:00:48 EST


On Llu, 2004-11-01 at 17:18, Linux Kernel Mailing List wrote:
> ChangeSet 1.2424.1.2, 2004/11/01 18:18:35+01:00, bzolnier@trik.(none)
>
> [ide] obsolete /proc/ide/hd?/settings
>
> Majority of these settings is also available through ioctls.
> We will deal with the rest during deprecation period.

Unfortunately while these changes are definitely a good thing.

>
> + printk(KERN_WARNING "Warning: /proc/ide/hd?/settings interface is "
> + "obsolete, and will be removed soon!\n");
> +

The above should be rate limited or on the write case moved to after
the capable() check. A program polling these settings now makes a nasty
noise and wipes the logs. A user can also do it intentionally.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/