cmake可见性和AppArmor示例

This commit is contained in:
NoDistanceY 2026-09-03 10:39:21 +08:00
commit 4b4b933e3d
19 changed files with 661 additions and 0 deletions

View 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,
}