mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-05 00:41:03 +01:00
![]() The errno values libapparmor's aa_policy_cache_new() uses to indicate when the cache directory does not exist and when an existing, invalid cache already exists needed to be separated out. They were both ENOENT but now the latter situation uses EEXIST. libapparmor also needed to be updated to not print an error message to the syslog from aa_policy_cache_new() when the max_caches parameter is 0, indicating that a new cache should not be created, and the cache directory does not exist. This is an error situation but a debug message is more appropriate. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Acked-by: John Johansen <john.johansen@canonical.com> |
||
---|---|---|
.. | ||
libapparmor |