Commit graph

23427 commits

Author SHA1 Message Date
Automerger Merge Worker
f4ccc4ba1a Update Q sepolicy prebuilt am: 1dd6321a00
Change-Id: I8caa160f6c9e7b86f6bab5848f9027a45c0a16c5
2020-02-12 12:18:45 +00:00
Automerger Merge Worker
bdfd9bcc18 [automerger skipped] Fix: dumpstate HAL service property context am: 5927933c70 -s ours
am skip reason: Change-Id Ie24e2d42e92410a935ca4c9364b476d72aa459f3 with SHA-1 046c510402 is in history

Change-Id: Iff9d6ccbff59635c0549662234b82d0ea4232479
2020-02-12 12:18:41 +00:00
Automerger Merge Worker
1ae4188d63 Merge "Use setxattr for incremental-fs" am: 2ddfad3709 am: 3b77d78709
Change-Id: I60e7729ebbc64259c0176852547d2c53db0d9723
2020-02-12 00:39:23 +00:00
Automerger Merge Worker
3b77d78709 Merge "Use setxattr for incremental-fs" am: 2ddfad3709
Change-Id: Ia0773813cc8c81517f09e2dd3e2e4134f6146ffb
2020-02-12 00:14:17 +00:00
Songchun Fan
2ddfad3709 Merge "Use setxattr for incremental-fs" 2020-02-11 23:56:51 +00:00
Songchun Fan
ecafc55b70 Use setxattr for incremental-fs
BUG: b/133435829
Test: manual
Change-Id: I782f2041da5824fe28917789208e00d6ed10de79
2020-02-11 14:33:08 -08:00
Automerger Merge Worker
3f12acd2f7 Merge "rebootescrow: allow dumpstate to call via binder" am: 4def25f171 am: 222d5c7a16
Change-Id: I9005d0be42b25d10a08a3b43b85314a5d90ec8a5
2020-02-11 21:54:20 +00:00
Automerger Merge Worker
acab3cff75 Merge "selinux rules for apk files installed with Incremental" am: fcbfe3155f am: a0c022882c
Change-Id: I5fc36ba0b918eac9e1a5499041c6bee208ebe156
2020-02-11 21:54:07 +00:00
Automerger Merge Worker
222d5c7a16 Merge "rebootescrow: allow dumpstate to call via binder" am: 4def25f171
Change-Id: Ifbb92aa5e6dd5e31ec7774a46be918f358013848
2020-02-11 21:34:03 +00:00
Automerger Merge Worker
a0c022882c Merge "selinux rules for apk files installed with Incremental" am: fcbfe3155f
Change-Id: I179b22c05e431d922871f44ea4f2272024bbd1a4
2020-02-11 21:33:49 +00:00
Kenny Root
4def25f171 Merge "rebootescrow: allow dumpstate to call via binder" 2020-02-11 21:25:29 +00:00
Songchun Fan
fcbfe3155f Merge "selinux rules for apk files installed with Incremental" 2020-02-11 21:24:04 +00:00
Automerger Merge Worker
85abbc9fc0 Merge "grant power hal client to access stable power hal service" am: a3b19be219 am: cadbe8d8ff
Change-Id: I65205afee290ce02cf7dee970555985b835c7898
2020-02-11 17:52:49 +00:00
Automerger Merge Worker
cadbe8d8ff Merge "grant power hal client to access stable power hal service" am: a3b19be219
Change-Id: I49eb8ea8e1d664baf719e72b98ed43137cd60557
2020-02-11 17:37:51 +00:00
Wei Wang
a3b19be219 Merge "grant power hal client to access stable power hal service" 2020-02-11 17:18:38 +00:00
Alex Hong
1dd6321a00 Update Q sepolicy prebuilt
This updates 29.0 api for dumpstate restart control property contexts

Bug: 147730517
Change-Id: I0aa7450dc0fb34de321cf8d2ba357b2ecabbcf43
2020-02-11 13:53:22 +08:00
Kenny Root
7ae220742c rebootescrow: allow dumpstate to call via binder
Allow dumpstate to call into rebootescrow to request debug information.

Bug: 148763226
Test: adb bugreport
Change-Id: Ib336cab755998b1ddcd7848b3e544c2e0f09c1aa
2020-02-10 21:28:32 -08:00
Automerger Merge Worker
4cfad4bd0c Merge "sepolicy: new prereboot_data_file type" am: e8b7cecad3 am: b98676bc7a
Change-Id: Ie609dc28fc97f1973eea4bebea0089e35d97f47f
2020-02-11 03:17:41 +00:00
Automerger Merge Worker
b98676bc7a Merge "sepolicy: new prereboot_data_file type" am: e8b7cecad3
Change-Id: I1250ca1cdd98f428438bb1e50d7c7c6fa5f0989e
2020-02-11 03:08:56 +00:00
Jerry Chang
e8b7cecad3 Merge "sepolicy: new prereboot_data_file type" 2020-02-11 02:49:29 +00:00
Automerger Merge Worker
48ad52b24b Merge "Update sepolicy to allow pushing atoms from surfaceflinger to statsd" am: c95ae9044d am: 0d8788688f
Change-Id: I3ad605df4276c31b8bac8a6d46dcac0eaacf1c9e
2020-02-11 01:31:11 +00:00
Automerger Merge Worker
0d8788688f Merge "Update sepolicy to allow pushing atoms from surfaceflinger to statsd" am: c95ae9044d
Change-Id: Iad64c0ba3034f8a9fec168a72bfe60962b767fe1
2020-02-11 01:17:44 +00:00
Automerger Merge Worker
e3ae58f557 Merge "Allow dumpstate access to /dev/binderfs/binder_logs" am: d13e12f9cc am: 6a18420ec5
Change-Id: Ia6e58a079531ef0da25c82c38014297e02363971
2020-02-11 01:03:38 +00:00
Alec Mouri
c95ae9044d Merge "Update sepolicy to allow pushing atoms from surfaceflinger to statsd" 2020-02-11 01:01:20 +00:00
Automerger Merge Worker
6a18420ec5 Merge "Allow dumpstate access to /dev/binderfs/binder_logs" am: d13e12f9cc
Change-Id: I6246c08580580833f6a50fa3c7803c2dc89dbcf5
2020-02-11 00:49:42 +00:00
Treehugger Robot
d13e12f9cc Merge "Allow dumpstate access to /dev/binderfs/binder_logs" 2020-02-11 00:40:23 +00:00
Wei Wang
e55f2318d5 grant power hal client to access stable power hal service
Bug: 147913776
Test: Build
Change-Id: Ibf0d6b7b5b4ac71994de53922d9ce685bdc5f704
2020-02-10 16:32:35 -08:00
Automerger Merge Worker
a0eacce8e5 Merge "Revert "Add sepolicy for persist.nfc"" am: a85454834d am: 456f93e9f3
Change-Id: I46a54f0dcfe3db034c2d70a8bfadbc347c03564e
2020-02-11 00:08:34 +00:00
Automerger Merge Worker
456f93e9f3 Merge "Revert "Add sepolicy for persist.nfc"" am: a85454834d
Change-Id: Ib46567f04860322a68802d132414ccb442d8a9f4
2020-02-10 23:58:35 +00:00
Jon Spivack
a85454834d Merge "Revert "Add sepolicy for persist.nfc"" 2020-02-10 23:42:41 +00:00
Hridya Valsaraju
4ea5709bc4 Allow dumpstate access to /dev/binderfs/binder_logs
These permissions allow dumpstate to access binder logs
from /dev/binderfs.
avc: denied { read } for name="binder_logs" dev="binder" ino=1048580
scontext=u:r:dumpstate:s0 tcontext=u:object_r:binderfs_logs:s0 tclass=dir permissive=0
avc: denied { read } for comm="dumpstate" name="failed_transaction_log"
dev="binder" ino=1048585 scontext=u:r:dumpstate:s0
tcontext=u:object_r:binderfs_logs:s0 tclass=file permissive=1
avc: denied { open } for comm="dumpstate"
path="/dev/binderfs/binder_logs/failed_transaction_log"
dev="binder" ino=1048585 scontext=u:r:dumpstate:s0
tcontext=u:object_r:binderfs_logs:s0 tclass=file permissive=1
avc: denied { getattr } for comm="dumpstate"
path="/dev/binderfs/binder_logs/failed_transaction_log"
dev="binder" ino=1048585 scontext=u:r:dumpstate:s0
tcontext=u:object_r:binderfs_logs:s0 tclass=file permissive=1

Test: adb shell dumpstate
Bug: 136497735
Change-Id: I5ff7223e431aab9baa3527570fff2da71ab6feb0
2020-02-10 12:47:35 -08:00
Jon Spivack
c7bc7ee309 Revert "Add sepolicy for persist.nfc"
This reverts commit 34240604aa.

Reason for revert: Droidcop: Potential culprit for Bug149218822- verifying through Forrest before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: Iaba9f6e9125ac456a5787b1fcbb67d68c91c5f42
2020-02-10 19:08:31 +00:00
Alec Mouri
b254ff2d5b Update sepolicy to allow pushing atoms from surfaceflinger to statsd
Bug: 148543048
Test: builds
Test: statsd_testdrive
Change-Id: I8ea6659d575fa2e7e5961dc1fea3219c238c9e41
2020-02-10 09:50:53 -08:00
Automerger Merge Worker
361eaf967f Merge "property_contexts: add cache for getDisplayInfo." am: 8b02ee96f1 am: 92424b8323
Change-Id: I2595c83c0e5a29edb4e0727bba5e41c3bb4f0064
2020-02-10 17:48:39 +00:00
Automerger Merge Worker
f0531762ca Merge "Add userspace_reboot_log_prop" am: 4119b07d1b am: 250f731efd
Change-Id: I67a4805295396312a3c8aa9f652ae9726c88cfdb
2020-02-10 17:48:10 +00:00
Automerger Merge Worker
92424b8323 Merge "property_contexts: add cache for getDisplayInfo." am: 8b02ee96f1
Change-Id: Ib92ee6f92888cf08298140e1186a3bd425805c9d
2020-02-10 17:40:21 +00:00
Automerger Merge Worker
250f731efd Merge "Add userspace_reboot_log_prop" am: 4119b07d1b
Change-Id: Id2fc710764841f92d7640bfe306d7ab59784a69d
2020-02-10 17:34:12 +00:00
Treehugger Robot
8b02ee96f1 Merge "property_contexts: add cache for getDisplayInfo." 2020-02-10 17:29:04 +00:00
Nikita Ioffe
4119b07d1b Merge "Add userspace_reboot_log_prop" 2020-02-10 17:22:03 +00:00
Automerger Merge Worker
dd55cc6f03 Merge "Reland: Rework platform version to hide codenames." am: d21ecebb27 am: 4d83a33d41
Change-Id: Ifd82439f5517bfb96c1dd8993a065c928fae45a8
2020-02-10 16:33:51 +00:00
Automerger Merge Worker
4d83a33d41 Merge "Reland: Rework platform version to hide codenames." am: d21ecebb27
Change-Id: Ib58bd7a62f077e4efae7a6b40cba38507de52f47
2020-02-10 16:22:30 +00:00
Treehugger Robot
d21ecebb27 Merge "Reland: Rework platform version to hide codenames." 2020-02-10 15:58:38 +00:00
Wei Wang
5927933c70 Fix: dumpstate HAL service property context
http://aosp/678384 changed property format

Fixes: 137695210
Bug: 147730517
Test: inject timeout and take BR see dumpstate restarted
Change-Id: Ie24e2d42e92410a935ca4c9364b476d72aa459f3
Merged-In: Ie24e2d42e92410a935ca4c9364b476d72aa459f3
(cherry picked from commit 046c510402)
2020-02-10 14:20:14 +00:00
Automerger Merge Worker
0635260a99 Merge "Add sepolicy for persist.nfc" am: 036eb2518d am: 49e3bbdb1d
Change-Id: I66f17a4b6db9f41dba83d85bfed894977cedf84a
2020-02-10 11:42:31 +00:00
Automerger Merge Worker
49e3bbdb1d Merge "Add sepolicy for persist.nfc" am: 036eb2518d
Change-Id: I9394631e48401963ded6851257dada8bdc45311d
2020-02-10 11:27:26 +00:00
Treehugger Robot
036eb2518d Merge "Add sepolicy for persist.nfc" 2020-02-10 11:15:36 +00:00
Automerger Merge Worker
13fdf76ee0 Merge "Move some properties to system_vendor_config_prop" am: 219137d6ca am: 814d38a94c
Change-Id: I4008f416d170c1730409c022fe9c2d35a0f37d47
2020-02-09 02:13:13 +00:00
Automerger Merge Worker
814d38a94c Merge "Move some properties to system_vendor_config_prop" am: 219137d6ca
Change-Id: Ic24749fb024fe713c7d2f5b63239e8e570fb31e3
2020-02-09 01:59:19 +00:00
Treehugger Robot
219137d6ca Merge "Move some properties to system_vendor_config_prop" 2020-02-09 01:38:26 +00:00
Automerger Merge Worker
5c5c4258f5 Merge "Remove "ro." prefix from sdk extension props" am: 88ab8e9c75 am: a97d499ebd
Change-Id: I5baf69c39357afb04cadf7e84112747e1ac548c9
2020-02-08 11:57:14 +00:00