Leg sheath
From wipipedia.org

A leg sheath is a garment that fits tightly round the legs, pinning them together. It may be open at the bottom or closed to cover the feet.
It may be combined with a straitjacket to make a punishment suit.