The correct answer is:
c) When rebellion or foreign invasion against the government endangers public safety
The privilege of the writ of habeas corpus can be suspended under circumstances such as rebellion or invasion that threaten public safety, as outlined in the U.S. Constitution (Article I, Section 9).