The US Senate has confirmed Markwayne Mullin of Oklahoma to lead the Department of Homeland Security.