Strange things contunue to happen.. If I am on runlevel 1 or
in single user mode - such program also causes segfault (just 
as usual kernel), when I get to runlevel 3 - it hangs and
becomes immortal..

As far as I remember 2.2.9-xxmdk has several patches applied..
What are they? May be this is mandrake kernel misconfiguration?

Another strange thing: on runlevel 3 such program causes core dump
(at least it tries to do it, but core is 0 bytes), on runlevel 2
or S - does not, only Segmentation Fault message.

This is really potential exploit.
simple example: any user can write a program that simply allocates 100 meg
of memory, and no one can kill it. Or a program that allocates 1 meg of
memory, and then run it hundred times..

Konstantin.

>  Yes... kaudioserver and sometimes kioslave too becomes immortal when I exit
> from KDE in  *ALL* 2.2.9 kernels (18, 19, 20, 23).
>  At my home only 2.2.7 work correctly.
> 
> > I've noticed strange behaviour of 2.2.9-19mdk. Here is explanation:
> > 
> > If sys_exit call in a user program is missing such program hangs and
> > cannot be killed. At all (kill -9 and SysRq will not help). Even if you
> > kill that terminal - program itself remains anyway. Only way to kill -
> > reboot.
> > 
> > This can lead to weird things..all can be done as nonpriveleged user.
> > 
> > I've tested this with 2.0.36,2.2.1,2.2.8 and non mandrake 2.2.9 - such
> > program just dumps core and exits. On 2.2.9-19mdk it becomes
> > immortal.. also zero lenght core file is created..

Reply via email to