Re: [RFC] [PATCH] Improve the remove sysctl warnings.

Alexey Dobriyan
2006-10-19T19:50:45Z

On Thu, Oct 19, 2006 at 12:25:20PM -0400, Cal Peake wrote:
> On Wed, 18 Oct 2006, Eric W. Biederman wrote:
>
> > if (msg_count < 5) {
> > msg_count++;
> > printk(KERN_INFO
> > "warning: process `%s' used the removed sysctl "
> > - "system call\n", current->comm);
> > + "system call with ", current->comm);
> > + for (i = 0; i < tmp.nlen; i++)
> > + printk("%d.", name[i]);
> > + printk("\n");
> > }
>
> We should prolly kill the counter now.

sysctl(2) callable by everyone including local lusers willing to fill logs.