The 1996 law , passed in the wake of the Oklahoma City domestic terror bombing , limits the ability of inmates to seek relief from the federal courts using writs of habeas corpus , which challenge unlawful detention .