French authorities say three childhood friends from California and a fourth civilian helped subdue an armed attacker.