In the United States, following Kansas v. Hendricks , sex offenders who are diagnosed with certain mental disorders, particularly pedophilia, can be subject to indefinite civil commitment , under various state laws (generically called SVP laws ) and the federal Adam Walsh Child Protection and Safety Act of 2006.