DivestOS/Patches/LineageOS-14.1/android_external_sqlite/0001-Secure_Delete.patch

25 lines
788 B
Diff
Raw Normal View History

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2017-05-29 20:19:40 -04:00
From: Daniel Micay <danielmicay@gmail.com>
2016-12-27 13:37:38 -05:00
Date: Sun, 18 Dec 2016 09:30:44 -0500
Subject: [PATCH] Enable secure_delete by default
Change-Id: Ic2604b78f57998c001df9737ab0fdec2298122c4
---
dist/Android.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dist/Android.mk b/dist/Android.mk
index d7bba41..e886945 100644
2016-12-27 13:37:38 -05:00
--- a/dist/Android.mk
+++ b/dist/Android.mk
@@ -28,7 +28,8 @@ minimal_sqlite_flags := \
2016-12-27 13:37:38 -05:00
-DSQLITE_OMIT_BUILTIN_TEST \
-DSQLITE_OMIT_COMPILEOPTION_DIAGS \
-DSQLITE_OMIT_LOAD_EXTENSION \
- -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600
+ -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 \
+ -DSQLITE_SECURE_DELETE
device_sqlite_flags := $(minimal_sqlite_flags) \
-DSQLITE_ENABLE_ICU \