2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 22:35:35 +00:00

Update apparmor_kernel_development_guide

John Johansen
2018-10-02 01:47:54 +00:00
parent ce85cf0220
commit ec5b2226e6

@@ -5,13 +5,13 @@
- [Kernel Development Guide](apparmor_kernel_development_guide) - [Kernel Development Guide](apparmor_kernel_development_guide)
- [Policy Development Guide](aparmor_policy_development_guide) - [Policy Development Guide](aparmor_policy_development_guide)
# General code notes # ```General code notes```
- aa_ : prefix is used to namespace apparmor fns that are visible. - aa_ : prefix is used to namespace apparmor fns that are visible.
- __XXX: leading underscores indicates fn needs to be used within locking or other special conditions - __XXX: leading underscores indicates fn needs to be used within locking or other special conditions
- AA_BUG(): is used in new code to check (when debug is on) and document preconditions. Not all code has been converted to using this convention. - AA_BUG(): is used in new code to check (when debug is on) and document preconditions. Not all code has been converted to using this convention.
# Layout # ```Layout```
AppArmor is largely self contained in AppArmor is largely self contained in
- security/apparmor/ - security/apparmor/