Former general to keep Pakistan safe