1#!/bin/sh 2 3# Check decoding of set_thread_area and get_thread_area syscalls on x86. 4 5. "${srcdir=.}/init.sh" 6 7check_prog sed 8run_prog > /dev/null 9run_strace -a22 -e trace=reboot,/[gs]et_thread_area $args > "$EXP" 10sed '0,/^reboot/d' "$LOG" > "$OUT" 11match_diff "$OUT" "$EXP" 12