diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-07-16 14:44:15 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-07-16 14:44:15 +0300 |
commit | ea5b08d1d574ae90ad6347a4d2f0a69bb656c7af (patch) | |
tree | af262b5e75472a38ff9f618afa71220ac8349698 /src/ver.c | |
parent | 5aa69984595c8f63899a39cbeae8c86913bfb2d2 (diff) | |
download | apk-tools-ea5b08d1d574ae90ad6347a4d2f0a69bb656c7af.tar.gz apk-tools-ea5b08d1d574ae90ad6347a4d2f0a69bb656c7af.tar.bz2 apk-tools-ea5b08d1d574ae90ad6347a4d2f0a69bb656c7af.tar.xz apk-tools-ea5b08d1d574ae90ad6347a4d2f0a69bb656c7af.zip |
audit: fix protection mask of non-db directories
If a directory has protection mask, but does not exist in db, we
do not handle it right unless we calculate the protection mask by
hand, or create temporary db dir entry for it. For simplicity create
always the db dir entry -- depending on audit type we likely need
to create it anyway. This commit also caches the db dir entry in the
audit tree context to avoid duplicate lookups. ref #1241.
Diffstat (limited to 'src/ver.c')
0 files changed, 0 insertions, 0 deletions