Commit graph

23013 commits

Author SHA1 Message Date
Automerger Merge Worker
970774040b permissioncontroller_app: add a rule for IProxyService_service am: 6570d6d3c7 am: aaffa3b9e7
Change-Id: Ia6a536f46d50a9682e8fe941dc119c2519786d52
2019-12-27 01:16:02 +00:00
Ashwini Oruganti
aaffa3b9e7 permissioncontroller_app: add a rule for IProxyService_service
am: 6570d6d3c7

Change-Id: I02436278c4b63d0dbd90d14d0c157eed8fc16568
2019-12-26 17:01:14 -08:00
Ashwini Oruganti
6570d6d3c7 permissioncontroller_app: add a rule for IProxyService_service
Noticed denials in go/sedenials. This permission is currently granted to
priv_app via app_api_service.

Bug: 142672293
Test: TH
Change-Id: I9834044b2ba13b12694e88ae5cec8eb5c38c658c
2019-12-26 15:34:00 -08:00
Automerger Merge Worker
e725262f7f Revert "Reland: "Add userspace_reboot_config_prop property type"" am: 2848fa4d8b am: 9a3f2533af
Change-Id: I73e8f3af589aaf990487d02a87b34e96c2a41d02
2019-12-26 16:20:47 +00:00
Nikita Ioffe
9a3f2533af Revert "Reland: "Add userspace_reboot_config_prop property type""
am: 2848fa4d8b

Change-Id: I6838c47c79c43625b2265925c696b9f1c74355ce
2019-12-26 08:18:29 -08:00
Nikita Ioffe
2848fa4d8b Revert "Reland: "Add userspace_reboot_config_prop property type""
This reverts commit 7b53803b53.

Reason for revert: breaks build
Exempt-From-Owner-Approval: revert to fix broken build
Change-Id: Ic26ee0a8b0a54b86034970e2b18edf0b5f4ec46f
2019-12-26 16:14:45 +00:00
Automerger Merge Worker
8c506f34cd Reland: "Add userspace_reboot_config_prop property type" am: 7b53803b53 am: 3ede7f3af7
Change-Id: I178f803955fdef2c340f82141e7c638762ecd7de
2019-12-26 16:14:11 +00:00
Nikita Ioffe
3ede7f3af7 Reland: "Add userspace_reboot_config_prop property type"
am: 7b53803b53

Change-Id: I81a1171a9eb12fb945aeb1e067bfd300d64337b8
2019-12-26 08:02:05 -08:00
Nikita Ioffe
7b53803b53 Reland: "Add userspace_reboot_config_prop property type"
Only difference with
https://android-review.googlesource.com/c/platform/system/sepolicy/+/1198254
is userspace_reboot_config_prop is now system_restricted_prop.

Marking it as system_internal_prop breaks build:
neverallow check failed at out/target/product/generic/obj/ETC/built_plat_sepolicy_intermediates/built_plat_sepolicy:11968 from system/sepolicy/public/property.te:230
(neverallow base_typeattr_210 base_typeattr_467 (file (ioctl read write create setattr lock relabelfrom append unlink link rename open watch watch_mount watch_sb watch_with_perm watch_reads)))
<root>
allow at out/target/product/generic/obj/ETC/built_plat_sepolicy_intermediates/built_plat_sepolicy:13021
(allow vendor_init base_typeattr_502 (file (read getattr map open)))

Test: flash && adb shell getprop ro.init.userspace_reboot.is_supported
Test: m checkbuild
Bug: 135984674
Change-Id: I6f54dcff8d9b62224f315452e9c320648422b5db
2019-12-24 12:44:36 +00:00
Automerger Merge Worker
8c9b9e4fff Merge "binder_use: Allow servicemanager callbacks" am: a2f0fdfddd am: 7f2d67e039
Change-Id: I177d59b8cfa8af513c9f4fdcad34615a114d8da6
2019-12-23 20:22:50 +00:00
Jon Spivack
7f2d67e039 Merge "binder_use: Allow servicemanager callbacks"
am: a2f0fdfddd

Change-Id: Ic34deaf57c9c94e48f832b7447993064ec545317
2019-12-23 12:11:24 -08:00
Jon Spivack
a2f0fdfddd Merge "binder_use: Allow servicemanager callbacks" 2019-12-23 20:04:33 +00:00
Automerger Merge Worker
c25e123729 Revert "Add userspace_reboot_config_prop property type" am: 3bd8767540 am: 5dfce326a1
Change-Id: I98babaa5666da64a71f5ad30917208b93c1439be
2019-12-23 19:29:15 +00:00
Jayachandran Chinnakkannu
5dfce326a1 Revert "Add userspace_reboot_config_prop property type"
am: 3bd8767540

Change-Id: Iae4b132381fc93241b6aa44eb14ae4197054dc6f
2019-12-23 11:13:28 -08:00
Jayachandran Chinnakkannu
3bd8767540 Revert "Add userspace_reboot_config_prop property type"
This reverts commit 8b570f0c60.

Reason for revert: b/146792618 multiple build breaks

Change-Id: Ieab05ce56826d2fc84d46940935705abd2e1a55f
2019-12-23 19:01:13 +00:00
Automerger Merge Worker
6f63d45d61 Add userspace_reboot_config_prop property type am: 8b570f0c60 am: 6801474288
Change-Id: Ib3ddb97666618cff14332119c2253df59f476834
2019-12-23 16:56:24 +00:00
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
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
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
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
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
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
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
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
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
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