2002-12-15  Roland McGrath  <roland@redhat.com>
2002-12-15  Roland McGrath  <roland@redhat.com>

	* syscall.c (syscall_enter) [LINUX && POWERPC]: Define PT_ORIG_R3 if
	not defined, since <asm/ptrace.h> defines it only #ifdef __KERNEL__.
	* process.c: Likewise.
	* configure.in: Check for linux/xattr.h and linux/futex.h headers.
	* linux/syscall.h: Add sys_* decls for new syscalls getpmsg, putpmsg,
	readahead, sendfile64, setxattr, fsetxattr, getxattr, fgetxattr, int
	listxattr, flistxattr, removexattr, fremovexattr, sched_setaffinity,
	sched_getaffinity, futex.
	* linux/syscallent.h: Update the table.
	* io.c: Add sys_sendfile64.
	* file.c: Add sys_readahead, sys_*xattr.
	* process.c: Add sys_futex, sys_*affinity.

Infinitive-OS/platform_external_strace,dmullis/strace-ext,geofft/strace,Infinitive-OS/platform_external_strace,DirtyUnicorns/android_external_strace,Yu-AndroidM/android_external_strace,cuviper/strace,pombredanne/strace,gcode-mirror/strace-plus,geofft/strace,cuviper/strace,max630/strace,geekboxzone/mmallow_external_strace,DirtyUnicorns/android_external_strace,gcode-mirror/strace-plus,hjl-tools/strace,android-ia/platform_external_strace,Yu-AndroidM/android_external_strace,bnoordhuis/strace,kapdop/android_external_strace,MonkeyZZZZ/platform_external_strace,Infinitive-OS/platform_external_strace,cuviper/strace,xin3liang/platform_external_strace,AOSP-YU/platform_external_strace,vrastogi/strace,lizh06/strace-plus,geekboxzone/mmallow_external_strace,hjl-tools/strace,geekboxzone/lollipop_external_strace,MonkeyZZZZ/platform_external_strace,AOSP-YU/platform_external_strace,Distrotech/strace,Yu-AndroidM/android_external_strace,Saruta/strace,TeamExodus/external_strace,bnoordhuis/strace,dmullis/strace-ext,Andrey9kin/revisor,YUPlayGodDev/platform_external_strace,vrastogi/strace,jamel/strace-plus,lizh06/strace-plus,vrastogi/strace,TeamExodus/external_strace,CyanogenMod/android_external_strace,Distrotech/strace,YUPlayGodDev/platform_external_strace,lizh06/strace-plus,bnoordhuis/strace,DirtyUnicorns/android_external_strace,AOSP-YU/platform_external_strace,max630/strace,geekboxzone/lollipop_external_strace,Distrotech/strace,geofft/strace,Yu-AndroidM/android_external_strace,bigzz/strace_android,AOSP-YU/platform_external_strace,YUPlayGodDev/platform_external_strace,dmullis/strace-ext,DirtyUnicorns/android_external_strace,MonkeyZZZZ/platform_external_strace,max630/strace,Saruta/strace,android-ia/platform_external_strace,kapdop/android_external_strace,MonkeyZZZZ/platform_external_strace,jamel/strace-plus,Saruta/strace,AOSP-YU/platform_external_strace,kapdop/android_external_strace,geofft/strace,geekboxzone/lollipop_external_strace,hjl-tools/strace,YUPlayGodDev/platform_external_strace,xin3liang/platform_external_strace,lizh06/strace-plus,CyanogenMod/android_external_strace,android-ia/platform_external_strace,dmullis/strace-ext,pombredanne/strace,geekboxzone/lollipop_external_strace,CyanogenMod/android_external_strace,bigzz/strace_android,geofft/strace,Yu-AndroidM/android_external_strace,YUPlayGodDev/platform_external_strace,lkundrak/strace,pgbovine/strace-plus,Saruta/strace,lkundrak/strace,Distrotech/strace,geekboxzone/mmallow_external_strace,jamel/strace-plus,pgbovine/strace-plus,lkundrak/strace,bigzz/strace_android,gcode-mirror/strace-plus,Distrotech/strace,Andrey9kin/revisor,gcode-mirror/strace-plus,jamel/strace-plus,timmattison/strace-arm,kapdop/android_external_strace,MonkeyZZZZ/platform_external_strace,bigzz/strace_android,pgbovine/strace-plus,geekboxzone/mmallow_external_strace,bigzz/strace_android,TeamExodus/external_strace,gcode-mirror/strace-plus,dmullis/strace-ext,xin3liang/platform_external_strace,geekboxzone/mmallow_external_strace,DirtyUnicorns/android_external_strace,pombredanne/strace,CyanogenMod/android_external_strace,android-ia/platform_external_strace,TeamExodus/external_strace,kapdop/android_external_strace,android-ia/platform_external_strace,vrastogi/strace,pgbovine/strace-plus,jamel/strace-plus,pombredanne/strace,TeamExodus/external_strace,timmattison/strace-arm,vrastogi/strace,geekboxzone/lollipop_external_strace,cuviper/strace,lkundrak/strace,Andrey9kin/revisor,Andrey9kin/revisor,lizh06/strace-plus,pgbovine/strace-plus,timmattison/strace-arm,xin3liang/platform_external_strace,Saruta/strace,bnoordhuis/strace,cuviper/strace,CyanogenMod/android_external_strace,Infinitive-OS/platform_external_strace,Infinitive-OS/platform_external_strace