cgroup updates: fix several bugs
cgroup updates: fix several bugs

1. add cgroup_get_subsys_abspath() which returns the absolute
path for a subsystem mount, and use that where needed to actually
set cgroup values

2. cgroup_devices_has_{allow,deny}: don't mix int and boolean
values.  Also, accept 'a *:* rwm" as any whitelist entry for
has_allow().

3. subsys_lists_match(): fix an off-by-one error in calculating
updated oldlen.  (we need to keep the extra char for '\0')

4. return -1, not 0, if lxc_cgroup_attach fails to open
/proc/self/cgroup.

Signed-off-by: Ubuntu <24bf68e341ce0fbd9259a5d51feed79682ea4eba@ip-10-181-158-15.ec2.internal>

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