Commit graph

3405 commits

Author SHA1 Message Date
Paul Crowley
18b8ad91b8 Merge changes from topics "fscrypt-options", "fstab-options"
am: c17827b095

Change-Id: I9a992f0da7b5199b40ce650c2eb20258cab2b562
2019-10-28 19:23:05 -07:00
Paul Crowley
0ae752dcc3 Replace "flags" property with "options" with same format as fstab
am: f612b8b5ab

Change-Id: I30c51da82bdeb27a2dae7251762bb1a5241afcb8
2019-10-28 19:22:55 -07:00
Paul Crowley
c17827b095 Merge changes from topics "fscrypt-options", "fstab-options"
* changes:
  Use new encryption_options fstab entry
  Replace "flags" property with "options" with same format as fstab
2019-10-29 02:00:36 +00:00
Paul Crowley
a50f6c3c2c Use new encryption_options fstab entry
Bug: 143307095
Test: change cuttlefish fstab
Change-Id: Ia40daafc9b573c40f29c74dc2ef513fba3fc2bf9
2019-10-28 13:36:35 -07:00
Nikita Ioffe
63af405fc8 [automerger skipped] Merge "Rename ENFORCE_UID to ENFORCE_SYSTEM_OR_ROOT" am: f37dff724b am: 3dbe996112 am: 536830ac65
am: 667dadb67a -s ours
am skip reason: change_id Ice20ffcba2a0994c599dbebace252138ffd827de with SHA1 5d85bf3127 is in history

Change-Id: I9fe03c2c1e58979b28f5d8a34a6659ce487fd91e
2019-10-28 05:12:48 -07:00
Nikita Ioffe
667dadb67a Merge "Rename ENFORCE_UID to ENFORCE_SYSTEM_OR_ROOT" am: f37dff724b am: 3dbe996112
am: 536830ac65

Change-Id: I3f9ee004ffef19b5e0f83cbb50e98a2939d2202b
2019-10-28 05:06:28 -07:00
Nikita Ioffe
536830ac65 Merge "Rename ENFORCE_UID to ENFORCE_SYSTEM_OR_ROOT" am: f37dff724b
am: 3dbe996112

Change-Id: I2b4f95bd3edbbfe2c6843dc06cd9ad1a156ca532
2019-10-28 03:19:33 -07:00
Nikita Ioffe
3dbe996112 Merge "Rename ENFORCE_UID to ENFORCE_SYSTEM_OR_ROOT"
am: f37dff724b

Change-Id: Iaa1ce493c5fc67e280e4e3d656f434ad86e74f80
2019-10-28 03:13:59 -07:00
Nikita Ioffe
f37dff724b Merge "Rename ENFORCE_UID to ENFORCE_SYSTEM_OR_ROOT" 2019-10-28 09:55:34 +00:00
Xin Li
c4902f34c0 [automerger skipped] Merge "Merge Coral/Flame into AOSP master" am: be4ff998ac -s ours am: c21f19338e -s ours am: a69c584aaa -s ours
am: da152fccb0 -s ours
am skip reason: change_id I7191bd73d8621831c5802e02817f459f1da32754 with SHA1 a2c2182b65 is in history

Change-Id: Ic687ebd01c5357d1f06b4f968bb76a8377258961
2019-10-27 00:08:45 -07:00
Xin Li
da152fccb0 [automerger skipped] Merge "Merge Coral/Flame into AOSP master" am: be4ff998ac -s ours am: c21f19338e -s ours
am: a69c584aaa -s ours
am skip reason: change_id I7191bd73d8621831c5802e02817f459f1da32754 with SHA1 a2c2182b65 is in history

Change-Id: If55c2cd2bdc8cd6329ba62e34e8979cdd645e5b3
2019-10-26 23:54:41 -07:00
Xin Li
a69c584aaa [automerger skipped] Merge "Merge Coral/Flame into AOSP master" am: be4ff998ac -s ours
am: c21f19338e -s ours
am skip reason: change_id I7191bd73d8621831c5802e02817f459f1da32754 with SHA1 a2c2182b65 is in history

Change-Id: I520c3ad27bc01eef706f411e064584dcf6268ba3
2019-10-26 23:48:03 -07:00
Xin Li
c21f19338e [automerger skipped] Merge "Merge Coral/Flame into AOSP master"
am: be4ff998ac -s ours
am skip reason: change_id I7191bd73d8621831c5802e02817f459f1da32754 with SHA1 a2c2182b65 is in history

Change-Id: If1bc31b59c868707ff2b4ee406bcad0fa9da25d3
2019-10-26 23:39:50 -07:00
Xin Li
387257af36 [automerger skipped] Merge Coral/Flame into AOSP master am: 8a9454c35c -s ours am: 119618a381 -s ours am: b462c16fb6 -s ours
am: ee393feadc -s ours
am skip reason: change_id I7191bd73d8621831c5802e02817f459f1da32754 with SHA1 a2c2182b65 is in history

Change-Id: I0ccecd93d473a00359fc100207ebcbabe040dd79
2019-10-26 23:39:37 -07:00
Xin Li
ee393feadc [automerger skipped] Merge Coral/Flame into AOSP master am: 8a9454c35c -s ours am: 119618a381 -s ours
am: b462c16fb6 -s ours
am skip reason: change_id I7191bd73d8621831c5802e02817f459f1da32754 with SHA1 a2c2182b65 is in history

Change-Id: I852ab9b92bb553cc7f2fc6c5dd556e75356020b0
2019-10-26 23:19:41 -07:00
Xin Li
b462c16fb6 [automerger skipped] Merge Coral/Flame into AOSP master am: 8a9454c35c -s ours
am: 119618a381 -s ours
am skip reason: change_id I7191bd73d8621831c5802e02817f459f1da32754 with SHA1 a2c2182b65 is in history

Change-Id: I6719833c4f030b7cf0d14dce49956ea3f8362c1a
2019-10-26 22:54:29 -07:00
Xin Li
119618a381 [automerger skipped] Merge Coral/Flame into AOSP master
am: 8a9454c35c -s ours
am skip reason: change_id I7191bd73d8621831c5802e02817f459f1da32754 with SHA1 a2c2182b65 is in history

Change-Id: I0e4e568d378d9412f2239f37ba2c475ad4f5f30b
2019-10-26 22:36:06 -07:00
Xin Li
be4ff998ac Merge "Merge Coral/Flame into AOSP master" 2019-10-27 04:44:29 +00:00
Nikita Ioffe
e1fd48999b Rename ENFORCE_UID to ENFORCE_SYSTEM_OR_ROOT
A little bit more self-explanatory name that explicitly says that root
is also allowed.

Test: builds
Change-Id: Ice20ffcba2a0994c599dbebace252138ffd827de
Merged-In: Ice20ffcba2a0994c599dbebace252138ffd827de
2019-10-26 15:51:17 +01:00
Nikita Ioffe
ce2a532c00 Merge "Rename ENFORCE_UID to ENFORCE_SYSTEM_OR_ROOT" 2019-10-26 14:30:35 +00:00
Nikita Ioffe
5d85bf3127 Rename ENFORCE_UID to ENFORCE_SYSTEM_OR_ROOT
A little bit more self-explanatory name that explicitly says that root
is also allowed.

Test: builds
Change-Id: Ice20ffcba2a0994c599dbebace252138ffd827de
2019-10-25 19:52:48 +01:00
Paul Crowley
3941682cf3 Merge "Use new C++ libfscrypt interface." am: 7e43d985cf am: e96e670746 am: d1823f16c8
am: 9572a9fcdc

Change-Id: I2bb5b868ea8bf494eab1e4725a82e7b112ad63b2
2019-10-25 11:52:07 -07:00
Paul Crowley
9572a9fcdc Merge "Use new C++ libfscrypt interface." am: 7e43d985cf am: e96e670746
am: d1823f16c8

Change-Id: Iaeb2a0087c307ff24b9161280fd3ab4fe5bae451
2019-10-25 11:34:57 -07:00
Paul Crowley
d1823f16c8 Merge "Use new C++ libfscrypt interface." am: 7e43d985cf
am: e96e670746

Change-Id: Ia3caaae26d30f5f3329ae36c1aac02e592118d0b
2019-10-25 11:20:42 -07:00
Paul Crowley
e96e670746 Merge "Use new C++ libfscrypt interface."
am: 7e43d985cf

Change-Id: Ie2a437086f901d4e353e71ac5db8751f518bd833
2019-10-25 11:14:52 -07:00
Paul Crowley
7e43d985cf Merge "Use new C++ libfscrypt interface." 2019-10-25 18:05:26 +00:00
Xin Li
8a9454c35c Merge Coral/Flame into AOSP master
Bug: 141248619
Change-Id: I487bba24e1c3cef357a408424665f0348162345d
Merged-In: I7191bd73d8621831c5802e02817f459f1da32754
2019-10-25 10:28:41 -07:00
Paul Crowley
f612b8b5ab Replace "flags" property with "options" with same format as fstab
Bug: 143307095
Test: Set override, check policy is as expected with sm set-virtual-disk
Change-Id: Iec31d7530b15d6d4564100816c821394e0708d53
2019-10-24 23:24:27 -07:00
Paul Crowley
5e53ff6e8f Use new C++ libfscrypt interface.
Bug: 143307095
Test: treehugger
Change-Id: I420ba6223bd67d6fec5382a11a72b7aa124294c9
2019-10-24 20:49:52 -07:00
Xin Li
276489bbca Merge "Skip QD1A.190821.011 in stage-aosp-master" into stage-aosp-master am: e9679eaa46 am: dd369ccddf
am: fb9bf0fb6a

Change-Id: Iddf27e0fefe787ca6d2f7c75e13a414da0befb26
2019-10-23 18:19:47 -07:00
Xin Li
fb9bf0fb6a Merge "Skip QD1A.190821.011 in stage-aosp-master" into stage-aosp-master am: e9679eaa46
am: dd369ccddf

Change-Id: I3cc3f3b41c2744764e5adc45288886af211e6a7b
2019-10-23 18:00:04 -07:00
Xin Li
dd369ccddf Merge "Skip QD1A.190821.011 in stage-aosp-master" into stage-aosp-master
am: e9679eaa46

Change-Id: I866951f186a6cc50dc9647077e4f6f915e4bdfc4
2019-10-23 17:40:30 -07:00
TreeHugger Robot
e9679eaa46 Merge "Skip QD1A.190821.011 in stage-aosp-master" into stage-aosp-master 2019-10-24 00:26:50 +00:00
Paul Lawrence
592cf7a16d Merge "Make sure CtsCheckpointTestCases passes" am: 21799c8f7d am: a2c2182b65 am: 0496f970a3
am: 042a67afa1

Change-Id: Ieef46c0846657f5279b67dd7d2f437e1ffc673e0
2019-10-23 16:32:42 -07:00
Paul Lawrence
042a67afa1 Merge "Make sure CtsCheckpointTestCases passes" am: 21799c8f7d am: a2c2182b65
am: 0496f970a3

Change-Id: I5215f7b8b82b0aa9ec598cd0d8de3848c5bef3fb
2019-10-23 16:12:52 -07:00
Paul Lawrence
0496f970a3 Merge "Make sure CtsCheckpointTestCases passes" am: 21799c8f7d
am: a2c2182b65

Change-Id: I6498dcc83ed0b30850ae9cc1e94af1510bf89836
2019-10-23 15:47:11 -07:00
Paul Lawrence
a2c2182b65 Merge "Make sure CtsCheckpointTestCases passes"
am: 21799c8f7d

Change-Id: I7191bd73d8621831c5802e02817f459f1da32754
2019-10-23 15:25:08 -07:00
Treehugger Robot
21799c8f7d Merge "Make sure CtsCheckpointTestCases passes" 2019-10-23 20:13:50 +00:00
Paul Lawrence
4c757fb6cc Make sure CtsCheckpointTestCases passes
Bug: 141639903
Bug: 141499347
Test: Cts test CtsCheckpointTestCases passes
Change-Id: Id5e9c0df969340e0b8f08436daa027614c45b380
2019-10-23 09:40:45 -07:00
Nikita Ioffe
7a04dfe86d Merge "vold: implement resetCheckpoint" am: 4eeebff8d5 am: e182b26d64 am: 3631ac59fd
am: 3ec81f1059

Change-Id: I00ce96ee4c6c6f729c5335a04aee08712ee4ae91
2019-10-18 15:37:54 -07:00
Nikita Ioffe
3ec81f1059 Merge "vold: implement resetCheckpoint" am: 4eeebff8d5 am: e182b26d64
am: 3631ac59fd

Change-Id: I0514429a69a6a7331651d05cb530029d43e9c895
2019-10-18 15:28:02 -07:00
Nikita Ioffe
3631ac59fd Merge "vold: implement resetCheckpoint" am: 4eeebff8d5
am: e182b26d64

Change-Id: I3000b9adae1bc43f1ccdd36d313556dd93be2a33
2019-10-18 15:22:35 -07:00
Nikita Ioffe
e182b26d64 Merge "vold: implement resetCheckpoint"
am: 4eeebff8d5

Change-Id: I86e933c27ebeaadbc3653d1da412180743d8f519
2019-10-18 15:16:35 -07:00
Nikita Ioffe
4eeebff8d5 Merge "vold: implement resetCheckpoint" 2019-10-18 21:44:35 +00:00
Xin Li
6881ac80c7 Skip QD1A.190821.011 in stage-aosp-master
Bug: 141248619
Change-Id: Ie1bf139b15621fc9cc1270865b03ec0f459d15ed
2019-10-16 15:19:32 -07:00
Nikita Ioffe
a5798fc115 vold: implement resetCheckpoint
It will be used by userspace reboot to reset checkpoint state, to make
sure that when /data is remounted, it will be remounted in checkpointing
if a checkpoint was requested beforee userspace reboot.

Test: /system/bin/vdc startCheckpoint 1
      /system/bin/vdc needsCheckpoint (returns 0)
      /system/bin/vdc resetCheckpoint
      /system/bin/vdc needsCheckpoint (returns 1)

Bug: 135984674
Change-Id: Ia29238686289b4eed93e2fb936a8b3d894b94dc9
2019-10-12 00:43:04 +01:00
Eric Biggers
6950716c0e Merge changes from topic "fscrypt-key-mgmt-improvements" am: 22d50012b0 am: de5c9ad178 am: 5a7cace2fc
am: d5c689fd48

Change-Id: I1162ca508d031f8c93db4cf1e79e5fce53f67e20
2019-10-07 12:47:55 -07:00
Eric Biggers
9b673cedd1 vold: use new ioctls to add/remove fscrypt keys when supported am: f3dc4203dd am: 12a9212ac1 am: 20c8b122bb
am: 198abccf09

Change-Id: I4ca9e826509c02e5d60c6684f704b76be3ea80ef
2019-10-07 12:47:49 -07:00
Eric Biggers
d5c689fd48 Merge changes from topic "fscrypt-key-mgmt-improvements" am: 22d50012b0 am: de5c9ad178
am: 5a7cace2fc

Change-Id: Ibb446d5d4daa38ebd4ce8ff52fb07a34a75a179c
2019-10-07 12:41:03 -07:00
Eric Biggers
198abccf09 vold: use new ioctls to add/remove fscrypt keys when supported am: f3dc4203dd am: 12a9212ac1
am: 20c8b122bb

Change-Id: Ib5be791fd0eb99ac637e8528c3eee3684787d348
2019-10-07 12:40:58 -07:00