Remove capng_lock() call when spawning LXC container init process
Remove capng_lock() call when spawning LXC container init process

The capng_lock() call sets the SECURE_NO_SETUID_FIXUP and SECURE_NOROOT
bits on the process. This prevents the kernel granting capabilities to
processes with an effective UID of 0, or with setuid programs. This is
not actually what we want in the container init process. It should be
allowed to run setuid processes & keep capabilities when root. All that
is required is masking a handful of dangerous capabilities from the
bounding set.

* src/lxc/lxc_container.c: Remove bogus capng_lock() call.

shugaoye/libvirt,danwent/libvirt-ovs,shugaoye/libvirt,rbu/libvirt,jeckersb/libvirt,crobinso/libvirt,novel/fbsd-libvirt,VenkatDatta/libvirt,foomango/libvirt,usc-isi/libvirt,kantai/libvirt-vfork,VenkatDatta/libvirt,bjzhang/libvirt,wiedi/libvirt,andreabolognani/libvirt,rbu/libvirt,zhlcindy/libvirt-1.1.4-maintain,bjzhang/libvirt,zhlcindy/libvirt-1.1.4-maintain,nertpinx/libvirt,cbosdo/libvirt,fabianfreyer/libvirt,emaste/libvirt,rmarwaha/libvirt1,usc-isi/libvirt,usc-isi/libvirt,libvirt/libvirt,amery/libvirt-vserver,shugaoye/libvirt,soulxu/libvirt-xuhj,usc-isi/libvirt,datto/libvirt,shugaoye/libvirt,iam-TJ/libvirt,emaste/libvirt,leilihh/libvirt,dumbbell/libvirt,emaste/libvirt,rmarwaha/libvirt1,zhlcindy/libvirt-1.1.4-maintain,rmarwaha/libvirt,rmarwaha/libvirt,taget/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,zippy2/libvirt,siboulet/libvirt-openvz,agx/libvirt,agx/libvirt,crobinso/libvirt,jeckersb/libvirt,kantai/libvirt-vfork,wiedi/libvirt,libvirt/libvirt,VenkatDatta/libvirt,crobinso/libvirt,leilihh/libvirt,jfehlig/libvirt,eskultety/libvirt,rlaager/libvirt,amery/libvirt-vserver,rmarwaha/libvirt,leilihh/libvirt,iam-TJ/libvirt,jardasgit/libvirt,elmarco/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,wiedi/libvirt,soulxu/libvirt-xuhj,siboulet/libvirt-openvz,novel/fbsd-libvirt,datto/libvirt,rmarwaha/libvirt1,warewolf/libvirt,olafhering/libvirt,rlaager/libvirt,warewolf/libvirt,rlaager/libvirt,taget/libvirt,agx/libvirt,foomango/libvirt,rmarwaha/libvirt,eskultety/libvirt,iam-TJ/libvirt,taget/libvirt,emaste/libvirt,rlaager/libvirt,nertpinx/libvirt,cbosdo/libvirt,kantai/libvirt-vfork,agx/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,nertpinx/libvirt,rmarwaha/libvirt,fabianfreyer/libvirt,rbu/libvirt,siboulet/libvirt-openvz,novel/fbsd-libvirt,trainstack/libvirt,jeckersb/libvirt,taget/libvirt,elmarco/libvirt,amery/libvirt-vserver,zippy2/libvirt,amery/libvirt-vserver,warewolf/libvirt,emaste/libvirt,rmarwaha/libvirt1,soulxu/libvirt-xuhj,leilihh/libvirt,novel/fbsd-libvirt,jardasgit/libvirt,nertpinx/libvirt,iam-TJ/libvirt,zippy2/libvirt,jeckersb/libvirt,dumbbell/libvirt,siboulet/libvirt-openvz,cbosdo/libvirt,olafhering/libvirt,datto/libvirt,rmarwaha/libvirt1,sshah-solarflare/Libvirt-PCI-passthrough-,jfehlig/libvirt,iam-TJ/libvirt,crobinso/libvirt,rmarwaha/libvirt1,soulxu/libvirt-xuhj,foomango/libvirt,datto/libvirt,libvirt/libvirt,cbosdo/libvirt,eskultety/libvirt,shugaoye/libvirt,trainstack/libvirt,rbu/libvirt,elmarco/libvirt,emaste/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,trainstack/libvirt,VenkatDatta/libvirt,emaste/libvirt,nertpinx/libvirt,agx/libvirt,kantai/libvirt-vfork,trainstack/libvirt,elmarco/libvirt,jfehlig/libvirt,zhlcindy/libvirt-1.1.4-maintain,rlaager/libvirt,rmarwaha/libvirt,dumbbell/libvirt,warewolf/libvirt,zhlcindy/libvirt-1.1.4-maintain,wiedi/libvirt,novel/fbsd-libvirt,iam-TJ/libvirt,bjzhang/libvirt,iam-TJ/libvirt,jardasgit/libvirt,bjzhang/libvirt,dumbbell/libvirt,olafhering/libvirt,wiedi/libvirt,foomango/libvirt,dumbbell/libvirt,jfehlig/libvirt,wiedi/libvirt,danwent/libvirt-ovs,wiedi/libvirt,jeckersb/libvirt,leilihh/libvirt,elmarco/libvirt,usc-isi/libvirt,jeckersb/libvirt,rbu/libvirt,andreabolognani/libvirt,olafhering/libvirt,warewolf/libvirt,warewolf/libvirt,siboulet/libvirt-openvz,foomango/libvirt,novel/fbsd-libvirt,jardasgit/libvirt,trainstack/libvirt,andreabolognani/libvirt,trainstack/libvirt,jeckersb/libvirt,taget/libvirt,soulxu/libvirt-xuhj,leilihh/libvirt,eskultety/libvirt,danwent/libvirt-ovs,bjzhang/libvirt,danwent/libvirt-ovs,fabianfreyer/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,cbosdo/libvirt,datto/libvirt,novel/fbsd-libvirt,novel/fbsd-libvirt,novel/fbsd-libvirt,trainstack/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,eskultety/libvirt,zippy2/libvirt,warewolf/libvirt,kantai/libvirt-vfork,dumbbell/libvirt,amery/libvirt-vserver,sshah-solarflare/Libvirt-PCI-passthrough-,libvirt/libvirt,danwent/libvirt-ovs