Fix the 'decision' for the LEGACY_TIOCSTI check