[TOB-K8S-027] Fix Incorrect isKernelPid check
[TOB-K8S-027] Fix Incorrect isKernelPid check

isKernelPid should explicitly check the error returned from os.Readlink and return true
only if the error value is ENOENT. Without this fix, if Readlink
returned say ENAMETOOLONG or EACESS, we would still count the process as
a kernel process (which is not true).

tengqm/kubernetes,fgimenez/kubernetes,carlory/kubernetes,thockin/kubernetes,wenlxie/kubernetes,xlgao-zju/kubernetes,tpepper/kubernetes,stevesloka/kubernetes,lojies/kubernetes,enj/kubernetes,Hui-Zhi/kubernetes,andrewsykim/kubernetes,Hui-Zhi/kubernetes,mfojtik/kubernetes,tomzhang/kubernetes,tomzhang/kubernetes,kevensen/kubernetes,derekwaynecarr/kubernetes,mikebrow/kubernetes,dims/kubernetes,kevin-wangzefeng/kubernetes,BenTheElder/kubernetes,GulajavaMinistudio/kubernetes,jingxu97/kubernetes,PI-Victor/kubernetes,fejta/kubernetes,monopole/kubernetes,JacobTanenbaum/kubernetes,fejta/kubernetes,klaus1982/kubernetes,MHBauer/kubernetes,alejandroEsc/kubernetes,JacobTanenbaum/kubernetes,jackfrancis/kubernetes,PiotrProkop/kubernetes,andrewrynhard/kubernetes,frodenas/kubernetes,khenidak/kubernetes,linux-on-ibm-z/kubernetes,wenlxie/kubernetes,erwinvaneyk/kubernetes,jennybuckley/kubernetes,sanjeevm0/kubernetes,spzala/kubernetes,davidz627/kubernetes,joelsmith/kubernetes,DiamantiCom/kubernetes,mboersma/kubernetes,tomzhang/kubernetes,andrewrynhard/kubernetes,fabriziopandini/kubernetes,mikedanese/kubernetes,cantbewong/kubernetes,olivierlemasle/kubernetes,kpgriffith/kubernetes,micahhausler/kubernetes,mfojtik/kubernetes,tpepper/kubernetes,ConnorDoyle/kubernetes,k82cn/kubernetes,tomerf/kubernetes,aveshagarwal/kubernetes,wongma7/kubernetes,tomzhang/kubernetes,cantbewong/kubernetes,x13n/kubernetes,shyamjvs/kubernetes,sdminonne/kubernetes,njuicsgz/kubernetes-1,LalatenduMohanty/kubernetes,aledbf/kubernetes,cofyc/kubernetes,jagosan/kubernetes,mahak/kubernetes,carlory/kubernetes,xychu/kubernetes,huangjiuyuan/kubernetes,ping035627/kubernetes,mYmNeo/kubernetes,yujuhong/kubernetes,Clarifai/kubernetes,dereknex/kubernetes,verb/kubernetes,PiotrProkop/kubernetes,mikedanese/kubernetes,frodenas/kubernetes,gnufied/kubernetes,rrati/kubernetes,PI-Victor/kubernetes,stevesloka/kubernetes,ingvagabund/kubernetes,micahhausler/kubernetes,tcnghia/kubernetes,krmayankk/kubernetes,jingxu97/kubernetes,u2takey/kubernetes,tpepper/kubernetes,Clarifai/kubernetes,mml/kubernetes,krmayankk/kubernetes,ravisantoshgudimetla/kubernetes,mboersma/kubernetes,jfrazelle/kubernetes,bparees/kubernetes,kpgriffith/kubernetes,PI-Victor/kubernetes,njuicsgz/kubernetes-1,davidz627/kubernetes,ravilr/kubernetes,kpgriffith/kubernetes,du2016/kubernetes,pwittrock/kubernetes,njuicsgz/kubernetes-1,pires/kubernetes,weiwei04/kubernetes,kpgriffith/kubernetes,spzala/kubernetes,frodenas/kubernetes,Acidburn0zzz/kubernetes,MHBauer/kubernetes,nak3/kubernetes,openshift/kubernetes,njuicsgz/kubernetes-1,fanzhangio/kubernetes,iterion/kubernetes,feiskyer/kubernetes,Lion-Wei/kubernetes,Clarifai/kubernetes,luxas/kubernetes,coolsvap/kubernetes,intelsdi-x/kubernetes,nikhita/kubernetes,mml/kubernetes,rafax/kubernetes,brendandburns/kubernetes,kevensen/kubernetes,derekwaynecarr/kubernetes,ping035627/kubernetes,saad-ali/kubernetes,cblecker/kubernetes,ConnorDoyle/kubernetes,olivierlemasle/kubernetes,iterion/kubernetes,wanghaoran1988/kubernetes,mboersma/kubernetes,jessfraz/kubernetes,kow3ns/kubernetes,mengqiy/kubernetes,aveshagarwal/kubernetes,mkumatag/kubernetes,du2016/kubernetes,fgimenez/kubernetes,nikhita/kubernetes,aveshagarwal/kubernetes,Hui-Zhi/kubernetes,warmchang/kubernetes,x13n/kubernetes,cadmuxe/kubernetes,pires/kubernetes,carlory/kubernetes,thockin/kubernetes,saad-ali/kubernetes,kitt1987/kubernetes,nckturner/kubernetes,verult/kubernetes,cantbewong/kubernetes,DiamantiCom/kubernetes,verult/kubernetes,rnaveiras/kubernetes,k82/kubernetes,zetaab/kubernetes,nak3/kubernetes,fabriziopandini/kubernetes,jfrazelle/kubernetes,coolsvap/kubernetes,kevensen/kubernetes,MikeSpreitzer/kubernetes,humblec/kubernetes,idvoretskyi/kubernetes,tcnghia/kubernetes,lojies/kubernetes,sethpollack/kubernetes,luxas/kubernetes,lichuqiang/kubernetes,xychu/kubernetes,tallclair/kubernetes,dereknex/kubernetes,pmorie/kubernetes,jdef/kubernetes,PI-Victor/kubernetes,chrislovecnm/kubernetes,humblec/kubernetes,pwittrock/kubernetes,stevesloka/kubernetes,yarntime/kubernetes,kpgriffith/kubernetes,PI-Victor/kubernetes,micahhausler/kubernetes,njuicsgz/kubernetes-1,micahhausler/kubernetes,csrwng/kubernetes,jfrazelle/kubernetes,derekwaynecarr/kubernetes,yarntime/kubernetes,idvoretskyi/kubernetes,bparees/kubernetes,mahak/kubernetes,liggitt/kubernetes,khenidak/kubernetes,joelsmith/kubernetes,mYmNeo/kubernetes,kitt1987/kubernetes,cadmuxe/kubernetes,erwinvaneyk/kubernetes,pweil-/kubernetes,fabriziopandini/kubernetes,lichuqiang/kubernetes,maciaszczykm/kubernetes,pweil-/kubernetes,monopole/kubernetes,enj/kubernetes,zhouhaibing089/kubernetes,saad-ali/kubernetes,openshift/kubernetes,mosoft521/kubernetes,ii/kubernetes,tomerf/kubernetes,Lion-Wei/kubernetes,deads2k/kubernetes,pweil-/kubernetes,krmayankk/kubernetes,idvoretskyi/kubernetes,cofyc/kubernetes,tengqm/kubernetes,dims/kubernetes,cadmuxe/kubernetes,zhouhaibing089/kubernetes,cblecker/kubernetes,weiwei04/kubernetes,klaus1982/kubernetes,erwinvaneyk/kubernetes,BenTheElder/kubernetes,jsafrane/kubernetes,feiskyer/kubernetes,dims/kubernetes,luxas/kubernetes,krmayankk/kubernetes,soltysh/kubernetes,xychu/kubernetes,fanzhangio/kubernetes,davidz627/kubernetes,jessfraz/kubernetes,csrwng/kubernetes,shyamjvs/kubernetes,coolsvap/kubernetes,jennybuckley/kubernetes,jennybuckley/kubernetes,PiotrProkop/kubernetes,ii/kubernetes,k82/kubernetes,du2016/kubernetes,chestack/kubernetes,mml/kubernetes,maciaszczykm/kubernetes,li-ang/kubernetes,x13n/kubernetes,kitt1987/kubernetes,Clarifai/kubernetes,thockin/kubernetes,davidz627/kubernetes,intelsdi-x/kubernetes,andrewrynhard/kubernetes,humblec/kubernetes,hex108/kubernetes,csrwng/kubernetes,tallclair/kubernetes,Acidburn0zzz/kubernetes,cadmuxe/kubernetes,Lion-Wei/kubernetes,andrewsykim/kubernetes,chrislovecnm/kubernetes,aveshagarwal/kubernetes,zetaab/kubernetes,nckturner/kubernetes,intelsdi-x/kubernetes,spzala/kubernetes,bizhao/kubernetes,ConnorDoyle/kubernetes,kevensen/kubernetes,x13n/kubernetes,jennybuckley/kubernetes,Acidburn0zzz/kubernetes,mkumatag/kubernetes,khenidak/kubernetes,sdminonne/kubernetes,ingvagabund/kubernetes,nak3/kubernetes,kevin-wangzefeng/kubernetes,aveshagarwal/kubernetes,yujuhong/kubernetes,DiamantiCom/kubernetes,yarntime/kubernetes,LalatenduMohanty/kubernetes,Hui-Zhi/kubernetes,ii/kubernetes,saad-ali/kubernetes,intelsdi-x/kubernetes,frodenas/kubernetes,DiamantiCom/kubernetes,openshift/kubernetes,kevin-wangzefeng/kubernetes,MHBauer/kubernetes,jessfraz/kubernetes,maciaszczykm/kubernetes,erwinvaneyk/kubernetes,bizhao/kubernetes,tomerf/kubernetes,aledbf/kubernetes,cofyc/kubernetes,LalatenduMohanty/kubernetes,li-ang/kubernetes,idvoretskyi/kubernetes,JacobTanenbaum/kubernetes,aledbf/kubernetes,kow3ns/kubernetes,jdef/kubernetes,rnaveiras/kubernetes,zetaab/kubernetes,rnaveiras/kubernetes,kevensen/kubernetes,wanghaoran1988/kubernetes,zhangmingld/kubernetes,wenlxie/kubernetes,jagosan/kubernetes,pires/kubernetes,MHBauer/kubernetes,BenTheElder/kubernetes,MikeSpreitzer/kubernetes,soltysh/kubernetes,MikeSpreitzer/kubernetes,ConnorDoyle/kubernetes,lojies/kubernetes,DiamantiCom/kubernetes,JacobTanenbaum/kubernetes,jingxu97/kubernetes,mengqiy/kubernetes,mboersma/kubernetes,mfojtik/kubernetes,jackfrancis/kubernetes,joelsmith/kubernetes,brendandburns/kubernetes,Hui-Zhi/kubernetes,shyamjvs/kubernetes,ixdy/kubernetes,nak3/kubernetes,tomerf/kubernetes,rafax/kubernetes,mengqiy/kubernetes,mYmNeo/kubernetes,sdminonne/kubernetes,alejandroEsc/kubernetes,dereknex/kubernetes,weiwei04/kubernetes,khenidak/kubernetes,PiotrProkop/kubernetes,tcnghia/kubernetes,jagosan/kubernetes,DiamantiCom/kubernetes,mml/kubernetes,maciaszczykm/kubernetes,ingvagabund/kubernetes,deads2k/kubernetes,yarntime/kubernetes,alejandroEsc/kubernetes,cblecker/kubernetes,ravisantoshgudimetla/kubernetes,mikedanese/kubernetes,xlgao-zju/kubernetes,mboersma/kubernetes,pires/kubernetes,andrewrynhard/kubernetes,derekwaynecarr/kubernetes,roberthbailey/kubernetes,chrislovecnm/kubernetes,jackfrancis/kubernetes,mkumatag/kubernetes,MHBauer/kubernetes,pwittrock/kubernetes,dlorenc/kubernetes,lichuqiang/kubernetes,joelsmith/kubernetes,pmorie/kubernetes,ConnorDoyle/kubernetes,hex108/kubernetes,yujuhong/kubernetes,tpepper/kubernetes,xlgao-zju/kubernetes,bparees/kubernetes,tallclair/kubernetes,jessfraz/kubernetes,u2takey/kubernetes,GulajavaMinistudio/kubernetes,mboersma/kubernetes,Lion-Wei/kubernetes,fgimenez/kubernetes,lichuqiang/kubernetes,liggitt/kubernetes,fanzhangio/kubernetes,PiotrProkop/kubernetes,kow3ns/kubernetes,klaus1982/kubernetes,nak3/kubernetes,jackfrancis/kubernetes,jsafrane/kubernetes,jingxu97/kubernetes,spzala/kubernetes,jdef/kubernetes,xlgao-zju/kubernetes,pwittrock/kubernetes,johscheuer/kubernetes,mikebrow/kubernetes,soltysh/kubernetes,ping035627/kubernetes,ixdy/kubernetes,brendandburns/kubernetes,jackfrancis/kubernetes,liggitt/kubernetes,iterion/kubernetes,feiskyer/kubernetes,zhangmingld/kubernetes,mahak/kubernetes,dixudx/kubernetes,stevesloka/kubernetes,frodenas/kubernetes,MikeSpreitzer/kubernetes,mikebrow/kubernetes,Lion-Wei/kubernetes,yujuhong/kubernetes,mosoft521/kubernetes,joelsmith/kubernetes,gnufied/kubernetes,JacobTanenbaum/kubernetes,wenlxie/kubernetes,mengqiy/kubernetes,kubernetes/kubernetes,andrewrynhard/kubernetes,brendandburns/kubernetes,nckturner/kubernetes,pweil-/kubernetes,k82cn/kubernetes,cmluciano/kubernetes,aveshagarwal/kubernetes,dixudx/kubernetes,jagosan/kubernetes,cofyc/kubernetes,hex108/kubernetes,iameli/kubernetes,enj/kubernetes,tomzhang/kubernetes,mkumatag/kubernetes,tomzhang/kubernetes,li-ang/kubernetes,olivierlemasle/kubernetes,sethpollack/kubernetes,pweil-/kubernetes,csrwng/kubernetes,maciaszczykm/kubernetes,roberthbailey/kubernetes,ravisantoshgudimetla/kubernetes,roberthbailey/kubernetes,feiskyer/kubernetes,hex108/kubernetes,krmayankk/kubernetes,liggitt/kubernetes,nckturner/kubernetes,cmluciano/kubernetes,du2016/kubernetes,gnufied/kubernetes,k82cn/kubernetes,MHBauer/kubernetes,dlorenc/kubernetes,tengqm/kubernetes,shyamjvs/kubernetes,brendandburns/kubernetes,sethpollack/kubernetes,mfojtik/kubernetes,sanjeevm0/kubernetes,u2takey/kubernetes,sethpollack/kubernetes,iameli/kubernetes,micahhausler/kubernetes,iameli/kubernetes,dereknex/kubernetes,tallclair/kubernetes,wenlxie/kubernetes,zhouhaibing089/kubernetes,zetaab/kubernetes,dixudx/kubernetes,ping035627/kubernetes,verult/kubernetes,dlorenc/kubernetes,kitt1987/kubernetes,tomzhang/kubernetes,ii/kubernetes,coolsvap/kubernetes,ixdy/kubernetes,dereknex/kubernetes,Clarifai/kubernetes,GulajavaMinistudio/kubernetes,bparees/kubernetes,kow3ns/kubernetes,joelsmith/kubernetes,dlorenc/kubernetes,chestack/kubernetes,kevin-wangzefeng/kubernetes,stevesloka/kubernetes,JacobTanenbaum/kubernetes,feiskyer/kubernetes,dlorenc/kubernetes,sanjeevm0/kubernetes,andrewsykim/kubernetes,openshift/kubernetes,fabriziopandini/kubernetes,matthyx/kubernetes,mahak/kubernetes,fgimenez/kubernetes,cblecker/kubernetes,ingvagabund/kubernetes,pmorie/kubernetes,u2takey/kubernetes,bparees/kubernetes,nckturner/kubernetes,wanghaoran1988/kubernetes,tcnghia/kubernetes,jdef/kubernetes,wanghaoran1988/kubernetes,bizhao/kubernetes,iterion/kubernetes,sethpollack/kubernetes,sanjeevm0/kubernetes,ii/kubernetes,linux-on-ibm-z/kubernetes,GulajavaMinistudio/kubernetes,roberthbailey/kubernetes,andrewsykim/kubernetes,luxas/kubernetes,verb/kubernetes,johscheuer/kubernetes,LalatenduMohanty/kubernetes,intelsdi-x/kubernetes,njuicsgz/kubernetes-1,mosoft521/kubernetes,mfojtik/kubernetes,humblec/kubernetes,huangjiuyuan/kubernetes,k82cn/kubernetes,MikeSpreitzer/kubernetes,wongma7/kubernetes,jfrazelle/kubernetes,kow3ns/kubernetes,fanzhangio/kubernetes,zhouhaibing089/kubernetes,alejandroEsc/kubernetes,jsafrane/kubernetes,zetaab/kubernetes,enj/kubernetes,fejta/kubernetes,hex108/kubernetes,openshift/kubernetes,jdef/kubernetes,sdminonne/kubernetes,lojies/kubernetes,mikebrow/kubernetes,pmorie/kubernetes,mboersma/kubernetes,mikebrow/kubernetes,thockin/kubernetes,mengqiy/kubernetes,warmchang/kubernetes,maciaszczykm/kubernetes,ixdy/kubernetes,ingvagabund/kubernetes,cofyc/kubernetes,wanghaoran1988/kubernetes,davidz627/kubernetes,pmorie/kubernetes,x13n/kubernetes,iterion/kubernetes,aledbf/kubernetes,dlorenc/kubernetes,soltysh/kubernetes,verb/kubernetes,brendandburns/kubernetes,bizhao/kubernetes,olivierlemasle/kubernetes,li-ang/kubernetes,mboersma/kubernetes,nikhita/kubernetes,fgimenez/kubernetes,k82/kubernetes,cmluciano/kubernetes,carlory/kubernetes,cantbewong/kubernetes,bizhao/kubernetes,cadmuxe/kubernetes,k82/kubernetes,linux-on-ibm-z/kubernetes,fanzhangio/kubernetes,chrislovecnm/kubernetes,du2016/kubernetes,soltysh/kubernetes,mahak/kubernetes,ixdy/kubernetes,coolsvap/kubernetes,mosoft521/kubernetes,ravilr/kubernetes,rrati/kubernetes,linux-on-ibm-z/kubernetes,alejandroEsc/kubernetes,li-ang/kubernetes,wenlxie/kubernetes,idvoretskyi/kubernetes,njuicsgz/kubernetes-1,coolsvap/kubernetes,kubernetes/kubernetes,kpgriffith/kubernetes,ravisantoshgudimetla/kubernetes,verb/kubernetes,zetaab/kubernetes,derekwaynecarr/kubernetes,Lion-Wei/kubernetes,huangjiuyuan/kubernetes,iameli/kubernetes,warmchang/kubernetes,zhangmingld/kubernetes,kitt1987/kubernetes,fejta/kubernetes,wongma7/kubernetes,cofyc/kubernetes,xychu/kubernetes,cblecker/kubernetes,linux-on-ibm-z/kubernetes,kubernetes/kubernetes,PI-Victor/kubernetes,erwinvaneyk/kubernetes,jagosan/kubernetes,ravilr/kubernetes,weiwei04/kubernetes,tomerf/kubernetes,ravisantoshgudimetla/kubernetes,csrwng/kubernetes,njuicsgz/kubernetes-1,gnufied/kubernetes,xychu/kubernetes,pwittrock/kubernetes,bizhao/kubernetes,chrislovecnm/kubernetes,warmchang/kubernetes,dims/kubernetes,erwinvaneyk/kubernetes,fabriziopandini/kubernetes,saad-ali/kubernetes,rnaveiras/kubernetes,mml/kubernetes,klaus1982/kubernetes,mYmNeo/kubernetes,pwittrock/kubernetes,tomzhang/kubernetes,wanghaoran1988/kubernetes,Hui-Zhi/kubernetes,pires/kubernetes,k82cn/kubernetes,kubernetes/kubernetes,chestack/kubernetes,olivierlemasle/kubernetes,u2takey/kubernetes,jdef/kubernetes,dereknex/kubernetes,iameli/kubernetes,ravilr/kubernetes,xlgao-zju/kubernetes,andrewsykim/kubernetes,LalatenduMohanty/kubernetes,BenTheElder/kubernetes,dixudx/kubernetes,wongma7/kubernetes,monopole/kubernetes,mikedanese/kubernetes,frodenas/kubernetes,monopole/kubernetes,x13n/kubernetes,wongma7/kubernetes,mosoft521/kubernetes,jfrazelle/kubernetes,jsafrane/kubernetes,gnufied/kubernetes,kow3ns/kubernetes,deads2k/kubernetes,luxas/kubernetes,yarntime/kubernetes,mYmNeo/kubernetes,rrati/kubernetes,tallclair/kubernetes,tcnghia/kubernetes,yujuhong/kubernetes,dixudx/kubernetes,xlgao-zju/kubernetes,dims/kubernetes,johscheuer/kubernetes,zhouhaibing089/kubernetes,lichuqiang/kubernetes,luxas/kubernetes,matthyx/kubernetes,zhangmingld/kubernetes,huangjiuyuan/kubernetes,jessfraz/kubernetes,tpepper/kubernetes,mfojtik/kubernetes,rrati/kubernetes,derekwaynecarr/kubernetes,roberthbailey/kubernetes,andrewrynhard/kubernetes,nak3/kubernetes,chrislovecnm/kubernetes,BenTheElder/kubernetes,idvoretskyi/kubernetes,tengqm/kubernetes,Clarifai/kubernetes,LalatenduMohanty/kubernetes,mkumatag/kubernetes,cmluciano/kubernetes,carlory/kubernetes,chestack/kubernetes,u2takey/kubernetes,thockin/kubernetes,jsafrane/kubernetes,sanjeevm0/kubernetes,ravilr/kubernetes,matthyx/kubernetes,rnaveiras/kubernetes,weiwei04/kubernetes,davidz627/kubernetes,krmayankk/kubernetes,ravisantoshgudimetla/kubernetes,tcnghia/kubernetes,saad-ali/kubernetes,cantbewong/kubernetes,chestack/kubernetes,intelsdi-x/kubernetes,huangjiuyuan/kubernetes,jennybuckley/kubernetes,tengqm/kubernetes,deads2k/kubernetes,verult/kubernetes,Acidburn0zzz/kubernetes,lojies/kubernetes,jingxu97/kubernetes,tpepper/kubernetes,liggitt/kubernetes,verult/kubernetes,iterion/kubernetes,sanjeevm0/kubernetes,verb/kubernetes,jennybuckley/kubernetes,cantbewong/kubernetes,rafax/kubernetes,cadmuxe/kubernetes,cmluciano/kubernetes,pires/kubernetes,rafax/kubernetes,nikhita/kubernetes,fgimenez/kubernetes,Acidburn0zzz/kubernetes,monopole/kubernetes,kubernetes/kubernetes,ConnorDoyle/kubernetes,ping035627/kubernetes,tallclair/kubernetes,johscheuer/kubernetes,Acidburn0zzz/kubernetes,spzala/kubernetes,johscheuer/kubernetes,rrati/kubernetes,verult/kubernetes,xychu/kubernetes,khenidak/kubernetes,fejta/kubernetes,pmorie/kubernetes,aledbf/kubernetes,enj/kubernetes,k82/kubernetes,tomzhang/kubernetes,andrewsykim/kubernetes,weiwei04/kubernetes,mml/kubernetes,hex108/kubernetes,matthyx/kubernetes,shyamjvs/kubernetes,ingvagabund/kubernetes,stevesloka/kubernetes,mikedanese/kubernetes,khenidak/kubernetes,ixdy/kubernetes,warmchang/kubernetes,nikhita/kubernetes,yujuhong/kubernetes,cmluciano/kubernetes,kevin-wangzefeng/kubernetes,zhangmingld/kubernetes,pweil-/kubernetes,matthyx/kubernetes,yarntime/kubernetes,fejta/kubernetes,zhangmingld/kubernetes,deads2k/kubernetes,tomerf/kubernetes,lichuqiang/kubernetes,GulajavaMinistudio/kubernetes,fanzhangio/kubernetes,huangjiuyuan/kubernetes,mYmNeo/kubernetes,johscheuer/kubernetes,sdminonne/kubernetes,humblec/kubernetes,kitt1987/kubernetes