During slavery there were slave patrols. Slave patrols enforced the "slave codes," brutal laws that dictated what slaves could or could not do, and where they could exist. Slave patrols were formed of white slave owners and non-slave owning citizens.
Any white man was allowed and expected to stop any Black person and interrogate them to make sure that they're not up to sneaky Black stuff.