[PATCH 7/7] Skip the entry if the sys_func field is NULL

Dmitry V. Levin ldv at altlinux.org
Mon Feb 6 15:24:10 UTC 2012


Hi,

On Fri, Feb 03, 2012 at 10:19:55AM -0800, H.J. Lu wrote:
> Hi,
> 
> This patch avoids segfault when there are holes in system call table.
> It can happen with syscall (number, ...) and number is in those holes.

We don't have sysent tables with holes yet, do we?

Another question is, assuming that we have such sysent tables, should
those syscalls be treated exactly the same way as syscalls which numbers
are out of range? 


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20120206/f57bd48d/attachment.bin>


More information about the Strace-devel mailing list