Troops challenging the legitimacy of President Barack Obama as commander-in-chief — including at least one who is fighting deployment — should take heed: Gunnery Sgt. Hartman wants to know your “major malfunction.”

R. Lee Ermey, the Marine-turned-actor whose role as drill instructor Gunny Hartman in the late Stanley Kubrick’s “Full Metal Jacket” has all but placed the Vietnam veteran in the pantheon of Marine heroes alongside “Chesty” Puller, Smedley Butler and Dan Daly, isn’t buying anyone’s political objector status.

“I haven’t heard about those guys,” Ermey told Military.com during an Aug. 21 interview. “If I do run across them though, trust me, I’ll square them away.”