The law protects detainees from blatant abuses during questioning – such as rape, torture and â€œcruel and inhumanâ€ treatment – but does not require that any of them be granted legal counsel. Also, it specifically bars detainees from filing habeas corpus petitions challenging their detentions in federal courts