The Spook Who Sat by the Door (1981)

A black man plays 'uncle Tom' in order to gain access to CIA training, then uses that knowledge to plot a new American revolt.