Reinhard Nissl kirjoitti:
> Please report the logged error message.

Actually, your patch immediately segfaulted.

But I can see some problem:  The include files from the distro tell me:

k...@vdr:/usr/include$ grep __NR_gettid */*
asm/unistd_32.h:#define __NR_gettid        224
asm/unistd_64.h:#define __NR_gettid                186
asm/unistd_64.h:__SYSCALL(__NR_gettid, sys_gettid)
bits/syscall.h:#define SYS_gettid __NR_gettid

but the kernel includes tell:

k...@vdr:/usr/src/linux/include$ grep __NR_gettid */*
asm-generic/unistd.h:#define __NR_gettid 178
asm-generic/unistd.h:__SYSCALL(__NR_gettid, sys_gettid)

So it seems the syscall numbers have changed at some point. I am afraid
if the libc is now broken due to this. This has not happened to me
before, so I don't actually know what would be the good thing to do. 
But forcing the syscall number to 178 does not actually fix the thread
numbers in the log file.


vdr mailing list

Reply via email to