hello
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..
Sample code is enclosed - ELF binary and asm source.
Could someone also prove this?
Konstantin.
immortal
immortal.asm