POSIX: Change FD passing test to send many messages
POSIX: Change FD passing test to send many messages

(This is mostly an adoption of Jeremy's patch.)

Also, switch from using /dev/random to /dev/zero. Reading from
/dev/random can drain the system entropy pool and block.

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


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

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