Commit graph

23652 commits

Author SHA1 Message Date
Nikita Ioffe
6801474288 Add userspace_reboot_config_prop property type
am: 8b570f0c60

Change-Id: If773da3d6cd47d344581387e1632a4afb1594922
2019-12-23 08:47:14 -08:00
Nikita Ioffe
8b570f0c60 Add userspace_reboot_config_prop property type
This type will be used for read-only properties used to configure
userspace reboot behaviour (e.g. whenever device supports it, watchdog
timeout, etc.).

Test: adb shell getprop ro.init.userspace_reboot.is_supported
Bug: 135984674
Change-Id: I387b2f2f6e3ca96c66c8fa3e6719d013d71f76c7
2019-12-23 15:10:40 +00:00
Automerger Merge Worker
fbfc64bcb0 Merge "sepolicy: new file_integrity_service" am: 8a40d6e70d am: 95daf42ef3 am: bd78650137
Change-Id: Ic8b3111b2e7c20405ff79260293f221d99bcbae1
2019-12-20 23:01:10 +00:00
Automerger Merge Worker
bd78650137 Merge "sepolicy: new file_integrity_service" am: 8a40d6e70d am: 95daf42ef3
Change-Id: I6cff8ce3a57b366d2928885854b6609648c4ccd2
2019-12-20 22:48:34 +00:00
Victor Hsieh
95daf42ef3 Merge "sepolicy: new file_integrity_service"
am: 8a40d6e70d

Change-Id: I6d25a19cf18bcf11ee24c2f44a326d98fff89b63
2019-12-20 14:38:39 -08:00
Treehugger Robot
8a40d6e70d Merge "sepolicy: new file_integrity_service" 2019-12-20 22:36:21 +00:00
Automerger Merge Worker
d09691e91a Merge "Don't audit data_mirror in dumpstate" am: c639fb6607 am: 1c28900c79 am: deed82c425
Change-Id: Icbd607d17dcfc31c3e46ca374d004fe70ee55130
2019-12-20 10:44:45 +00:00
Automerger Merge Worker
deed82c425 Merge "Don't audit data_mirror in dumpstate" am: c639fb6607 am: 1c28900c79
Change-Id: I99b9d34332a04ea97d9a9b0023cd214eb22aefe3
2019-12-20 10:31:06 +00:00
Alan Stokes
1c28900c79 Merge "Don't audit data_mirror in dumpstate"
am: c639fb6607

Change-Id: Ie4b54df5f7562967ffb239c9772d62c4b20ef65a
2019-12-20 02:18:37 -08:00
Alan Stokes
c639fb6607 Merge "Don't audit data_mirror in dumpstate" 2019-12-20 10:16:16 +00:00
Luke Huang
f5e1304626 Merge "Make cronet file_contexts as "android:path" property" 2019-12-20 09:52:51 +00:00
Automerger Merge Worker
46a2099be4 Merge "Allow linkerconfig to be executed with logwrap" am: 6ee440bd0f am: 0658613b86 am: 77732f54db
Change-Id: Id6f7df1f4fb4975db1cea1745d011bf92dc28c52
2019-12-20 04:01:55 +00:00
Automerger Merge Worker
77732f54db Merge "Allow linkerconfig to be executed with logwrap" am: 6ee440bd0f am: 0658613b86
Change-Id: I3cc5e0ea9406011f9df7abb7509aff9bab159119
2019-12-20 03:45:40 +00:00
Kiyoung Kim
0658613b86 Merge "Allow linkerconfig to be executed with logwrap"
am: 6ee440bd0f

Change-Id: I811eeb9a5bcee3c4eb478fec1e9075cff781a00e
2019-12-19 19:33:26 -08:00
Kiyoung Kim
6ee440bd0f Merge "Allow linkerconfig to be executed with logwrap" 2019-12-20 03:30:33 +00:00
Automerger Merge Worker
cb697e42f4 Merge "Add ro.init.userspace_reboot.is_supported property" am: af004c339e am: aaa1481ac5 am: 8a7c37f209
Change-Id: Idbfbdae093a056f2a2e2978de5569341a13b0ea0
2019-12-20 02:27:47 +00:00
Automerger Merge Worker
8a7c37f209 Merge "Add ro.init.userspace_reboot.is_supported property" am: af004c339e am: aaa1481ac5
Change-Id: Ibc9468c657097bbe0aeb46e2b150eafd858484a8
2019-12-20 00:26:20 +00:00
Nikita Ioffe
aaa1481ac5 Merge "Add ro.init.userspace_reboot.is_supported property"
am: af004c339e

Change-Id: I1855c7425fff98040ac61427f6cfc7ffb5ae0568
2019-12-19 16:12:11 -08:00
Nikita Ioffe
af004c339e Merge "Add ro.init.userspace_reboot.is_supported property" 2019-12-19 23:44:06 +00:00
Jon Spivack
4b9114a0b5 binder_use: Allow servicemanager callbacks
In order for services registered with LazyServiceRegistrar to dynamically stop, servicemanager needs to be able to call into client processes (to notify them and trigger shutdown).

Bug: 143108344
Test: aidl_lazy_test
Change-Id: I402d0bcc5e668bf022162c7ce7393d5b77256479
2019-12-19 23:07:14 +00:00
Victor Hsieh
48a7b5a580 sepolicy: new file_integrity_service
Test: didn't see denials in dmesg during boot or API calls.
Bug: 142573505
Change-Id: Ifa271956bc51bf47d781cd9c9f95afb99c5f940f
2019-12-19 09:25:35 -08:00
Ricky Wai
2e17c0558e Don't audit data_mirror in dumpstate
Bug: 146376151
Test: atest SELinuxHostTest#testNoBugreportDenials
Change-Id: Ia94496bcb8f60cd9a828380164ade65cab62bac2
2019-12-19 16:36:24 +00:00
Automerger Merge Worker
0203d2894a Merge "Create filegroup for sdkext file contexts" am: b26066cb10 am: 44bd665f11 am: d71c56e506
Change-Id: I7795570589ea3a2ac3354bcff2bf81ad15314574
2019-12-19 15:34:03 +00:00
Automerger Merge Worker
d71c56e506 Merge "Create filegroup for sdkext file contexts" am: b26066cb10 am: 44bd665f11
Change-Id: I702ca90bd20cf62d0ea19d1a1350458e2f0129e0
2019-12-19 15:19:05 +00:00
Anton Hansson
44bd665f11 Merge "Create filegroup for sdkext file contexts"
am: b26066cb10

Change-Id: I9cfff521d4b34c50dd52fc10c3afbff327301c0f
2019-12-19 07:02:33 -08:00
Anton Hansson
b26066cb10 Merge "Create filegroup for sdkext file contexts" 2019-12-19 14:26:03 +00:00
Anton Hansson
70b3800301 Create filegroup for sdkext file contexts
So that they can be reused in the test apex.

Bug: 137191822
Test: m
Change-Id: Iea23fee906d7c4dc9267bd3220f9d41c86fbb5db
2019-12-19 13:17:00 +00:00
Automerger Merge Worker
80c76efd5b [automerger skipped] Merge "Change Tethering package name" am: 78ec8f6546 am: 23e52ea0b2 am: 12bd88563b -s ours
am skip reason: Change-Id I41ec17604067c684123085841182408c4e315ec2 with SHA-1 a51d4d294e is in history

Change-Id: Ic2178fdaff4ea3aa933aa059bdc9e22cc825a115
2019-12-19 13:04:34 +00:00
Luke Huang
a9ea7fa135 Make cronet file_contexts as "android:path" property
It follows examples of other APEX to make file_contexts of cronet
module as "android:path" property

Bug: 146416755
Test: atest cronet_e2e_tests
Test: atest CronetApiTest
Change-Id: I0608eb4bb43cee50f49217f19fb53f297fbf5ead
2019-12-19 21:02:18 +08:00
Nikita Ioffe
8351252c69 Add ro.init.userspace_reboot.is_supported property
Devices that support userspace reboot are required to set this property
to true.

Test: builds
Bug: 135984674
Change-Id: I6cbff586e8813cf0a44d2ff8d6a2cf6dbdc295f0
2019-12-19 12:57:42 +00:00
Automerger Merge Worker
12bd88563b Merge "Change Tethering package name" am: 78ec8f6546 am: 23e52ea0b2
Change-Id: I7a04407ea20e59fee7576477a215de252cdedfee
2019-12-19 12:52:57 +00:00
markchien
23e52ea0b2 Merge "Change Tethering package name"
am: 78ec8f6546

Change-Id: I929f66a416720def3975a549e251225a94c7926d
2019-12-19 04:38:30 -08:00
Treehugger Robot
78ec8f6546 Merge "Change Tethering package name" 2019-12-19 12:35:49 +00:00
Automerger Merge Worker
3a2bcd2e92 Merge "gmscore_app: anr_data_file permissions" am: 4bcc37904c am: dd63f771e8 am: a8dc6b7da8
Change-Id: I640565a70d08c1bef6000c414a177b33c13ab1ab
2019-12-19 10:38:02 +00:00
Automerger Merge Worker
a8dc6b7da8 Merge "gmscore_app: anr_data_file permissions" am: 4bcc37904c am: dd63f771e8
Change-Id: I8092dc8ff8a8246ec71756ae786f9332589192cd
2019-12-19 10:21:22 +00:00
Ashwini Oruganti
dd63f771e8 Merge "gmscore_app: anr_data_file permissions"
am: 4bcc37904c

Change-Id: Id04f88d2b32b9cf53f5cd6f6b0f57df9d977436f
2019-12-19 02:04:27 -08:00
Treehugger Robot
4bcc37904c Merge "gmscore_app: anr_data_file permissions" 2019-12-19 09:55:36 +00:00
TreeHugger Robot
082b4d869f Merge "Change Tethering package name" 2019-12-19 08:22:35 +00:00
Automerger Merge Worker
543878c0b0 Merge "[incremental] labels for incfs and directory root" am: 753ff93ac9 am: 5447ebdee1 am: 597849a405
Change-Id: I4f22ebdce589d0a4f2092245d6ff53aa01dffcb5
2019-12-19 06:39:21 +00:00
Automerger Merge Worker
597849a405 Merge "[incremental] labels for incfs and directory root" am: 753ff93ac9 am: 5447ebdee1
Change-Id: Ie2437da090b93ab19c8e6a4227b0516ed2760fe7
2019-12-19 06:22:15 +00:00
Songchun Fan
5447ebdee1 Merge "[incremental] labels for incfs and directory root"
am: 753ff93ac9

Change-Id: I8d8ca561df04a48edfeb0bc063ff80d3de5dd3c3
2019-12-18 22:06:08 -08:00
Songchun Fan
753ff93ac9 Merge "[incremental] labels for incfs and directory root" 2019-12-19 05:47:42 +00:00
Automerger Merge Worker
a36a52b562 Add device file for Resume on Reboot am: 2073d5b685 am: 58b31517b1 am: c7d5d9fcd7
Change-Id: I04a00fd23f019dd32c5dcad4daa986b3028db2e7
2019-12-19 02:46:50 +00:00
Automerger Merge Worker
c7d5d9fcd7 Add device file for Resume on Reboot am: 2073d5b685 am: 58b31517b1
Change-Id: I00d966be9afa8fa4b9718f11437f91e970afac01
2019-12-19 02:32:58 +00:00
Kenny Root
58b31517b1 Add device file for Resume on Reboot
am: 2073d5b685

Change-Id: Id8614af9b899d3e231ba3d497c9d6085bc1e4d9b
2019-12-18 18:19:07 -08:00
Songchun Fan
743f9eddf6 [incremental] labels for incfs and directory root
Adding two labels: "incfs" for the incremental filesystem and
"incremental_root_file" for file paths /data/incremental/*.

Doc: go/incremental-selinux

Test: manual
Change-Id: I7d45ed1677e3422119b2861dfc7b541945fcb7a2
2019-12-18 16:59:31 -08:00
David Anderson
11a741961a Give fastbootd permission to mount and write to /metadata/gsi.
This is needed to check for the presence of certain bits, like,
snapshots, a scratch partition, or a DSU installation, as well as to
create status files (which libfiemap uses to track state).

Bug: 134949511
Test: adb remount; fastboot flash system
Change-Id: I50c10647a5793e4c0f35c3dd32de0bc036921914
2019-12-18 15:08:24 -08:00
Ashwini Oruganti
c9de5b531f gmscore_app: anr_data_file permissions
More historical context in http://b/18504118

This also adds an auditallow to the same rule for priv_app, so we can
delete it once no logs show up in go/sedenials for this rule
triggering.

Bug: 142672293
Test: TH
Change-Id: I5729b89af83090e6e31c012c8acb0f0114c87d3d
2019-12-18 22:15:08 +00:00
Kenny Root
2073d5b685 Add device file for Resume on Reboot
This adds the type and permissions for the default implementation to talk to
its kernel module.

Bug: 63928581
Test: boot Pixel 4 with default implementation

Change-Id: Ie847e4db975b95e90ea64937401e8d8a8ed812cb
2019-12-18 10:39:21 -08:00
Automerger Merge Worker
5065042dbc Merge "Allow gmscore to write to /cache" am: 4c78a608f9 am: c1420961e8 am: 9f84b480dc
Change-Id: I0c6df25d77ef5ee4e9c58615871b2c3841c56130
2019-12-18 18:23:22 +00:00