Messages in this thread | | | Subject | Nasty log spamming problem in ide proc changes | From | Alan Cox <> | Date | Thu, 11 Nov 2004 14:55:45 +0000 |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |