Senate overrides veto on prison operations