????????????????????????£?

# Last Modified: Fri Feb  1 20:06:09 2013                                 
   #include <tunables/global>
 
  /home/lei/apparmor-helper/demoexe {
     #include <abstractions/base>
 
  }

??????????????????enforcement??????????????軔????????????

# Last Modified: Fri Feb  1 20:06:09 2013                                 
   #include <tunables/global>
 
  /home/lei/apparmor-helper/demoexe  flags=(complain){
     #include <abstractions/base>
 
  }

??????????????????????·??????????????????????????????

??????????????????????????????????????????????????м????

/home/lei/apparmor-helper/data rw??
set rlimit stack<=1M??

????????????????

sudo /etc/init.d/apparmor reload

??????????????????????????????????Ч??

??????????????????????д??????????????

?????????????????????apparmor?????е????С??????????????????????????к???????????????Щ????????????????????????????????????о?apparmor????????????????????????????

??????????????http://www.cnblogs.com/-Lei/archive/2013/02/24/2923947.html