On an episode of Raw a few months ago the Rock was being interviewed by Kevin Kelly in a hallway next to a door. While the Rock was saying his usual "If you smellllll..." routine some random guy opened the door behind them, saw what was happening, looked around and quickly closed the door!
That was Pat Patterson and he was in The Rock's locker room. He's involved in a bunch of backstage stuff. He and The Rock were probably discussing The Rock's upcomming match.
That's Pat Patterson. Its his job to explain to wrestlers the outcome of their matches and storylines. He was most likely discussing with him how the match was going to pan out. If you don't believe me watch that documentary that Bret Hart made. Pat Patterson instructs everyone on what to do, when to do it and who is supposed to win and in what way.