Decode TIOCSCTTY's third parameter
Decode TIOCSCTTY's third parameter

* term.c (term_ioctl): Decode TIOCSCTTY's third parameter.

Signed-off-by: Denys Vlasenko <50fbbd36fe0f9c8261d4a3c762c8c29ffb35e48f@redhat.com>

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