summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-07-30 10:42:20 +0300
committerTimo Teras <timo.teras@iki.fi>2009-07-30 10:42:20 +0300
commit5b48b855600aa316e3c9385e998c68ad757794a2 (patch)
tree05a0c84623a1360a513aa13f4e6192e969ea5060 /src/apk_database.h
parent60c668f1dccc77800548ec54587724ee9e61f4e3 (diff)
downloadapk-tools-5b48b855600aa316e3c9385e998c68ad757794a2.tar.gz
apk-tools-5b48b855600aa316e3c9385e998c68ad757794a2.tar.bz2
apk-tools-5b48b855600aa316e3c9385e998c68ad757794a2.tar.xz
apk-tools-5b48b855600aa316e3c9385e998c68ad757794a2.zip
audit: protection mask for "symlinks only"
and use it for /etc/init.d by default. fixes #99.
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index 35b0da1..241719d 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -37,6 +37,7 @@ struct apk_db_file {
};
#define APK_DBDIRF_PROTECTED 0x0001
+#define APK_DBDIRF_SYMLINKS_ONLY 0x0002
struct apk_db_dir {
apk_hash_node hash_node;