projects
/
platform
/
core
/
security
/
key-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5a4d79
)
Use "/tmp" sqlcipher tmp dir as top priority
43/63943/3
accepted/tizen/common/20160329.143039
accepted/tizen/ivi/20160405.010159
accepted/tizen/mobile/20160405.010056
accepted/tizen/tv/20160405.010122
accepted/tizen/wearable/20160405.010134
submit/tizen/20160329.070220
author
Kyungwook Tak
<k.tak@samsung.com>
Tue, 29 Mar 2016 02:43:54 +0000
(11:43 +0900)
committer
kyungwook tak
<k.tak@samsung.com>
Tue, 29 Mar 2016 03:51:07 +0000
(20:51 -0700)
[Reason]
Original top priority tmp dir was /var/tmp(->/opt/var/tmp)
which is labeled as "_" so not available to write.
[Solution]
Use "/tmp" instead
[Verification]
Run security-tests
Change-Id: I509bedfec48a0ecf8672c6219ad7df2d565e380f
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
src/manager/sqlcipher/sqlcipher.c
patch
|
blob
|
history
diff --git
a/src/manager/sqlcipher/sqlcipher.c
b/src/manager/sqlcipher/sqlcipher.c
index
f9cf4e2
..
3d7f667
100644
(file)
--- a/
src/manager/sqlcipher/sqlcipher.c
+++ b/
src/manager/sqlcipher/sqlcipher.c
@@
-31329,9
+31329,9
@@
static const char *unixTempFileDir(void){
static const char *azDirs[] = {
0,
0,
+ "/tmp",
"/var/tmp",
"/usr/tmp",
- "/tmp",
0 /* List terminator */
};
unsigned int i;