33.—(1) Every prisoner confined in any prison shall be deemed to be in the legal custody of the Superintendent thereof.
(2) Every prisoner shall be subject to the prison discipline and regulations during the whole time of his imprisonment, whether or not he is within the precincts of any prison.