mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 22:35:35 +00:00
parser: Move policy cache functionality into policy_cache.c
Signed-off-by: John Johansen <john.johansen@canonical.com> [tyhicks: Fixed build failures] [tyhicks: Fixed bug where a warning was being printed when it shouldn't] [tyhicks: Forward ported to trunk] Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
This commit is contained in:
committed by
Tyler Hicks
parent
4970d40e0d
commit
2a082ee543
@@ -41,5 +41,10 @@ void update_mru_tstamp(FILE *file, const char *path);
|
||||
bool valid_cached_file_version(const char *cachename);
|
||||
int clear_cache_files(const char *path);
|
||||
int create_cache(const char *cachedir, const char *path, const char *features);
|
||||
char *cache_filename(const char *cacheloc, const char *basename);
|
||||
void valid_read_cache(const char *cachename);
|
||||
int cache_hit(const char *cachename);
|
||||
int setup_cache_tmp(const char **cachetmpname, const char *cachename);
|
||||
void install_cache(const char *cachetmpname, const char *cachename);
|
||||
|
||||
#endif /* __AA_POLICY_CACHE_H */
|
||||
|
Reference in New Issue
Block a user