Lucius Fox (Morgan Freeman)

"Mister Wayne, if you don't want to tell me exactly what you're doing, when I'm asked, I don't have to lie. But don't think of me as an idiot."

- Lucius Fox

Lucius Fox was played by Morgan Freeman in Batman Begins and The Dark Knight.

Batman Begins
"Didn't you get the memo ?"

- William Earle

Fox is a research head and friend of Thomas Wayne who is demoted by Wayne Enterprises CEO William Earle to overseeing the supplies of Wayne Enterprises' aborted research projects and prototypes. Upon returning to the business, Bruce Wayne strikes up a fast friendship which allows him to all but recruit Fox as his armorer for his Batman activities. Fox proves invaluable in this role, even when he is fired by Earle. Among other things, he supplies Wayne with the materials that will eventually become the Batsuit and the Batmobile. In addition, Fox provides the cure for the Scarecrow's fear toxin.

Regarding Wayne's identity as Batman, he tells Wayne "If you don't want to tell me exactly what you're doing, when I'm asked, I don't have to lie. But don't think of me as an idiot." At the end of the film, Wayne, having gained majority control of Wayne Enterprises' shares, makes Fox the company's CEO.

Gotham Knight
Kevin Michael Richardson voices Lucius Fox in Batman: Gotham Knight, within the segment Field Test. As an extension of the Nolan Film universe, the segment confirms that Lucius knows Bruce's identity, as Bruce gives Lucius the line "I'm willing to put my life on the line to do what I have to. But it has to be mine, no one else's".

The Dark Knight
"Spying on 30 million people is not part of my job description."

- Lucius Fox In The Dark Knight, Fox is obviously aware that Bruce Wayne is Batman- at one point conversing with Wayne in the Batsuit- and actively participates in a support capacity as Wayne's armorer, providing him with additional equipment such as the Batpod and a new Batsuit designed for more efficient mobility. In addition, Fox participates in his employer's vigilante activities both in the Batcave and in the field as his technical assistant and reconnaissance expert, using his professional duties as cover. Fox eventually learns that Wayne has expanded on the sonar technology and developed an advanced surveillance system that can listen in and track the movement of any of the thousands of cell phones in the city, but to ensure that the system is not misused Bruce has designed it so that only Fox can control it. Since this essentially contradicts everything Wayne believes in, Fox agrees to help but says he will resign if the machine is not destroyed after the Joker is gone. After the Joker is apprehended, Fox enters a code (his own name) as instructed by Wayne, which activates a self-destruct function for the system, and Fox presumably continues to work under Wayne.