In previous linux releases, the macro syscall0, syscall1, ... were all available (defined in linux/unistd.h from memory) for use when declaring non-standard system call interfaces such as tkill et.l. In FC-6 that is no longer available, instead syscall(2) should be used. The documentation should be updated to reflect this.
Bug created at bugzilla.redhat.com under Fedora Core devel glibc https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=195668
Index: ./frysk-core/common/ChangeLog 2006-06-15 Nurdin Premji <npremji@redhat.com> * Makefile.rules (AM_CFLAGS): Added frysk-imports include files. Index: ./frysk-core/frysk/pkglibexecdir/ChangeLog 2006-06-15 Nurdin Premji <npremji@redhat.com> * funit-child.c: Added #include <linux.syscall.h> and <unistd.h>. * funit-exec.c: Ditto. * funit-syscallint.c: Ditto. * funit-threadexit.c: Ditto. * funit-threads.c: Ditto. Index: ./frysk-core/prog/ChangeLog 2006-06-15 Nurdin Premji <npremji@redhat.com> * kill/detach.c: Add #include <linux.syscall.h> and <unistd.h>. * kill/suspend.c: Ditto. 1 Jan 1970 00:00:00 -0000 Index: ./frysk-imports/tests/ChangeLog 2006-06-15 Nurdin Premji <npremji@redhat.com> * frysk2595/ptrace_after_exec.c: Added #include <linux.syscall.h> and <sys/syscall>. * frysk2595/ptrace_after_exec_of_thread.c: Ditto. * frysk2595/ptrace_after_forked_thread_exits.c: Ditto. * frysk2595/ptrace_before_forked_thread_exits.c: Ditto. * frysk2595/ptrace_peek_wrong_thread.c: Ditto. * process/multi_child_exec.c: Ditto. * process/multi_child_parent_exec.c: Ditto. * process/multi_parent_exec.c: Ditto. * process/single_exec.c: Ditto. * Makefile.am (AM_CFLAGS): Add -I$(top_srcdir)/include. Index: ./frysk-sys/frysk/sys/ChangeLog 2006-06-15 Nurdin Premji <npremji@redhat.com> * cni/Poll.cxx: Add #include <linux.syscall> and <unistd.h> * cni/Signal.cxx: Ditto. * cni/Tid.cxx: Ditto.