mysterious segfault with busybox 1.13.0 ash
Natanael Copa
natanael.copa at gmail.com
Wed Nov 19 20:11:29 UTC 2008
On Wed, 2008-11-19 at 20:57 +0100, Natanael Copa wrote:
> Hi,
>
> I have not been able to reproduce it in a small test script but it
> happens exactly here:
> http://dev.alpinelinux.org/cgit/cgit.cgi/alpine-baselayout/tree/init.d/runtimes#n178
...
Actually, I was able to create a smaller test script immediatly after i
posted the previous mail:
#!/bin/sh
func() {
! false && echo foo
}
! false && echo "no problem"
func
it will echo "no problem" and then segfault.
interestingly enough, this happens only on a grsecurity kernel, but not
on a default gentoo kernel (in chroot). tested in kvm only so far.
-nc
More information about the busybox
mailing list