cmake可见性和AppArmor示例
This commit is contained in:
parent
0eeb4a7bb6
commit
4b4b933e3d
19 changed files with 661 additions and 0 deletions
11
AppArmor/demo1/profile.elf
Normal file
11
AppArmor/demo1/profile.elf
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
abi <abi/4.0>,
|
||||
|
||||
/home/fnzhang/Project/examples/AppArmor/demo1/demo_app flags=(enforce) {
|
||||
/home/fnzhang/Project/examples/AppArmor/demo1/demo_app r,
|
||||
/lib/** rm,
|
||||
/usr/lib/** rm,
|
||||
/usr/lib64/** rm,
|
||||
/etc/ld.so.cache r,
|
||||
/tmp/demo_elf.log rw,
|
||||
deny /etc/shadow r,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue