The Congress government in Karnataka passed a 4 per cent Muslim quota bill for public contracts, aiming for social justice.