The first movie is not from Skyfall as it says on youtube.
The gun in use here is a Skorpion, correct me if I'm wrong
http://www.youtube.com/watch?v=Dt08I8ywm-g
The other movie I have no video for. Would be nice if anyone recognize this movie as well, and what gun is it?