This is not a Federal purvue. Just let the states use common sense. When a person has a history of mental illness, a history of criminal activity, a school that points out that the student is unstable, a police department who receives several calls stating that the student is going to attack a school, then act. Put the student through an examination by psychologists and other skilled interviewers. If the student fails, take his guns away.