[patch] account for undefined or unavailable syscalls

Bernhard Fischer rep.dot.nop at gmail.com
Thu Sep 20 14:56:36 UTC 2007


The attached patch fixes compilation failures when certain syscalls are
not available.

- exit_group was apparently unavailable for ARM with kernel 2.4
- socketcall and ipc may be turned off on purpose.

	*(linux/syscallent.h, syscall.c): Check if exit_group,
	socketcall, ipc syscalls are available.

Please apply.

PS: The attached patch is a slightly adjusted version of
that applies to 4.5.15 and 4.5.16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strace-undef-syscall.patch
Type: text/x-diff
Size: 2460 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20070920/a91b2c56/attachment.bin>

More information about the Strace-devel mailing list