>>you'd want to be sure they are very well trained
I doubt they would just issue a firearm along with the uniforms. Many airline pilots are ex-military and quite capable of using a sidearm. Training/restrictions would certainly be available for those that aren't.