Merge "Stop using syscall() to get tid"