Apparmor??Linux????е????????????
???????????? ???????[ 2013/3/5 9:39:35 ] ????????
????AppArmor
????????????о?OJ??oline judge??????????????????????????о?Linux???????????????????Apparmor??????????????
????AppArmor(Application Armor)??Linux????????????飬AppArmor???????????????????????????????????????????????????????????????AppArmor????SELinux??????????????????????????????????????????д????????Щ???????????????????????????Unix????????????????????AppArmor?????????????????????????????2.6?汾??Linux????С?
??????Ubuntu???????Apparmor?? ??????????л?????????????????????????????????????????????????в????????????λ?????
?????????????????????
????Apparmor?????????????????????
????AppArmor's unique security model is to bind access control attributes to programs rather than to users.
???????????????????????·???/home/lei/demoexe????????Apparmor??????з??????????????????????????????????????д????????????????????home.lei.demoexe???????????????????Apparmor??????????????????£?/etc/apparmor.d??????????????????????????????????????????????????demoexe??????????????????????Ч??
?????????????????
????Apparmor?????????????enforcement??complain/learning
????Enforcement – ?????????£???????????г???????????????????У????????Υ????Щ?????????????????????????
????Complain – ?????????£???????????????????????????У?Apparmor??????????????м??????????????д?????????????????????????????Apparmor??????????????????????????м????
????????complain???????????????????????????????——????????????????????????????????????????????????????????????????????????????????????????????????
?????????????????????????????????????????????????
?????????????????????????
????Apparmor??????????ж?????????????????????????????
??????1???????????????
????Apparmor?????????????????????????μ???????з?????????????????????????
r |
Read mode |
w |
Write mode (mutually exclusive toa) |
a |
Append mode (mutually exclusive tow) |
k |
File locking mode |
l |
Link mode |
linkfile->target |
Link pair rule (cannot be combined with other access modes) |
???????????д????????????????????п????x?????????г???……
??????????????е?д????
?????? /tmp r?? (??????/tmp???μ???????ж??)
???????????????????????г?????????????????????????е??????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11