Re: [Announce] Strace Test

Andrew Morton
2004-02-19T10:59:44Z

Nikita Danilov <Nikita@Namesys.COM> wrote:
>
> Andrew Morton writes:
> > Nikita Danilov <Nikita@Namesys.COM> wrote:
> > >
> > > > Strace Test uses a modified version of strace 4.5.1.
> > > > Instead of printing out information about system calls,
> > > > the modified version calls the syscalls with improper
> > > > values.
> > >
> > > It immediately DoSes kernel by calling sys_sysctl() with huge nlen:
> > > printk() consumes all CPU.
> >
> > Something like this?
>
> On slow console (serial kgdb) this still would be problematic. I think
> printk_ratelimit() is needed. But why this loop is needed at all? It
> seems strange that syscall prints its arguments instead of just
> returning -EINVAL.

It is kindly telling the user that the sysctl is obsolete.

I'll kill it.