2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-29 13:28:19 +00:00

Update apparmor_kernel_development_guide_notifications

John Johansen 2018-12-04 05:00:56 +00:00
parent 1c5b056ab5
commit e2f05dc609

@ -95,6 +95,13 @@ down grading prompt
## ???
audit structs
# type cache
To avoid repeating prompt messages to userspace. Answers are pushed into the type cache. However because we don't have a true type for the prompt we use a hash of the prompt parameters. That is unique and guaranteed not to overlap actual types in the cache.
Because the cache ages and sees replacement as new permissions are cached it is possible userspace will see the same prompt again if the profile doing the query is not replaced. Just how long this will take on average will depend on the size of the type cache.
## user space api