Etymology
Today it means: A higher-ranking prison officer. Full definition →
From white + shirt, from the colour of the uniform.
Etymology from Wiktionary, CC BY-SA 4.0.