Fix PTRACE_SETOPTIONS tests
Fix PTRACE_SETOPTIONS tests

* strace.c [LINUX] (kill_save_errno): New function.
(test_ptrace_setoptions_followfork): Change return type to void.
Fix and harden error handling.  Use kill_save_errno() to avoid errno
clobbering.  Treat EIO from ptrace() the same way as EINVAL.
(test_ptrace_setoptions_for_all): Use kill_save_errno() to avoid errno
clobbering.  Treat EIO from ptrace() the same way as EINVAL.
(main): Update use of test_ptrace_setoptions_followfork().

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