OSDN Git Service

android-x86/system-vold.git
8 years agoMerge "Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev...
Paul Crowley [Tue, 10 May 2016 22:22:46 +0000 (22:22 +0000)]
Merge "Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev am: cfa03d4a4c am: 44ddebaac0" into nyc-mr1-dev-plus-aosp
am: fc592066a7

* commit 'fc592066a7f9a15b39a2184bd8f919ff14bfca2b':

Change-Id: Icbdbc5adda30a28f65f7f1a7a6719bdb5ff99dd5

8 years agoMerge "e4crypt_is_native has been moved into system/extras." into nyc-dev am: cfa03d4...
Paul Crowley [Tue, 10 May 2016 22:22:46 +0000 (22:22 +0000)]
Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev am: cfa03d4a4c am: 269bdbcab1
am: b0f2d02d49

* commit 'b0f2d02d49dcb526426b2b590a53b80ff47c785d':
  e4crypt_is_native has been moved into system/extras.

Change-Id: Ib6e4a66c0081439670b6b03fd8939d911faf14d3

8 years agoMerge "Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev...
Android Build Merger (Role) [Tue, 10 May 2016 22:20:17 +0000 (22:20 +0000)]
Merge "Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev am: cfa03d4a4c am: 44ddebaac0" into nyc-mr1-dev-plus-aosp

8 years agoMerge "e4crypt_is_native has been moved into system/extras." into nyc-dev am: cfa03d4a4c
Paul Crowley [Tue, 10 May 2016 22:20:11 +0000 (22:20 +0000)]
Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev am: cfa03d4a4c
am: 269bdbcab1

* commit '269bdbcab18aa8c24a637937d885c045f408a12e':
  e4crypt_is_native has been moved into system/extras.

Change-Id: I7f08893a1e21891d35578180cbb66a4db2d91c15

8 years agoMerge "e4crypt_is_native has been moved into system/extras." into nyc-dev am: cfa03d4a4c
Paul Crowley [Tue, 10 May 2016 22:20:05 +0000 (22:20 +0000)]
Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev am: cfa03d4a4c
am: 44ddebaac0

* commit '44ddebaac0465a9a88b68ca04bbb69b576a0d067':
  e4crypt_is_native has been moved into system/extras.

Change-Id: I02d14adeed72858771b5838e618b1fa8735ca7b1

8 years agoMerge "e4crypt_is_native has been moved into system/extras." into nyc-dev
Paul Crowley [Tue, 10 May 2016 22:17:38 +0000 (22:17 +0000)]
Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev
am: cfa03d4a4c

* commit 'cfa03d4a4c53acf41dca2c41a2efd00de06043bb':
  e4crypt_is_native has been moved into system/extras.

Change-Id: I345475c44fb2d8812a25c9f2195c748cddc55bfe

8 years agoMerge "e4crypt_is_native has been moved into system/extras." into nyc-dev
Paul Crowley [Tue, 10 May 2016 22:17:33 +0000 (22:17 +0000)]
Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev
am: cfa03d4a4c

* commit 'cfa03d4a4c53acf41dca2c41a2efd00de06043bb':
  e4crypt_is_native has been moved into system/extras.

Change-Id: Id199621d0e5544acadc4a4d4308a80c47b9ea3c8

8 years agoMerge "e4crypt_is_native has been moved into system/extras." into nyc-dev
Paul Crowley [Tue, 10 May 2016 22:12:49 +0000 (22:12 +0000)]
Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev

8 years agoMerge "Revert "Two phases to set the password for disk encryption" am: d402389290...
Paul Crowley [Tue, 10 May 2016 21:25:31 +0000 (21:25 +0000)]
Merge "Revert "Two phases to set the password for disk encryption" am: d402389290 am: 26642bf7bf" into nyc-mr1-dev-plus-aosp
am: 8d5165ab0f

* commit '8d5165ab0fbf0dcf3e639bb1dbdc11ed6c152f8b':

Change-Id: I412b2816fb1fcf4fbefc9a72c8d6852a79d1eace

8 years agoRevert "Two phases to set the password for disk encryption" am: d402389290 am: 2f8b7d354c
Paul Crowley [Tue, 10 May 2016 21:25:30 +0000 (21:25 +0000)]
Revert "Two phases to set the password for disk encryption" am: d402389290 am: 2f8b7d354c
am: 6a87b09b32

* commit '6a87b09b32adc739b524002354b21bf235ff2153':
  Revert "Two phases to set the password for disk encryption"

Change-Id: Ic7eec73c5fba36a17e3303f2cf06aee1a7435913

8 years agoMerge "Revert "Two phases to set the password for disk encryption" am: d402389290...
Android Build Merger (Role) [Tue, 10 May 2016 21:22:36 +0000 (21:22 +0000)]
Merge "Revert "Two phases to set the password for disk encryption" am: d402389290 am: 26642bf7bf" into nyc-mr1-dev-plus-aosp

8 years agoRevert "Two phases to set the password for disk encryption" am: d402389290
Paul Crowley [Tue, 10 May 2016 21:22:31 +0000 (21:22 +0000)]
Revert "Two phases to set the password for disk encryption" am: d402389290
am: 26642bf7bf

* commit '26642bf7bf8f645f3d10fe0d36149d5f8b3b92fb':
  Revert "Two phases to set the password for disk encryption"

Change-Id: If0ecc2132c5012ccc9c28912170b2e91a451ac99

8 years agoRevert "Two phases to set the password for disk encryption" am: d402389290
Paul Crowley [Tue, 10 May 2016 21:22:27 +0000 (21:22 +0000)]
Revert "Two phases to set the password for disk encryption" am: d402389290
am: 2f8b7d354c

* commit '2f8b7d354c59b74cec719531728523bf19f88dce':
  Revert "Two phases to set the password for disk encryption"

Change-Id: I89687b6a813caca0c214787d3e28d4e4106e7fe2

8 years agoRevert "Two phases to set the password for disk encryption"
Paul Crowley [Tue, 10 May 2016 21:19:51 +0000 (21:19 +0000)]
Revert "Two phases to set the password for disk encryption"
am: d402389290

* commit 'd402389290eeef86be7eb9241e20fdd125d44eb1':
  Revert "Two phases to set the password for disk encryption"

Change-Id: I09735798116dd4e37dda60651dc085a09090a99d

8 years agoRevert "Two phases to set the password for disk encryption"
Paul Crowley [Tue, 10 May 2016 21:19:47 +0000 (21:19 +0000)]
Revert "Two phases to set the password for disk encryption"
am: d402389290

* commit 'd402389290eeef86be7eb9241e20fdd125d44eb1':
  Revert "Two phases to set the password for disk encryption"

Change-Id: I53a3804fc7bff9c99840aeee36fc4b7ff8e46ac1

8 years agoRevert "Two phases to set the password for disk encryption"
Paul Crowley [Tue, 10 May 2016 20:36:43 +0000 (20:36 +0000)]
Revert "Two phases to set the password for disk encryption"

This reverts commit 92c5eeb46779f0fa1c9e6db6b0d632d960cbb2e4.

Bug: 28694324
Change-Id: Ibbbaff287f4dd28f4a13e122a3617987a8875a44

8 years agoe4crypt_is_native has been moved into system/extras.
Paul Crowley [Wed, 27 Apr 2016 17:25:12 +0000 (10:25 -0700)]
e4crypt_is_native has been moved into system/extras.

Bug: 28318405
Change-Id: Id962764cf7fb5f58b769bf99aeb6d3d69cb66991

8 years agoTwo phases to set the password for disk encryption am: 92c5eeb467 am: 4e44272c3d
Paul Crowley [Mon, 9 May 2016 22:11:06 +0000 (22:11 +0000)]
Two phases to set the password for disk encryption am: 92c5eeb467 am: 4e44272c3d
am: a6bc1fea18

* commit 'a6bc1fea1853f917d57f78233fe312ec19343a2f':

Change-Id: Ie434a2b1ebf510ebc7e76f234eb305dbda65f282

8 years agoTwo phases to set the password for disk encryption am: 92c5eeb467 am: bc7cfa8fcc
Paul Crowley [Mon, 9 May 2016 22:11:06 +0000 (22:11 +0000)]
Two phases to set the password for disk encryption am: 92c5eeb467 am: bc7cfa8fcc
am: c7e803bcc9

* commit 'c7e803bcc913e70f4cf8047e16f4f758d080c3fe':
  Two phases to set the password for disk encryption

Change-Id: I09dedebcb3dd91b0a045f1c920d43c9fc7a756cb

8 years agoTwo phases to set the password for disk encryption am: 92c5eeb467
Paul Crowley [Mon, 9 May 2016 22:00:50 +0000 (22:00 +0000)]
Two phases to set the password for disk encryption am: 92c5eeb467
am: 4e44272c3d

* commit '4e44272c3d1e2f5c0040acefc3812781aeea1736':

Change-Id: I0eb0825eee3faffb27736cdaf92b98983369ef47

8 years agoTwo phases to set the password for disk encryption am: 92c5eeb467
Paul Crowley [Mon, 9 May 2016 22:00:15 +0000 (22:00 +0000)]
Two phases to set the password for disk encryption am: 92c5eeb467
am: bc7cfa8fcc

* commit 'bc7cfa8fcce8b09d308a7e511c5a2d4de530676a':
  Two phases to set the password for disk encryption

Change-Id: Ifcde4025a0ce196c8208f802a6a5dfb4a24e2a0d

8 years agoTwo phases to set the password for disk encryption
Paul Crowley [Mon, 9 May 2016 21:53:23 +0000 (21:53 +0000)]
Two phases to set the password for disk encryption
am: 92c5eeb467

* commit '92c5eeb46779f0fa1c9e6db6b0d632d960cbb2e4':
  Two phases to set the password for disk encryption

Change-Id: Ie10cfc91d59f38359560682ca5e4133dc8700c12

8 years agoTwo phases to set the password for disk encryption
Paul Crowley [Mon, 9 May 2016 21:51:33 +0000 (21:51 +0000)]
Two phases to set the password for disk encryption
am: 92c5eeb467

* commit '92c5eeb46779f0fa1c9e6db6b0d632d960cbb2e4':
  Two phases to set the password for disk encryption

Change-Id: I82c1cfa2874ac4709e42f5c2047c832cbcaccb91

8 years agoTwo phases to set the password for disk encryption
Paul Crowley [Fri, 22 Apr 2016 19:09:54 +0000 (12:09 -0700)]
Two phases to set the password for disk encryption

In one phase, we make the new password work, and in the second we make
it the only one which works ("fixation"). This means that we can set
the password in Gatekeeper between these two phases, and a crash
doesn't break things. Unlocking a user automatically fixates the
presented credential.

Bug: 28154455
Change-Id: I54623c8652f0c9f72dd60388a7dc0ab2d48e81c7

8 years agoMerge "Fix google-explicit-constructor warnings."
Chih-hung Hsieh [Sat, 30 Apr 2016 00:41:49 +0000 (00:41 +0000)]
Merge "Fix google-explicit-constructor warnings."

8 years agoFix google-explicit-constructor warnings.
Chih-Hung Hsieh [Fri, 29 Apr 2016 21:42:01 +0000 (14:42 -0700)]
Fix google-explicit-constructor warnings.

Bug: 28341362
Change-Id: I30adc5ba8e977aa6626d12f0981fa580d1425a4e

8 years agoMerge "Drop caches after installing key policy to avoid cache clashes" into nyc-mr1...
Paul Lawrence [Fri, 29 Apr 2016 16:40:55 +0000 (16:40 +0000)]
Merge "Drop caches after installing key policy to avoid cache clashes" into nyc-mr1-dev am: 235e78b9ae
am: 7b6ff76185

* commit '7b6ff7618562802fc8b1fd8abf5c3e6589216ceb':
  Drop caches after installing key policy to avoid cache clashes

Change-Id: Iacc5e9d73595b3bfd328e16f2b970b4e7f7b98bc

8 years agoMerge "Drop caches after installing key policy to avoid cache clashes" into nyc-mr1-dev
Paul Lawrence [Fri, 29 Apr 2016 16:38:12 +0000 (16:38 +0000)]
Merge "Drop caches after installing key policy to avoid cache clashes" into nyc-mr1-dev
am: 235e78b9ae

* commit '235e78b9aede9d4a7f871f5064670afab5cb2d6b':
  Drop caches after installing key policy to avoid cache clashes

Change-Id: I766e87aa700bd0a1312faac33092b3a0d20b5fd1

8 years agoMerge "Drop caches after installing key policy to avoid cache clashes" into nyc-mr1-dev
Paul Lawrence [Fri, 29 Apr 2016 16:32:02 +0000 (16:32 +0000)]
Merge "Drop caches after installing key policy to avoid cache clashes" into nyc-mr1-dev

8 years agoDrop caches after installing key policy to avoid cache clashes
Paul Lawrence [Tue, 26 Apr 2016 19:50:53 +0000 (12:50 -0700)]
Drop caches after installing key policy to avoid cache clashes

Note that this is an ugly workaround for a kernel bug.

Bug: 28373400
Change-Id: Iec1ae53f4e18f06e41e8cf1fcc3ab03fc9848632

8 years agoUse a longer timeout on the disk encryption keys am: b3de337 am: 26335ed
Paul Crowley [Thu, 28 Apr 2016 01:49:40 +0000 (01:49 +0000)]
Use a longer timeout on the disk encryption keys am: b3de337 am: 26335ed
am: 1cc3cc5

* commit '1cc3cc59f6d79b59064e1021975201f086fb356d':

Change-Id: Ide61c33fd6b4338e0d56fc03ca50c96e4bae4f59

8 years agoUse a longer timeout on the disk encryption keys am: b3de337 am: 409c083
Paul Crowley [Thu, 28 Apr 2016 01:49:39 +0000 (01:49 +0000)]
Use a longer timeout on the disk encryption keys am: b3de337 am: 409c083
am: 50da911

* commit '50da911fda64205677571d9cb1d668336cfb0f7f':
  Use a longer timeout on the disk encryption keys

Change-Id: I43279eb3a1bd92839c2d742acc95cb96c920b5dd

8 years agoUse a longer timeout on the disk encryption keys am: b3de337
Paul Crowley [Thu, 28 Apr 2016 00:20:07 +0000 (00:20 +0000)]
Use a longer timeout on the disk encryption keys am: b3de337
am: 26335ed

* commit '26335ed378cd31a9c31669db8756ec317efd2e97':

Change-Id: I784a3b84675fdff4b5d228c3bc5acf6b106f5ec7

8 years agoUse a longer timeout on the disk encryption keys am: b3de337
Paul Crowley [Thu, 28 Apr 2016 00:01:44 +0000 (00:01 +0000)]
Use a longer timeout on the disk encryption keys am: b3de337
am: 409c083

* commit '409c083781f27b2924f051e8f7d130f62921ce1b':
  Use a longer timeout on the disk encryption keys

Change-Id: I87cd4f37fdca430c3449471796ef24c3cbd7c225

8 years agoUse a longer timeout on the disk encryption keys
Paul Crowley [Wed, 27 Apr 2016 23:45:26 +0000 (23:45 +0000)]
Use a longer timeout on the disk encryption keys
am: b3de337

* commit 'b3de337acd7ad07de1ed30d24fdfd628d1d8590b':
  Use a longer timeout on the disk encryption keys

Change-Id: Ie66bea62ccc5d8066a12b9a7acf26dafa4b2eaa3

8 years agoUse a longer timeout on the disk encryption keys
Paul Crowley [Wed, 27 Apr 2016 22:53:18 +0000 (22:53 +0000)]
Use a longer timeout on the disk encryption keys
am: b3de337

* commit 'b3de337acd7ad07de1ed30d24fdfd628d1d8590b':
  Use a longer timeout on the disk encryption keys

Change-Id: Ieadec9da13383361ac76bf6b79ecea948965a1d9

8 years agoUse a longer timeout on the disk encryption keys
Paul Crowley [Wed, 27 Apr 2016 19:58:41 +0000 (12:58 -0700)]
Use a longer timeout on the disk encryption keys

Avoid a timeout error by extending the time allowed between getting
the auth token and decrypting the key from five to thirty seconds.

Bug: 28398766
Change-Id: I1dbb9e0e33707e7de4c1720ad1b8e153c77094b2

8 years agoMerge "Merge "Unmount public sdcard filesystems before killing the fuse process....
John Cormie [Tue, 26 Apr 2016 16:39:00 +0000 (16:39 +0000)]
Merge "Merge "Unmount public sdcard filesystems before killing the fuse process." into nyc-dev am: a4330be am: c1428a5" into nyc-mr1-dev-plus-aosp
am: 04c341b

* commit '04c341b0ebd3e5519efd68f5bb38728ec0fe1520':

Change-Id: Ib7e296f8eb567d676ffaa482e2b3745477322fa7

8 years agoMerge "Unmount public sdcard filesystems before killing the fuse process." into nyc...
John Cormie [Tue, 26 Apr 2016 16:39:00 +0000 (16:39 +0000)]
Merge "Unmount public sdcard filesystems before killing the fuse process." into nyc-dev am: a4330be am: a54cd87
am: 206cac8

* commit '206cac88f3fed4030ea42598bf1e10e7ac8c2899':
  Unmount public sdcard filesystems before killing the fuse process.

Change-Id: Iae6070abc68ce59f5cbb839cc55ce8fde8d70e3f

8 years agoMerge "Merge "Unmount public sdcard filesystems before killing the fuse process....
Android Build Merger (Role) [Mon, 25 Apr 2016 23:59:47 +0000 (23:59 +0000)]
Merge "Merge "Unmount public sdcard filesystems before killing the fuse process." into nyc-dev am: a4330be am: c1428a5" into nyc-mr1-dev-plus-aosp

8 years agoMerge "Unmount public sdcard filesystems before killing the fuse process." into nyc...
John Cormie [Mon, 25 Apr 2016 23:59:38 +0000 (23:59 +0000)]
Merge "Unmount public sdcard filesystems before killing the fuse process." into nyc-dev am: a4330be
am: a54cd87

* commit 'a54cd8739c8d313b66354f99ed9419ccc3f6be10':
  Unmount public sdcard filesystems before killing the fuse process.

Change-Id: I11813de6b10a9a98af823443332bb07b82cc1d06

8 years agoMerge "Unmount public sdcard filesystems before killing the fuse process." into nyc...
John Cormie [Mon, 25 Apr 2016 23:59:38 +0000 (23:59 +0000)]
Merge "Unmount public sdcard filesystems before killing the fuse process." into nyc-dev am: a4330be
am: c1428a5

* commit 'c1428a51c3d343814e683e2e9864a5cfee6836a0':
  Unmount public sdcard filesystems before killing the fuse process.

Change-Id: I0b24d5c73deb67764092f7934c72ec48937e5286

8 years agoMerge "Unmount public sdcard filesystems before killing the fuse process." into nyc-dev
John Cormie [Mon, 25 Apr 2016 23:57:06 +0000 (23:57 +0000)]
Merge "Unmount public sdcard filesystems before killing the fuse process." into nyc-dev
am: a4330be

* commit 'a4330beb482c3b5decf6a6fc966e5589210130eb':
  Unmount public sdcard filesystems before killing the fuse process.

Change-Id: I294d46bb27fb6d8ac83f1041e849fd366134b6ee

8 years agoMerge "Unmount public sdcard filesystems before killing the fuse process." into nyc-dev
John Cormie [Mon, 25 Apr 2016 23:57:06 +0000 (23:57 +0000)]
Merge "Unmount public sdcard filesystems before killing the fuse process." into nyc-dev
am: a4330be

* commit 'a4330beb482c3b5decf6a6fc966e5589210130eb':
  Unmount public sdcard filesystems before killing the fuse process.

Change-Id: If9f7acd5bc77ee4ecf9eed7375881b5554e85b9a

8 years agoMerge "Unmount public sdcard filesystems before killing the fuse process." into nyc-dev
John Cormie [Mon, 25 Apr 2016 23:49:28 +0000 (23:49 +0000)]
Merge "Unmount public sdcard filesystems before killing the fuse process." into nyc-dev

8 years agoMerge "Fix resizeAsec to determine correct size"
Daniel Rosenberg [Mon, 25 Apr 2016 20:46:24 +0000 (20:46 +0000)]
Merge "Fix resizeAsec to determine correct size"

8 years agoMerge "Move vold (and sdcard childs) to foreground cpuset." into nyc-dev am: 47ff14a...
Martijn Coenen [Mon, 25 Apr 2016 18:24:38 +0000 (18:24 +0000)]
Merge "Move vold (and sdcard childs) to foreground cpuset." into nyc-dev am: 47ff14a am: 05f1d81
am: 01eaa5c

* commit '01eaa5c78a340d874b9f5a4e6cf4c5b5975f3563':

Change-Id: Iae56812fcc28604deca523c40140d0ea5eaa2e30

8 years agoMerge "Move vold (and sdcard childs) to foreground cpuset." into nyc-dev am: 47ff14a...
Martijn Coenen [Mon, 25 Apr 2016 18:24:37 +0000 (18:24 +0000)]
Merge "Move vold (and sdcard childs) to foreground cpuset." into nyc-dev am: 47ff14a am: f56b110
am: 689c11e

* commit '689c11ea4741baaa36738b8e490b74badf898092':
  Move vold (and sdcard childs) to foreground cpuset.

Change-Id: If8d4716b8dfe85f52cbbf19f7e39f38ef2110280

8 years agoMerge "Move vold (and sdcard childs) to foreground cpuset." into nyc-dev am: 47ff14a
Martijn Coenen [Mon, 25 Apr 2016 18:19:28 +0000 (18:19 +0000)]
Merge "Move vold (and sdcard childs) to foreground cpuset." into nyc-dev am: 47ff14a
am: 05f1d81

* commit '05f1d813cc2964339d3f606c52cd599cd378a530':

Change-Id: I289125919e8cffa06a400343d201583a6d550a5c

8 years agoMerge "Move vold (and sdcard childs) to foreground cpuset." into nyc-dev am: 47ff14a
Martijn Coenen [Mon, 25 Apr 2016 18:09:13 +0000 (18:09 +0000)]
Merge "Move vold (and sdcard childs) to foreground cpuset." into nyc-dev am: 47ff14a
am: f56b110

* commit 'f56b1109197658e2da9c86d1ead93e52b3e01532':
  Move vold (and sdcard childs) to foreground cpuset.

Change-Id: I69b5a07a0e5e5cc997ce5cfa36c154024537f490

8 years agoMerge "Move vold (and sdcard childs) to foreground cpuset." into nyc-dev
Martijn Coenen [Mon, 25 Apr 2016 18:03:49 +0000 (18:03 +0000)]
Merge "Move vold (and sdcard childs) to foreground cpuset." into nyc-dev
am: 47ff14a

* commit '47ff14ad38ec96fef25b2bbe1b3365fcd97bc8f5':
  Move vold (and sdcard childs) to foreground cpuset.

Change-Id: Iad30255947ff204325736b361e883aaeaa31a473

8 years agoMerge "Move vold (and sdcard childs) to foreground cpuset." into nyc-dev
Martijn Coenen [Mon, 25 Apr 2016 18:03:42 +0000 (18:03 +0000)]
Merge "Move vold (and sdcard childs) to foreground cpuset." into nyc-dev
am: 47ff14a

* commit '47ff14ad38ec96fef25b2bbe1b3365fcd97bc8f5':
  Move vold (and sdcard childs) to foreground cpuset.

Change-Id: I2d539472902f0f2ce33bbfe767f93b9bf91856ce

8 years agoMerge "Move vold (and sdcard childs) to foreground cpuset." into nyc-dev
Martijn Coenen [Mon, 25 Apr 2016 17:46:01 +0000 (17:46 +0000)]
Merge "Move vold (and sdcard childs) to foreground cpuset." into nyc-dev

8 years agoFix resizeAsec to determine correct size
Daniel Rosenberg [Wed, 20 Apr 2016 21:07:32 +0000 (14:07 -0700)]
Fix resizeAsec to determine correct size

This fixes an eror where resizeAsec would attempt
to read from the superblock struct before initializing
it.

Bug: 28292918
Change-Id: Ic6804e97e7c83bcedfb682a187b8d5e0e1bc51f9

8 years agocryptfs: Avoid dereferencing null pointer
Greg Kaiser [Wed, 20 Apr 2016 17:50:15 +0000 (10:50 -0700)]
cryptfs: Avoid dereferencing null pointer

We already know that "intermediate_key" is non-NULL here.  We
care if the result of the allocation, "*intermediate_key", is
non-NULL prior to our memcpy.

Change-Id: I83e22dfadabb870d527b93b31470bf47e22201bb

8 years agoUnmount public sdcard filesystems before killing the fuse process.
John Cormie [Mon, 18 Apr 2016 21:23:29 +0000 (14:23 -0700)]
Unmount public sdcard filesystems before killing the fuse process.

Avoids ENOTCONN during eject for sdcard users.

Change-Id: I7b89ccaad4bb7af3639dc0b702168030a2f88366
Bug: 28268676

8 years agoMerge "Don\'t start defaultcrypto twice" into nyc-dev am: 0264d8f am: c771d20
Paul Lawrence [Tue, 19 Apr 2016 14:53:04 +0000 (14:53 +0000)]
Merge "Don\'t start defaultcrypto twice" into nyc-dev am: 0264d8f am: c771d20
am: 6f136e8

* commit '6f136e8423c9aeb34b5c2b4fcbc62deb76439976':

Change-Id: I95c13e47a67d0495f8a02b91f23d138dbf1c9892

8 years agoMerge "Don\'t start defaultcrypto twice" into nyc-dev am: 0264d8f am: e72c338
Paul Lawrence [Tue, 19 Apr 2016 14:53:04 +0000 (14:53 +0000)]
Merge "Don\'t start defaultcrypto twice" into nyc-dev am: 0264d8f am: e72c338
am: 85dfdb0

* commit '85dfdb082d87e2e17e69cc74d5b773959b15645c':
  Don't start defaultcrypto twice

Change-Id: Ia3c7998a00bc96dfbb211bfdf733eb22708ad13a

8 years agoMerge "Don\'t start defaultcrypto twice" into nyc-dev am: 0264d8f
Paul Lawrence [Tue, 19 Apr 2016 14:52:42 +0000 (14:52 +0000)]
Merge "Don\'t start defaultcrypto twice" into nyc-dev am: 0264d8f
am: c771d20

* commit 'c771d2086043d7b7d665a18b003937b1e142b7f0':

Change-Id: Iabd62fdefbf3ea43833bc2fdb9364d51a5bba779

8 years agoMerge "Don\'t start defaultcrypto twice" into nyc-dev am: 0264d8f
Paul Lawrence [Tue, 19 Apr 2016 14:50:07 +0000 (14:50 +0000)]
Merge "Don\'t start defaultcrypto twice" into nyc-dev am: 0264d8f
am: e72c338

* commit 'e72c33872e2105ca1e63ba4f891ac68a6330dffa':
  Don't start defaultcrypto twice

Change-Id: Ibad904c5df684b03b80771a6a90c6a1ee49e073f

8 years agoMerge "Don\'t start defaultcrypto twice" into nyc-dev
Paul Lawrence [Tue, 19 Apr 2016 14:47:13 +0000 (14:47 +0000)]
Merge "Don\'t start defaultcrypto twice" into nyc-dev
am: 0264d8f

* commit '0264d8ff7c2d5a2cdb4faaf9a3493103138373dd':
  Don't start defaultcrypto twice

Change-Id: I39951628d41f656901658cd82a56298ef9f663ec

8 years agoMerge "Don\'t start defaultcrypto twice" into nyc-dev
Paul Lawrence [Tue, 19 Apr 2016 14:47:08 +0000 (14:47 +0000)]
Merge "Don\'t start defaultcrypto twice" into nyc-dev
am: 0264d8f

* commit '0264d8ff7c2d5a2cdb4faaf9a3493103138373dd':
  Don't start defaultcrypto twice

Change-Id: Ief95c3bf7798cf6090f68fb2eac124677d448187

8 years agoMerge "Don't start defaultcrypto twice" into nyc-dev
Paul Lawrence [Tue, 19 Apr 2016 14:44:26 +0000 (14:44 +0000)]
Merge "Don't start defaultcrypto twice" into nyc-dev

8 years agoDon't start defaultcrypto twice
Paul Lawrence [Fri, 15 Apr 2016 22:41:33 +0000 (15:41 -0700)]
Don't start defaultcrypto twice

The old way (using triggers) starts defaultcrypto twice because
queue_property_triggers_action retriggers the action.

Bug: 27452459

Change-Id: I715d5441f8ae0b820b680f6a75f51694c4420992

8 years agoConsistent creation/destruction of user data. am: be70c9a am: c85be2f
Jeff Sharkey [Mon, 18 Apr 2016 20:18:35 +0000 (20:18 +0000)]
Consistent creation/destruction of user data. am: be70c9a am: c85be2f
am: e34f078

* commit 'e34f078ab1c39048851c339224bf5af01c2ebada':

Change-Id: Iffada0a86632ce9be14f0bce36b19aa4cd6da529

8 years agoConsistent creation/destruction of user data. am: be70c9a am: 30b0a1f
Jeff Sharkey [Mon, 18 Apr 2016 20:18:34 +0000 (20:18 +0000)]
Consistent creation/destruction of user data. am: be70c9a am: 30b0a1f
am: 0068f8e

* commit '0068f8e4907b82708822279dabf4710df3680beb':
  Consistent creation/destruction of user data.

Change-Id: I74206efb6610e72151878f6c432980b0293bea0e

8 years agoConsistent creation/destruction of user data. am: be70c9a
Jeff Sharkey [Mon, 18 Apr 2016 20:15:17 +0000 (20:15 +0000)]
Consistent creation/destruction of user data. am: be70c9a
am: c85be2f

* commit 'c85be2fc40ec7d7a70fee4b19325de21ff085724':

Change-Id: I93288ad9c962639dbfa63e33395f0ac3952b045b

8 years agoConsistent creation/destruction of user data. am: be70c9a
Jeff Sharkey [Mon, 18 Apr 2016 20:05:56 +0000 (20:05 +0000)]
Consistent creation/destruction of user data. am: be70c9a
am: 30b0a1f

* commit '30b0a1fcdd2c7a60c104ffcd3dca4c9c2c1e682b':
  Consistent creation/destruction of user data.

Change-Id: I72e91bbf15eaf91c72a61a26baf2e6908934958a

8 years agoConsistent creation/destruction of user data.
Jeff Sharkey [Mon, 18 Apr 2016 19:59:55 +0000 (19:59 +0000)]
Consistent creation/destruction of user data.
am: be70c9a

* commit 'be70c9ae2251ac8f3bfbbe75146f8c533d64e01b':
  Consistent creation/destruction of user data.

Change-Id: I55f4fe88a8c02d019fa92028e6ad358fc0f75aeb

8 years agoConsistent creation/destruction of user data.
Jeff Sharkey [Mon, 18 Apr 2016 19:59:50 +0000 (19:59 +0000)]
Consistent creation/destruction of user data.
am: be70c9a

* commit 'be70c9ae2251ac8f3bfbbe75146f8c533d64e01b':
  Consistent creation/destruction of user data.

Change-Id: Iddb906f6df0587faf95198446c376b2e8d550bec

8 years agoConsistent creation/destruction of user data.
Jeff Sharkey [Fri, 15 Apr 2016 02:45:16 +0000 (20:45 -0600)]
Consistent creation/destruction of user data.

Preparing and destroying users currently needs to be split across
installd, system_server, and vold, since no single party has all the
required SELinux permissions.

Bug: 2789691825861755
Change-Id: Ieec14ccacfc7a3a5ab00df47ace7318feb900c38

8 years agoMove vold (and sdcard childs) to foreground cpuset.
Martijn Coenen [Fri, 15 Apr 2016 12:30:40 +0000 (14:30 +0200)]
Move vold (and sdcard childs) to foreground cpuset.

Bug: 24949295
Change-Id: I7118a374db90ede517a92f72763d624b9a234ea7

8 years agoresolve merge conflicts of 81fd991 to nyc-dev-plus-aosp
Mattias Nissler [Wed, 13 Apr 2016 01:56:49 +0000 (01:56 +0000)]
resolve merge conflicts of 81fd991 to nyc-dev-plus-aosp
am: ccd9dd5

* commit 'ccd9dd53f8a55b296eb0671acefc9f0163fd83b4':
  Switch to BoringSSL crypto.

Change-Id: Icc997e054801181ab99cbd9a77cd209b93ec9cd3

8 years agoMerge "Address const issues in preparation for libcxx rebase." am: a4f7dad am: 3cc69fa
Dan Austin [Wed, 13 Apr 2016 01:56:49 +0000 (01:56 +0000)]
Merge "Address const issues in preparation for libcxx rebase." am: a4f7dad am: 3cc69fa
am: 8afff3b

* commit '8afff3bfe18320cece8b5601478a34c313a5ad46':
  Address const issues in preparation for libcxx rebase.

Change-Id: Ic64c71deda5f1ca154f2e3fd281500e7142eff6b

8 years agoresolve merge conflicts of 81fd991 to nyc-dev-plus-aosp
Elliott Hughes [Tue, 12 Apr 2016 23:44:04 +0000 (16:44 -0700)]
resolve merge conflicts of 81fd991 to nyc-dev-plus-aosp

Change-Id: Iabda2c9ad05ed4aa0a078c5da40b887f36dd9328

8 years agoMerge "Switch to BoringSSL crypto."
Mattias Nissler [Tue, 12 Apr 2016 23:27:37 +0000 (23:27 +0000)]
Merge "Switch to BoringSSL crypto."
am: af458c4

* commit 'af458c478a9f333fa39bdddb9a7aa097a2196b64':
  Switch to BoringSSL crypto.

Change-Id: Ie3c9a05bfd05dfa9b1a79fe42b59d0dfb3346843

8 years agoMerge "Switch to BoringSSL crypto."
Elliott Hughes [Tue, 12 Apr 2016 23:12:35 +0000 (23:12 +0000)]
Merge "Switch to BoringSSL crypto."

8 years agoMerge "Address const issues in preparation for libcxx rebase." am: a4f7dad
Dan Austin [Tue, 12 Apr 2016 22:35:50 +0000 (22:35 +0000)]
Merge "Address const issues in preparation for libcxx rebase." am: a4f7dad
am: 3cc69fa

* commit '3cc69faa6797ae0cfe43f4243d564fbe14f4cfe4':
  Address const issues in preparation for libcxx rebase.

Change-Id: I58f814d71e5d5c067ade613d0bf8a88911d53424

8 years agoMerge "Address const issues in preparation for libcxx rebase."
Dan Austin [Tue, 12 Apr 2016 22:33:13 +0000 (22:33 +0000)]
Merge "Address const issues in preparation for libcxx rebase."
am: a4f7dad

* commit 'a4f7dadd389e25d2b5749d1edf65081b3a4e6961':
  Address const issues in preparation for libcxx rebase.

Change-Id: I63c3a205db98d956c3c02a4f4f6fd87fd4e052e8

8 years agoMerge "Address const issues in preparation for libcxx rebase."
Dan Austin [Tue, 12 Apr 2016 22:21:17 +0000 (22:21 +0000)]
Merge "Address const issues in preparation for libcxx rebase."

8 years agoMerge "vold: write bootloader message directly." into nyc-dev am: cbedcc3
Yabin Cui [Sat, 9 Apr 2016 23:12:41 +0000 (23:12 +0000)]
Merge "vold: write bootloader message directly." into nyc-dev am: cbedcc3
am: 008c7dd

* commit '008c7ddb1fe7743f780801c1cf219a3c25445401':
  vold: write bootloader message directly.

Change-Id: I10a098025619c4f32db3ce551a4b85e14a9558a8

8 years agoMerge "vold: write bootloader message directly." into nyc-dev
Yabin Cui [Sat, 9 Apr 2016 01:09:55 +0000 (01:09 +0000)]
Merge "vold: write bootloader message directly." into nyc-dev
am: cbedcc3

* commit 'cbedcc30b32d79d77d89f23074da4dc76bf5e26d':
  vold: write bootloader message directly.

Change-Id: Ib8f63a49a86c0e9e7a231cb5d22f6bb9a14e820f

8 years agoMerge "vold: write bootloader message directly." into nyc-dev
Yabin Cui [Fri, 8 Apr 2016 21:03:42 +0000 (21:03 +0000)]
Merge "vold: write bootloader message directly." into nyc-dev

8 years agoAdd log flag for verbose AppFuse log for nyc-dev. am: 2d6555f
Daichi Hirono [Thu, 7 Apr 2016 08:21:56 +0000 (08:21 +0000)]
Add log flag for verbose AppFuse log for nyc-dev. am: 2d6555f
am: 4d5cfe5

* commit '4d5cfe57dd92ddfe8cf0ef78b096d669d7df6382':
  Add log flag for verbose AppFuse log for nyc-dev.

Change-Id: Idb2d16d6c265b191bff44e9c10f23375699d0933

8 years agoAdd log flag for verbose AppFuse log for nyc-dev.
Daichi Hirono [Thu, 7 Apr 2016 08:16:07 +0000 (08:16 +0000)]
Add log flag for verbose AppFuse log for nyc-dev.
am: 2d6555f

* commit '2d6555f33a5b0fd1e9f0db87e3a2146c3c26add0':
  Add log flag for verbose AppFuse log for nyc-dev.

Change-Id: I8a2325c0dfd70888e635994f8aa5901fbf57efac

8 years agoAdd log flag for verbose AppFuse log for nyc-dev.
Daichi Hirono [Thu, 7 Apr 2016 05:59:32 +0000 (14:59 +0900)]
Add log flag for verbose AppFuse log for nyc-dev.

Change-Id: I60ca596e32f8668ae5895e671d92c4978ede6314
Fixed: 28055420

8 years agovold: write bootloader message directly.
Yabin Cui [Thu, 7 Apr 2016 00:21:38 +0000 (17:21 -0700)]
vold: write bootloader message directly.

Bug: 27176738
Change-Id: I09bfe777e383325809d7ecc2dcb9129fe234053f

8 years agoSwitch to BoringSSL crypto.
Mattias Nissler [Thu, 31 Mar 2016 14:32:59 +0000 (16:32 +0200)]
Switch to BoringSSL crypto.

This replaces the libmincrypt dependency with libcrypto_utils, which
is needed due to libfec and fs_mgr switching to BoringSSL.

Change-Id: I4f6f4d8cc5e200679331a9bcdf2cc3bad1082dd6

8 years agoKill apps using PublicVolume when unmounting. am: 8aff854
Jeff Sharkey [Thu, 31 Mar 2016 03:50:13 +0000 (03:50 +0000)]
Kill apps using PublicVolume when unmounting. am: 8aff854
am: f6b34cb

* commit 'f6b34cb9d1521a75b1f878e6f39717151de6b39d':
  Kill apps using PublicVolume when unmounting.

Change-Id: Ie3f4a11fe1f1d5daf48c4b6355c106bfb61b51b1

8 years agoKill apps using PublicVolume when unmounting.
Jeff Sharkey [Thu, 31 Mar 2016 03:47:49 +0000 (03:47 +0000)]
Kill apps using PublicVolume when unmounting.
am: 8aff854

* commit '8aff854b940039cce5fa2a227b19e39de6787b20':
  Kill apps using PublicVolume when unmounting.

Change-Id: I12332ee8d416eb2bba0f940a5f8bf64c5766c774

8 years agoKill apps using PublicVolume when unmounting.
Jeff Sharkey [Thu, 31 Mar 2016 02:37:28 +0000 (20:37 -0600)]
Kill apps using PublicVolume when unmounting.

Bug: 24863778
Change-Id: I86a482c6de78afe2e09ca91165000e1b10a42058

8 years agoDon\'t fail if the CE key isn\'t loaded in destroy_user_key am: 71ee662
Paul Crowley [Tue, 29 Mar 2016 20:33:17 +0000 (20:33 +0000)]
Don\'t fail if the CE key isn\'t loaded in destroy_user_key am: 71ee662
am: 2761664

* commit '2761664e57974663722fdf6f4253add09cc31a9b':
  Don't fail if the CE key isn't loaded in destroy_user_key

Change-Id: I57c6333b4f7cdd45111e7353c6eba2f9fbbbca9f

8 years agoDon\'t fail if the CE key isn\'t loaded in destroy_user_key
Paul Crowley [Tue, 29 Mar 2016 20:30:13 +0000 (20:30 +0000)]
Don\'t fail if the CE key isn\'t loaded in destroy_user_key
am: 71ee662

* commit '71ee662ec3f82db66f1a34579aff75cc27d4b205':
  Don't fail if the CE key isn't loaded in destroy_user_key

Change-Id: I7700f07dfa3421e57149aacf1a98b0a5eb8bf917

8 years agoDon't fail if the CE key isn't loaded in destroy_user_key
Paul Crowley [Fri, 25 Mar 2016 22:50:01 +0000 (15:50 -0700)]
Don't fail if the CE key isn't loaded in destroy_user_key

Users don't have to be unlocked to be deleted, so don't worry if we
don't have their key to evict.

Bug: 26847403
Bug: 27441228
Change-Id: Ifd93f620926630aa102a3bb4a5d2d45d34f9b75d

8 years agoAddress const issues in preparation for libcxx rebase.
Dan Austin [Thu, 24 Mar 2016 19:26:39 +0000 (12:26 -0700)]
Address const issues in preparation for libcxx rebase.

Change-Id: I5199c1eb4e874fd354beefa1232707949483e88d

8 years agoSupport Keymaster2 with lots of clever template logic :) am: 0323afd
Paul Crowley [Thu, 17 Mar 2016 19:59:53 +0000 (19:59 +0000)]
Support Keymaster2 with lots of clever template logic :) am: 0323afd
am: d4d7651

* commit 'd4d7651fc38d00c4a82bafac2f03d8d166a19d04':
  Support Keymaster2 with lots of clever template logic :)

8 years agoSupport Keymaster2 with lots of clever template logic :)
Paul Crowley [Thu, 17 Mar 2016 19:57:36 +0000 (19:57 +0000)]
Support Keymaster2 with lots of clever template logic :)
am: 0323afd

* commit '0323afd69d82ce900d520f4611f56e6c06fc08a1':
  Support Keymaster2 with lots of clever template logic :)

8 years agoSupport Keymaster2 with lots of clever template logic :)
Paul Crowley [Wed, 16 Mar 2016 00:04:39 +0000 (17:04 -0700)]
Support Keymaster2 with lots of clever template logic :)

Bug: 27718275
Change-Id: I0b2aa74f45fd07a121ce0c342b27426a3fe593ce

8 years agoFix some static analyser issues am: 300dae7c38
Paul Lawrence [Fri, 11 Mar 2016 23:47:09 +0000 (23:47 +0000)]
Fix some static analyser issues am: 300dae7c38
am: a1b97135eb

* commit 'a1b97135ebf696bbac3bb0e5e477fe5fa467e20b':
  Fix some static analyser issues

8 years agoFix some static analyser issues
Paul Lawrence [Fri, 11 Mar 2016 23:45:29 +0000 (23:45 +0000)]
Fix some static analyser issues
am: 300dae7c38

* commit '300dae7c38e6853148a998dfc1030b2be40490b5':
  Fix some static analyser issues