Daichi Hirono
6d0e37cf1b
Merge "Stops the loop when all files are closed." am: d8d7fc6717 am: 920b02906f
...
am: ac982d2644
Change-Id: I2701ed231c58f2adeebfba3c6302586432f19a59
2016-11-17 03:15:08 +00:00
Daichi Hirono
ac982d2644
Merge "Stops the loop when all files are closed." am: d8d7fc6717
...
am: 920b02906f
Change-Id: If2d271322d717b2fc530dcc11d7b341d886f1212
2016-11-17 03:06:38 +00:00
Daichi Hirono
920b02906f
Merge "Stops the loop when all files are closed."
...
am: d8d7fc6717
Change-Id: If42cde1e5e4026915e5bc2e773ac6ff46aa9a8d9
2016-11-17 02:58:37 +00:00
Treehugger Robot
d8d7fc6717
Merge "Stops the loop when all files are closed."
2016-11-17 02:49:05 +00:00
Daichi Hirono
30e6808895
Stops the loop when all files are closed.
...
The CL changes FuseBridgeLoop so that it exits when all files opened on
the AppFuse mount point are closed. Note that the client code will
unmount the FUSE mount point after the loop exits.
Bug: 32260320
Test: libappfuse_test
Change-Id: I4965fbb48de8a280c6306e70757a07376b1956a7
2016-11-17 09:10:53 +09:00
Josh Gao
e6a6e6c80a
Merge "adb: add sysdeps/chrono.h for chrono literals on Win32." am: e631e470e0 am: 27bbe8bfb2
...
am: c98fa1a51c
Change-Id: Id5bacbbd65da901e2d7918c44dc5c578dd8b809e
2016-11-16 22:45:01 +00:00
Josh Gao
c98fa1a51c
Merge "adb: add sysdeps/chrono.h for chrono literals on Win32." am: e631e470e0
...
am: 27bbe8bfb2
Change-Id: Ib5069a8811f8c5e4b21cc849f9e57c4c4d488276
2016-11-16 22:37:29 +00:00
Josh Gao
27bbe8bfb2
Merge "adb: add sysdeps/chrono.h for chrono literals on Win32."
...
am: e631e470e0
Change-Id: Ie62e995d9790bf7539f3f9fca05de7b4b359dc7c
2016-11-16 22:29:30 +00:00
Jeff Sharkey
ff5f7a6e05
Merge "Only restorecon CE storage after unlocked." am: cfd12251bd am: a4f66b6623
...
am: dd8f40625d
Change-Id: I7a607cf04865431a5b5c767ebdc6e6ded1619612
2016-11-16 22:29:30 +00:00
Jeff Sharkey
dd8f40625d
Merge "Only restorecon CE storage after unlocked." am: cfd12251bd
...
am: a4f66b6623
Change-Id: Ibfcd9cd102fd6cf46f795865a1dc3259471eff78
2016-11-16 22:22:29 +00:00
Treehugger Robot
e631e470e0
Merge "adb: add sysdeps/chrono.h for chrono literals on Win32."
2016-11-16 22:21:41 +00:00
Jeff Sharkey
a4f66b6623
Merge "Only restorecon CE storage after unlocked."
...
am: cfd12251bd
Change-Id: If1774db6602436c7c35c72a758155df5c59481cb
2016-11-16 22:14:29 +00:00
Treehugger Robot
cfd12251bd
Merge "Only restorecon CE storage after unlocked."
2016-11-16 22:04:50 +00:00
Jeff Sharkey
d1d3bdd16f
Only restorecon CE storage after unlocked.
...
On FBE devices, the filenames inside credential-encrypted directories
are mangled until the key is installed. This means the initial
restorecon at boot needs to skip these directories until the keys
are installed.
This CL changes the implementation of the "restorecon_recursive"
built-in command to use the new SKIPCE flag to avoid labeling files
in CE directories. vold will request a restorecon when the keys
are actually installed.
(cherrypicked from commit 1635afe83d )
Bug: 30126557
Test: Cherry-picked from master
Change-Id: I320584574a4d712c493b5bbd8a79b56c0c04aa58
2016-11-16 21:19:17 +00:00
Prashant Malani
019eab30ac
fs_mgr: Fix disable-verity for verifyatboot partitions am: dd78ae75ff
...
am: afa252cc40
Change-Id: I464a044ba086aa26d3f5afd799c3c76043f833cb
2016-11-16 21:15:08 +00:00
Prashant Malani
afa252cc40
fs_mgr: Fix disable-verity for verifyatboot partitions
...
am: dd78ae75ff
Change-Id: Ib59af63d80d92a04c5dbc16e5d81cd261475f064
2016-11-16 21:07:23 +00:00
Elliott Hughes
ddf87aadb3
Merge "Switch adb over to <chrono>." am: 59826ddee5 am: 2278b50f24
...
am: bd51a0d30d
Change-Id: I5371f94c6b5adc626bdd5bc322b183dcb6ab40f3
2016-11-16 20:29:22 +00:00
Elliott Hughes
bd51a0d30d
Merge "Switch adb over to <chrono>." am: 59826ddee5
...
am: 2278b50f24
Change-Id: I91e3f9d5784d3c7110a605115b247f71f68d6fe3
2016-11-16 20:21:51 +00:00
Josh Gao
4602adbcd3
adb: add sysdeps/chrono.h for chrono literals on Win32.
...
Bug: http://b/32878766
Test: mma
Change-Id: Iaa89d4eadf07e63d6d7205057435a6c7fb5d4ec5
2016-11-16 12:14:59 -08:00
Elliott Hughes
2278b50f24
Merge "Switch adb over to <chrono>."
...
am: 59826ddee5
Change-Id: I673ce3c9f4a104df3197ec7120a126155e18918e
2016-11-16 20:14:20 +00:00
Treehugger Robot
59826ddee5
Merge "Switch adb over to <chrono>."
2016-11-16 20:05:52 +00:00
Elliott Hughes
dbe91eee26
Switch adb over to <chrono>.
...
Clearer code, and lets us lose some more portability cruft.
Bug: http://b/32878766
Test: manual
Change-Id: Ie44928bbf8d68a74127aaf76e7e0060e25fa2cc8
2016-11-16 09:12:12 -08:00
Daichi Hirono
2b73980091
Merge "Use FUSE_COMPAT_22_INIT_OUT_SIZE always as the resopnse size of FUSE_INIT." am: 0673412bb9 am: 357876455c
...
am: 5f7ed2dd60
Change-Id: I911e9d23eefbadb703b4e285bb61269086f4c147
2016-11-16 08:10:26 +00:00
Daichi Hirono
5f7ed2dd60
Merge "Use FUSE_COMPAT_22_INIT_OUT_SIZE always as the resopnse size of FUSE_INIT." am: 0673412bb9
...
am: 357876455c
Change-Id: I242c3f8f7e65c78446bb145db6035e28287cd917
2016-11-16 08:02:24 +00:00
Daichi Hirono
357876455c
Merge "Use FUSE_COMPAT_22_INIT_OUT_SIZE always as the resopnse size of FUSE_INIT."
...
am: 0673412bb9
Change-Id: I85e6be67fdd5285c2abc26a097301c7136a676f9
2016-11-16 07:54:10 +00:00
Treehugger Robot
0673412bb9
Merge "Use FUSE_COMPAT_22_INIT_OUT_SIZE always as the resopnse size of FUSE_INIT."
2016-11-16 07:46:44 +00:00
Tao Bao
d76eb17eef
Merge "Update to new minui text API" am: 335502453d -s ours am: b6a8454cd5
...
am: 11c19d9b15
Change-Id: I127c9ca62f59dff9c03d9e48a30649e7806e831c
2016-11-16 07:16:17 +00:00
Tao Bao
11c19d9b15
Merge "Update to new minui text API" am: 335502453d -s ours
...
am: b6a8454cd5
Change-Id: I29a733b45b7393854363b4d3cf82462bad04dbf0
2016-11-16 07:08:45 +00:00
Tao Bao
b6a8454cd5
Merge "Update to new minui text API"
...
am: 335502453d -s ours
Change-Id: Iebbb0870b47a14b1636f2809f8c8940bf665d19f
2016-11-16 07:00:47 +00:00
Tao Bao
335502453d
Merge "Update to new minui text API"
2016-11-16 05:52:18 +00:00
Daichi Hirono
b70965cfce
Merge "Use FUSE_COMPAT_22_INIT_OUT_SIZE always if available." am: c884f80755 am: c0a79ff4cf
...
am: 401f8b6935
Change-Id: Ief634c490768c73a2c328a1ea746c29fff78dc52
2016-11-16 04:24:55 +00:00
Daichi Hirono
401f8b6935
Merge "Use FUSE_COMPAT_22_INIT_OUT_SIZE always if available." am: c884f80755
...
am: c0a79ff4cf
Change-Id: Ie4d71460a86e8504cf32a65b143d8d7a32248cca
2016-11-16 04:17:55 +00:00
Daichi Hirono
c0a79ff4cf
Merge "Use FUSE_COMPAT_22_INIT_OUT_SIZE always if available."
...
am: c884f80755
Change-Id: I6faf8eb8c92f3eced1493eba0d3fe61834914c97
2016-11-16 04:09:53 +00:00
Treehugger Robot
c884f80755
Merge "Use FUSE_COMPAT_22_INIT_OUT_SIZE always if available."
2016-11-16 03:57:46 +00:00
Ting-Yuan Huang
ec111ad6c1
Merge "init: fix memory leaks" am: a73ba879b1 am: 1700a162d5
...
am: fde3b5b95a
Change-Id: I132d7652c1b89089b9b523501b7da6c958a68c8d
2016-11-16 03:47:12 +00:00
Ting-Yuan Huang
fde3b5b95a
Merge "init: fix memory leaks" am: a73ba879b1
...
am: 1700a162d5
Change-Id: I94dd82e6b7dd9dcb4ebd247d553013dd7e5f98db
2016-11-16 03:39:37 +00:00
Ting-Yuan Huang
1700a162d5
Merge "init: fix memory leaks"
...
am: a73ba879b1
Change-Id: I3375372ddc23b7440edab0107ff1cbe34d550865
2016-11-16 03:32:40 +00:00
Ting-Yuan Huang
cc187be646
Merge "toolbox: fix memory leak" am: e3bd4a2fec am: 32bf66a168
...
am: 7fef2a4b20
Change-Id: I13ae42be363034676466a5eb4e27257c63b7d23e
2016-11-16 03:32:21 +00:00
Treehugger Robot
a73ba879b1
Merge "init: fix memory leaks"
2016-11-16 03:25:34 +00:00
Ting-Yuan Huang
7fef2a4b20
Merge "toolbox: fix memory leak" am: e3bd4a2fec
...
am: 32bf66a168
Change-Id: I0d6d94fdfb7f7484eb7e6ea39a1d38bf8ce4a88a
2016-11-16 03:25:21 +00:00
Ting-Yuan Huang
32bf66a168
Merge "toolbox: fix memory leak"
...
am: e3bd4a2fec
Change-Id: I1c3d0e7308acf2af333b9a41a73b2a4120a3cc0b
2016-11-16 03:17:20 +00:00
Treehugger Robot
e3bd4a2fec
Merge "toolbox: fix memory leak"
2016-11-16 03:10:38 +00:00
Daichi Hirono
16d0b426a3
Use FUSE_COMPAT_22_INIT_OUT_SIZE always as the resopnse size of FUSE_INIT.
...
We return the minor version number 15 to FUSE_INIT since we don't handle
BATCH_FORGET. Thus the kernel does not accept the latest size of
fuse_init_out. Instead we need to use FUSE_COMPAT_22_INIT_OUT_SIZE.
Previously the code unintentionally used FUSE_COMPAT_22_INIT_OUT_SIZE always
because we override the minor version out->minor to 15. Because sdcard.c shares
the buffer for |in| and |out|, it overrides the version number of in->minnor as
well.
The if closure in the previous code "if (in->minor <= 22)" was always true. The
CL removes the if closure to explicitly use FUSE_COMPAT_22_INIT_OUT_SIZE always.
Bug: 32779923
Test: Manually boot Android and check if the storage shows up in Settings app.
Change-Id: Ibbc50da7fb82be148acfc5f1a3d46fefbe211f9d
2016-11-16 01:58:28 +00:00
Daichi Hirono
471ad6a59d
Use FUSE_COMPAT_22_INIT_OUT_SIZE always if available.
...
We return the minor version number 15 to FUSE_INIT since we don't handle
BATCH_FORGET. Thus the kernel does not accept the latest size of
fuse_init_out. Instead we need to use FUSE_COMPAT_22_INIT_OUT_SIZE.
Bug: 32779923
Test: libappfuse_test
Change-Id: I5c979d0e45344ca8adfe3ad3f4a9561442abcb3a
2016-11-16 01:56:00 +00:00
Ting-Yuan Huang
09bd41d097
init: fix memory leaks
...
It's possible that node is not freed before return.
Test: make WITH_TIDY=1 mmma system/core/init
Change-Id: I648eea9dda006d2b2239e169785190817ad31352
2016-11-15 16:55:50 -08:00
Mark Salyzyn
dbb947de82
Merge "liblog: logprint: report truncated event log contents if error" am: 9258348219 am: 4a9419f627
...
am: f8768b6402
Change-Id: I20479d2c9a277c52594de3657ab950feb2740a29
2016-11-16 00:40:28 +00:00
Mark Salyzyn
f8768b6402
Merge "liblog: logprint: report truncated event log contents if error" am: 9258348219
...
am: 4a9419f627
Change-Id: I9313e192f43a475ebc57ef943d4c01274fc0f785
2016-11-16 00:32:59 +00:00
Ting-Yuan Huang
58da81d987
toolbox: fix memory leak
...
free img
Test: make WITH_TIDY=1 mmma system/core/toolbox
Change-Id: I2f8feff0eddca763ee4e7fc9867480af60c8a911
2016-11-15 16:27:03 -08:00
Mark Salyzyn
4a9419f627
Merge "liblog: logprint: report truncated event log contents if error"
...
am: 9258348219
Change-Id: I8b49452b92a65f5cf1cf92ec1d3b776d954243a6
2016-11-16 00:26:00 +00:00
Mark Salyzyn
9258348219
Merge "liblog: logprint: report truncated event log contents if error"
2016-11-16 00:18:02 +00:00