[patch] account for undefined or unavailable syscalls

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


Hi,

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
http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/*checkout*/trunk/buildroot/package/strace/strace-undef-syscall.patch
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