This is kinda comforting:

What both McCain and Obama seem to support, although they differ in the details, is some mechanism for detainees to challenge their incarceration status. Once Gitmo is closed and the detainees are moved to the US, McCain does not favor their being detained indefinitely without having any recourse to protest their indefinite detention. [...] For McCain, the military would oversee those hearings; for Obama, federal judges would.