Disable registration of Breakpad's signal handler for Native Client
Disable registration of Breakpad's signal handler for Native Client

This partially undoes r71459.

This fixes a security vulnerability that occurs when the NaCl revision
is updated to r4598 or later.  That revision changes NaCl's
sel_main_chrome.c so that it no longer registers a signal handler, but
instead leaves Breakpad's signal handler (registered by Chrome) in
place.

The vulnerability would allow NaCl untrusted code to escape NaCl's
inner sandbox on x86-32 Linux.

This is because although NaCl's signal handler knows how to safely
handle faults from NaCl x86-32 sandboxed code, Breakpad's signal
handler does not.  Breakpad's signal handler does not restore %gs.

BUG=http://code.google.com/p/nativeclient/issues/detail?id=1607
TEST=assertion to be added on the NaCl side (http://codereview.chromium.org/6798008/)

Review URL: http://codereview.chromium.org/6677168

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@80581 0039d316-1c4b-4281-b951-d872f2087c98

anirudhSK/chromium,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,axinging/chromium-crosswalk,chuan9/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,keishi/chromium,krieger-od/nwjs_chromium.src,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,timopulkkinen/BubbleFish,dednal/chromium.src,TheTypoMaster/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,markYoungH/chromium.src,dednal/chromium.src,dednal/chromium.src,mogoweb/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,ondra-novak/chromium.src,zcbenz/cefode-chromium,Pluto-tv/chromium-crosswalk,robclark/chromium,Pluto-tv/chromium-crosswalk,bright-sparks/chromium-spacewalk,markYoungH/chromium.src,nacl-webkit/chrome_deps,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,hujiajie/pa-chromium,hgl888/chromium-crosswalk,timopulkkinen/BubbleFish,patrickm/chromium.src,patrickm/chromium.src,nacl-webkit/chrome_deps,PeterWangIntel/chromium-crosswalk,krieger-od/nwjs_chromium.src,robclark/chromium,chuan9/chromium-crosswalk,ltilve/chromium,chuan9/chromium-crosswalk,ChromiumWebApps/chromium,M4sse/chromium.src,fujunwei/chromium-crosswalk,Jonekee/chromium.src,markYoungH/chromium.src,TheTypoMaster/chromium-crosswalk,junmin-zhu/chromium-rivertrail,dushu1203/chromium.src,dushu1203/chromium.src,robclark/chromium,markYoungH/chromium.src,ondra-novak/chromium.src,hujiajie/pa-chromium,PeterWangIntel/chromium-crosswalk,patrickm/chromium.src,Just-D/chromium-1,littlstar/chromium.src,junmin-zhu/chromium-rivertrail,crosswalk-project/chromium-crosswalk-efl,timopulkkinen/BubbleFish,krieger-od/nwjs_chromium.src,PeterWangIntel/chromium-crosswalk,mogoweb/chromium-crosswalk,M4sse/chromium.src,hujiajie/pa-chromium,ltilve/chromium,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk-efl,anirudhSK/chromium,ChromiumWebApps/chromium,robclark/chromium,M4sse/chromium.src,hgl888/chromium-crosswalk,patrickm/chromium.src,rogerwang/chromium,Chilledheart/chromium,axinging/chromium-crosswalk,ltilve/chromium,Jonekee/chromium.src,hujiajie/pa-chromium,Just-D/chromium-1,chuan9/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,rogerwang/chromium,Fireblend/chromium-crosswalk,anirudhSK/chromium,crosswalk-project/chromium-crosswalk-efl,timopulkkinen/BubbleFish,anirudhSK/chromium,mohamed--abdel-maksoud/chromium.src,mohamed--abdel-maksoud/chromium.src,dushu1203/chromium.src,dednal/chromium.src,pozdnyakov/chromium-crosswalk,Jonekee/chromium.src,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk,M4sse/chromium.src,Just-D/chromium-1,junmin-zhu/chromium-rivertrail,Just-D/chromium-1,patrickm/chromium.src,timopulkkinen/BubbleFish,jaruba/chromium.src,anirudhSK/chromium,axinging/chromium-crosswalk,ondra-novak/chromium.src,Fireblend/chromium-crosswalk,Jonekee/chromium.src,dednal/chromium.src,chuan9/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,ondra-novak/chromium.src,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,Chilledheart/chromium,hujiajie/pa-chromium,hujiajie/pa-chromium,hgl888/chromium-crosswalk-efl,jaruba/chromium.src,hgl888/chromium-crosswalk-efl,zcbenz/cefode-chromium,TheTypoMaster/chromium-crosswalk,axinging/chromium-crosswalk,zcbenz/cefode-chromium,ltilve/chromium,littlstar/chromium.src,axinging/chromium-crosswalk,ChromiumWebApps/chromium,chuan9/chromium-crosswalk,jaruba/chromium.src,hgl888/chromium-crosswalk-efl,zcbenz/cefode-chromium,Pluto-tv/chromium-crosswalk,junmin-zhu/chromium-rivertrail,Jonekee/chromium.src,timopulkkinen/BubbleFish,Pluto-tv/chromium-crosswalk,M4sse/chromium.src,junmin-zhu/chromium-rivertrail,hujiajie/pa-chromium,fujunwei/chromium-crosswalk,rogerwang/chromium,fujunwei/chromium-crosswalk,pozdnyakov/chromium-crosswalk,keishi/chromium,dushu1203/chromium.src,dushu1203/chromium.src,fujunwei/chromium-crosswalk,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,nacl-webkit/chrome_deps,Fireblend/chromium-crosswalk,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,dushu1203/chromium.src,ltilve/chromium,mohamed--abdel-maksoud/chromium.src,pozdnyakov/chromium-crosswalk,robclark/chromium,markYoungH/chromium.src,bright-sparks/chromium-spacewalk,Chilledheart/chromium,ltilve/chromium,littlstar/chromium.src,axinging/chromium-crosswalk,rogerwang/chromium,hgl888/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,Just-D/chromium-1,ChromiumWebApps/chromium,PeterWangIntel/chromium-crosswalk,junmin-zhu/chromium-rivertrail,M4sse/chromium.src,hgl888/chromium-crosswalk,fujunwei/chromium-crosswalk,anirudhSK/chromium,anirudhSK/chromium,Chilledheart/chromium,pozdnyakov/chromium-crosswalk,jaruba/chromium.src,bright-sparks/chromium-spacewalk,mogoweb/chromium-crosswalk,hgl888/chromium-crosswalk-efl,ltilve/chromium,jaruba/chromium.src,Fireblend/chromium-crosswalk,fujunwei/chromium-crosswalk,hujiajie/pa-chromium,chuan9/chromium-crosswalk,keishi/chromium,patrickm/chromium.src,Pluto-tv/chromium-crosswalk,Fireblend/chromium-crosswalk,rogerwang/chromium,keishi/chromium,dednal/chromium.src,junmin-zhu/chromium-rivertrail,anirudhSK/chromium,ondra-novak/chromium.src,hgl888/chromium-crosswalk,pozdnyakov/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk,littlstar/chromium.src,nacl-webkit/chrome_deps,mogoweb/chromium-crosswalk,keishi/chromium,M4sse/chromium.src,rogerwang/chromium,Jonekee/chromium.src,junmin-zhu/chromium-rivertrail,zcbenz/cefode-chromium,anirudhSK/chromium,jaruba/chromium.src,pozdnyakov/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,keishi/chromium,ondra-novak/chromium.src,M4sse/chromium.src,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,bright-sparks/chromium-spacewalk,littlstar/chromium.src,mogoweb/chromium-crosswalk,dushu1203/chromium.src,axinging/chromium-crosswalk,jaruba/chromium.src,bright-sparks/chromium-spacewalk,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,axinging/chromium-crosswalk,Chilledheart/chromium,timopulkkinen/BubbleFish,fujunwei/chromium-crosswalk,Jonekee/chromium.src,TheTypoMaster/chromium-crosswalk,M4sse/chromium.src,littlstar/chromium.src,Chilledheart/chromium,zcbenz/cefode-chromium,ltilve/chromium,anirudhSK/chromium,Jonekee/chromium.src,mohamed--abdel-maksoud/chromium.src,junmin-zhu/chromium-rivertrail,jaruba/chromium.src,markYoungH/chromium.src,mohamed--abdel-maksoud/chromium.src,anirudhSK/chromium,TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,keishi/chromium,dednal/chromium.src,mogoweb/chromium-crosswalk,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk-efl,patrickm/chromium.src,dednal/chromium.src,dushu1203/chromium.src,pozdnyakov/chromium-crosswalk,keishi/chromium,ChromiumWebApps/chromium,chuan9/chromium-crosswalk,chuan9/chromium-crosswalk,dednal/chromium.src,rogerwang/chromium,ondra-novak/chromium.src,ChromiumWebApps/chromium,junmin-zhu/chromium-rivertrail,robclark/chromium,Pluto-tv/chromium-crosswalk,nacl-webkit/chrome_deps,krieger-od/nwjs_chromium.src,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk,robclark/chromium,dednal/chromium.src,zcbenz/cefode-chromium,mogoweb/chromium-crosswalk,dushu1203/chromium.src,crosswalk-project/chromium-crosswalk-efl,patrickm/chromium.src,jaruba/chromium.src,hujiajie/pa-chromium,hujiajie/pa-chromium,Fireblend/chromium-crosswalk,nacl-webkit/chrome_deps,Chilledheart/chromium,dushu1203/chromium.src,fujunwei/chromium-crosswalk,rogerwang/chromium,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk,bright-sparks/chromium-spacewalk,ChromiumWebApps/chromium,Fireblend/chromium-crosswalk,krieger-od/nwjs_chromium.src,nacl-webkit/chrome_deps,Fireblend/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,pozdnyakov/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,jaruba/chromium.src,Jonekee/chromium.src,bright-sparks/chromium-spacewalk,krieger-od/nwjs_chromium.src,rogerwang/chromium,markYoungH/chromium.src,ltilve/chromium,Chilledheart/chromium,jaruba/chromium.src,markYoungH/chromium.src,TheTypoMaster/chromium-crosswalk,Chilledheart/chromium,littlstar/chromium.src,keishi/chromium,robclark/chromium,mogoweb/chromium-crosswalk,rogerwang/chromium,littlstar/chromium.src,ondra-novak/chromium.src,zcbenz/cefode-chromium,ChromiumWebApps/chromium,robclark/chromium,anirudhSK/chromium,dushu1203/chromium.src,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk-efl,Jonekee/chromium.src,nacl-webkit/chrome_deps,hujiajie/pa-chromium,keishi/chromium,crosswalk-project/chromium-crosswalk-efl,Just-D/chromium-1,fujunwei/chromium-crosswalk,ChromiumWebApps/chromium,nacl-webkit/chrome_deps,dednal/chromium.src,krieger-od/nwjs_chromium.src,M4sse/chromium.src,mogoweb/chromium-crosswalk,robclark/chromium,krieger-od/nwjs_chromium.src,ondra-novak/chromium.src,ChromiumWebApps/chromium,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk-efl,timopulkkinen/BubbleFish,Just-D/chromium-1,pozdnyakov/chromium-crosswalk,timopulkkinen/BubbleFish,zcbenz/cefode-chromium,Just-D/chromium-1,ChromiumWebApps/chromium,bright-sparks/chromium-spacewalk,markYoungH/chromium.src,keishi/chromium,markYoungH/chromium.src,markYoungH/chromium.src,patrickm/chromium.src,TheTypoMaster/chromium-crosswalk,M4sse/chromium.src,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,Just-D/chromium-1