use proper config item depending on which lsm is enabled
use proper config item depending on which lsm is enabled

On a system with AppArmor enabled, if lxc.se_context is configured but
lxc.aa_profile is not (because the user just wants to use the default
AppArmor profile) lxc was passing the lxc.se_context to be set as the
new AppArmor profile. Determine which configuration item to use based
on which lsm is enabled.

Signed-off-by: Dwight Engen <1793d65cf7b9eefb2bb8f5bee9a4b8ba782c26da@oracle.com>
Signed-off-by: Serge Hallyn <3df611b026e4639bee8aef7a4beb2e39fcebb313@ubuntu.com>

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