- Aug 08, 2017
-
-
Dan Cashman authored
Commit: 2490f1ad meant to add thermalserviced_tmpfs to the new_object list in the mapping file, but copy-paste error resulted in thermalserviced_exec_tmpfs being recorded instead. Fix this. (cherry-pick of commit: fbacc656) Bug: 62573845 Test: None. prebuilt change. Change-Id: Iab4eaef04742187d6397a539aae854651caa9935
-
- Aug 04, 2017
-
-
Todd Kennedy authored
A new API [getNamesForUids] was recently added to the PackageManager and this API needs to be accessible to native code. However, there were two constraints: 1) Instead of hand-rolling the binder, we wanted to auto generate the bindings directly from the AIDL compiler. 2) We didn't want to expose/annotate all 180+ PackageManager APIs when only a single API is needed. So, we chose to create a parallel API that can be used explicitly for native bindings without exposing the entirety of the PackageManager. Bug: 62805090 Test: Manual Test: Create a native application that calls into the new service Test: See the call works and data and returned Change-Id: I0d469854eeddfa1a4fd04b5c53b7a71ba3ab1f41
-
Dan Cashman authored
Commit: ec3b6b7e added a new daemon and corresponding types to sepolicy. The explicitly declared types were added to 26.0.ignore.cil to reflect the labeling of new objects, but another type, thermalserviced_tmpfs was created by macro and was missed in code review. Add it as well. Bug: 62573845 Test: None. prebuilt change. Change-Id: Ia8968448eea0be889911f46fe255f581659eb548 (cherry picked from commit 2490f1ad)
-
Todd Poynor authored
Add sepolicy for thermalserviced daemon, IThermalService binder service, IThermalCallback hwservice, and Thermal HAL revision 1.1. Test: manual: marlin with modified thermal-engine.conf Bug: 30982366 Change-Id: I207fa0f922a4e658338af91dea28c497781e8fe9 (cherry picked from commit ec3b6b7e)
-
- Jul 31, 2017
-
-
Dan Cashman authored
Commit: 5aef6a94 added a new type, system_net_netd_hwservice, for a new hwservice. Record this in the compatibility infrastructure as labeling a new object, rather than relabeling one from O. Bug: 62573845 Test: None. Prebuilt change only. Change-Id: If360eb9e05684d9b47316d53e494aa773485e93f
-
Dan Cashman authored
Commit: 3eed3eac added the compatibility statement for the new mediaprovider app domain, but it missed another new, private type, mediaprovider_tmpfs, that is automatically created for all appdomains. It replaces priv_app_tmpfs, but since both types are private, they do not need to be added to the actual mapping (vendor policy cannot use it). Bug: 62573845 Test: None. Prebuilt-only change. Change-Id: I62229a5be74cd928fe0ca82a45b73cb61d6f5223
-
Dan Cashman authored
Commit: 632bc494 added hwservice labeling and was cherry-picked to oc-dev, but the hal_wifi_offload_hwservice type was not part of the cherry-pick because the service was not in oc-dev. Record the type for compatibility purposes. Bug: 62573845 Test: None. Prebuilt change only. Change-Id: Ib2c0fe862eddb566fbe6b0287238fa93dddae7b8
-
- Jul 25, 2017
-
-
Michael Butler authored
Bug: 63905942 Test: mm -j40 Change-Id: I354ee863475aedd2dc9d2b436a00bcd82931456f (cherry picked from commit 4fc5fb5e521347d65dc921f8c1fb751c66f9a92c)
-
- Jul 18, 2017
-
-
Dan Cashman authored
This type was removed in commit: 93166cef and no longer needs to be included in compatibility infrastructure. Bug: 62573845 Test: None, prebuilt change. Change-Id: I9dc05512c7fcb3ef4445c4c6b040809a1d595282
-
- Jul 12, 2017
-
-
Lorenzo Colitti authored
This reinstates the exception for netd_stable_secret_prop, which was added after O sepolicy freeze. This exception, along with the corresponding core sepolicy change, was reverted in order to allow these policies to be added to per-device sepolicy. DO NOT SUBMIT until http://ag/2528214 has automerged to master. This reverts commit 777c8ee0. Bug: 17613910 Bug: 62573845 Test: make -j64 bootimage Change-Id: I20b52f1d8e1c0cbb18a339bf45586dacbc7405ad
-
- Jul 11, 2017
-
-
Lorenzo Colitti authored
This will allow removing the netd_stable_secret_prop from common policy in master. It will be re-added after the wahoo-specific sepolicy for netd_stable_secret_prop lands in oc-dr1-dev, is automerged to master, and then is reverted in master. This reverts commit ebea2b45. Bug: 17613910 Bug: 62573845 Test: None, prebuilt change only. Change-Id: I1234326d2fe6446e7e09ba9e97187518fa9bce33
-
- Jul 07, 2017
-
-
Dan Cashman authored
Commit: e58a8de5 added a new type which has no analogue in 26.0. Record it as such. Bug: 62573845 Test: None. Prebuilt change only. Change-Id: I6b6d2aa64e0ac2c39c8d0427d333e6c7fc2b0bb1
-
Dan Cashman authored
Commit: 86cb5215 gave /dev/memcg a new label, but also explicitly prohibited access to vendor domains. Add the type to the 'new types' and don't map it to any other type for backwards compatibility. Bug: 62573845 Test: None. Prebuilt change only. Change-Id: I8902716830b162ead69834544ace9e02a94c65b4
-
Dan Cashman authored
Commit: 38f0928f added a type for a new system service. This service did not exist previously, so mark the type as not needing any compat entry. Bug: 62573845 Test: None. Prebuilt change only. Change-Id: I52d8e144c614b27f5c52fa99be6cfac87159bbcd
-
Dan Cashman authored
Commit: 78e595de added a new hwservice, which replaced a previous system service. This effectively means we are deleting one object and creating a new one, so no compatibility mapping should be necessary since previous vendor processes trying to access the service will not be able to find it now independent of policy. Bug: 62573845 Test: None. Prebuilt change only. Change-Id: I6882d968dccb55561379e940f6ecb62902bb1659
-
- Jul 05, 2017
-
-
Dan Cashman authored
Commit: abb1ba65 added policy for a new property, which was not present in O. This policy introduced a new type. Record it as such. Bug: 62573845 Test: None, prebuilt change only. Change-Id: I7d90cd69a5e6e29677598cc109676d5b1ce5ba05
-
Dan Cashman authored
Commit: 50889ce0 added policy for a new service, which was not present in O. This policy introduced a new type. Record it as such. Bug: 62573845 Test: None, prebuilt change only. Change-Id: If9cfaff813c47d3b1c8374e8abfb4aedb902d486
-
Dan Cashman authored
Commit: 11bfcc1e added policy for a new socket which was not present in O. This socket has a new type associated with it. Record the type as a new type so that compatibility testing will not complain. Bug: 62573845 Test: None, prebuilt change only. Change-Id: I375fc9ca0bd201e277a0302d9b34c0da0eb40fbd
-
Dan Cashman authored
Commit 5f573ab2 added policy for the additions of upstream fs tools. Make sure the new types are denoted as such (no object relabeling needs to be done) and that objects which are relabeled are. Bug: 35219933 Bug: 62573845 Test: None. Prebuilt change only. Change-Id: I6515e05ebc60ca08e98029f471cf2861826036fc
-
- Jun 27, 2017
-