more robustness against SIGCHLD
more robustness against SIGCHLD

If the SIGCHLD is sent from a process different from the container's init
process we ignore it, otherwise we finish to wait it.

Signed-off-by: Daniel Lezcano <3211518dd4d87cb3f7ee12cb52e14b7fb2bc0446@fr.ibm.com>

ysbnim/lxc,aeris/lxc,efiop/lxc,smoser/lxc,codebauss/lxc,thmo/lxc,efiop/lxc,codebauss/lxc,Ponce/lxc,cjwatson/lxc,ojkastl/lxc_Patches,tych0/lxc,ksperis/lxc,major/lxc,lazy404/lxc,ostap/lxc,hfuCN/lxc,lisongmin/lxc,federicobriata/lxc,ysbnim/lxc,ecarrara/lxc,inokappa/lxc,caglar10ur/lxc,armcc/lxc,usc-isi/lxc,weizhenwei/lxc,bmoar/lxc,jirislaby/lxc,armcc/lxc,tych0/lxc,efiop/lxc,regit/lxc,ss1h2a3tw/lxc,smoser/lxc,lisongmin/lxc,QingweiPeterLan/cs188-lxc,codebauss/lxc,raspberrypython/lxc,smoser/lxc,bmoar/lxc,terceiro/lxc,hkjolhede/lxc,lazy404/lxc,virajs/lxc,ojkastl/lxc_Patches,DarknessBeforeDawn/lxc,Distrotech/lxc,christiaan/lxc,cjwatson/lxc,terceiro/lxc,glensc/lxc,DarknessBeforeDawn/lxc,armcc/lxc,virajs/lxc,hkjolhede/lxc,ss1h2a3tw/lxc,abstrakraft/lxc-android-lxc,JohnPeacockMessageSystems/lxc,aeris/lxc,JohnPeacockMessageSystems/lxc,GreatFruitOmsk/lxc,virajs/lxc,abstrakraft/lxc-android-lxc,abstrakraft/lxc-android-lxc,ksperis/lxc,bmoar/lxc,JohnPeacockMessageSystems/lxc,caglar10ur/lxc,ojkastl/lxc_Patches,kylef/lxc,hfuCN/lxc,bostjan/lxc,christiaan/lxc,rldleblanc/lxc,federicobriata/lxc,LynxChaus/lxc,fwilson42/lxc,QingweiPeterLan/cs188-lxc,ioops/lxc,major/lxc,sapun/lxc,cjwatson/lxc,raspberrypython/lxc,Pelagicore/lxc,yubo/lxc,usc-isi/lxc,akshaykarle/lxc,weizhenwei/lxc,ecarrara/lxc,jirislaby/lxc,Pelagicore/lxc,ss1h2a3tw/lxc,bostjan/lxc,christiaan/lxc,terceiro/lxc,glensc/lxc,lisongmin/lxc,raspberrypython/lxc,potatosalad/lxc,ksperis/lxc,Distrotech/lxc,fwilson42/lxc,thmo/lxc,hallyn/lxc,rldleblanc/lxc,akshaykarle/lxc,ysbnim/lxc,Pelagicore/lxc,kylef/lxc,inokappa/lxc,fwilson42/lxc,smoser/lxc,coconutpilot/lxc-gentoo-new,GreatFruitOmsk/lxc,yubo/lxc,hallyn/lxc,glensc/lxc,rowhit/lxc,yubo/lxc,weizhenwei/lxc,major/lxc,caglar10ur/lxc,aeris/lxc,lazy404/lxc,hkjolhede/lxc,LynxChaus/lxc,szaszg/lxc,szaszg/lxc,usc-isi/lxc,rldleblanc/lxc,ioops/lxc,regit/lxc,ojkastl/lxc_Patches,akshaykarle/lxc,sapun/lxc,rowhit/lxc,tych0/lxc,sapun/lxc,hallyn/lxc,federicobriata/lxc,thmo/lxc,Ponce/lxc,ecarrara/lxc,bostjan/lxc,DarknessBeforeDawn/lxc,abstrakraft/lxc-android-lxc,hfuCN/lxc,Distrotech/lxc,jirislaby/lxc,szaszg/lxc,LynxChaus/lxc,potatosalad/lxc,QingweiPeterLan/cs188-lxc,rowhit/lxc,ostap/lxc,regit/lxc,Ponce/lxc,GreatFruitOmsk/lxc,ioops/lxc,coconutpilot/lxc-gentoo-new