Both of these represent the same phenomenon as the modern police force, which is class oppression (in the first case anti-intellectual misogyny, in the second the same base racism underlying the current struggle). Communities can and will self-regulate, when let out from under the thumb of state-sanctioned violence.
Everyone tends to get nervous about that though.