Feds giving S.F. $10 million for terror fight