El Cajon Police Chief Jeff Davis has said his office, and the San Diego County district attorney’s office, will both investigate a shooting that took place Tuesday in which a black man killed by police. As that process plays out, here’s what we know about when an officer can legally shoot someone, how the DA approaches the release of shooting videos and how San Diego officers who’ve killed people have been handled in previous cases.