Hello,
attached patch fixes SIGSEGV with 64-bit userspace. The memmem is implicit with int but it get signed extended when cast to rt. Cannot include correct headers because of the kernel one. I also fixed the print output (it should not hurt).
Signed-off-by: Rudolf Marek r.marek@assembler.cz
Thanks, Rudolf