Referring specifically to Harvard and other Ivys. I have no idea why any public university would consider legacy as a factor.
Edit: I think it's a leap to tie legacy admission from 2 generations ago to racism. Because that's attributing wide spread societal faults to a few specific institution.