Four people have been charged in the death of a B.C. inmate who was attacked and killed in a maximum-security prison.