From: Jeff Dike <jdike@ad...> - 2003-09-04 17:04:17
> On http://www.coker.com.au/bug/ls.gz I have a compressed version of ls
> for i386 that causes a reliable UML crash on 2.6.0test3 with the
> latest test3 UML patch.
Could you make a statically linked version of it so I don't have to figure
out where to get the libraries it needs?
From: Jeff Dike <jdike@ad...> - 2003-09-04 19:50:32
> Jeff, we worked out what the bug was. His old selinux used syscall
> 223, which was completely uninitialized (ie. not even set to
> sys_ni_syscall), hence the kernel crashed. I was having the same
> problem in a different context with get_thread_area and
Oops, looks like I missed that. Easily fixed, it looks like those were
NULL-filled holes in sys_call_table. The system call dispatcher did range
checking on the syscall number, but didn't see if the entry itself contained
And it looks like I missed some system calls that i386 has.
From: Russell Coker <russell@co...> - 2003-09-05 02:35:13
On Fri, 5 Sep 2003 03:09, Jeff Dike wrote:
> russell@... said:
> > On http://www.coker.com.au/bug/ls.gz I have a compressed version of ls
> > for i386 that causes a reliable UML crash on 2.6.0test3 with the
> > latest test3 UML patch.
> Could you make a statically linked version of it so I don't have to figure
> out where to get the libraries it needs?
Actually this has already been tracked down. It seems that if you call a
system call in UML which is in the range of acceptable system calls and which
has not been set to sys_ni_syscall then it will give that result.
The interim solution is to set any unimplemented system calls that your
programs will call (223 for me) to sys_ni_syscall.
But this still means that it will be common for UML kernels to have some
sys-calls which applications can call to crash them (not good for honey-pot
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page