- Jul 12, 2017
-
-
Jeff Vander Stoep authored
am: 36bcc901 Change-Id: I0aafa7c4750c96e4dc872602a748b4bf211ee6e1
-
Jeff Vander Stoep authored
am: f6be4b66 Change-Id: I75c575577e7a7c99c140b092d3b490bd086de2db
-
TreeHugger Robot authored
-
Lorenzo Colitti authored
Merge "Temporarily revert the SELinux policy for persist.netd.stable_secret." am: c501c345 am: 98229375 am: f1d85fc1 am: 8358215d Change-Id: I782b305fc548faac35520a0e7413d77115fe8dd3
-
Lorenzo Colitti authored
Merge "Temporarily revert the SELinux policy for persist.netd.stable_secret." am: c501c345 am: 98229375 am: f1d85fc1 Change-Id: I818d200c6e95d7f28fae70ca6dfc3ea994f91239
-
Lorenzo Colitti authored
am: 98229375 Change-Id: I5e41b34370f507214d3dcdcedf16f3c29be77f65
-
Lorenzo Colitti authored
am: c501c345 Change-Id: I1b62a13240b49654fe8667909d23989d4651b37a
-
Lorenzo Colitti authored
-
Lorenzo Colitti authored
* changes: Temporarily remove netd_stable_secret_prop from compat infra. Temporarily revert the SELinux policy for persist.netd.stable_secret.
-
- Jul 11, 2017
-
-
Robert Benea authored
Test: I solemnly swear I tested this conflict resolution. Change-Id: Icf1e8ad95c40f497c731fa03dfd09d8b2c132aca
-
Robert Benea authored
am: ae342662 Change-Id: I610841f42f3cbb57d2b8d5df5758191a351d10fc
-
Robert Benea authored
am: 458b4593 Change-Id: Ieb0afbe6fb97da294fe44c075643c62ce24efbdc
-
Robert Benea authored
am: 6116489c Change-Id: Ie97e5fba4b46293888ad34c54fa0673909653651
-
Robert Benea authored
-
Jeff Vander Stoep authored
Ueventd needs write access to all files in /sys to generate uevents. Bug: 63147833 Test: build. Verify no ueventd denials in the logs. Change-Id: I89d33aab158dd192e761f14eff8afa1c71594bca
-
Jeff Vander Stoep authored
am: 53b987aa Change-Id: I3813dfca0efb4c933881b9f5ddddb5bc033c4cf1
-
Jeff Vander Stoep authored
am: 1f284f4b Change-Id: Ic767b5bc0320faed4733be10ff09103dccf4e929
-
Jeff Vander Stoep authored
am: 7297ea2a Change-Id: I37c6c64905e01ff4bf8d7a72c05fac3912dea793
-
Jeff Vander Stoep authored
am: a12aad45 Change-Id: I0cc33674afefeb455bd53702c304d9317ae2e937
-
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
-
Lorenzo Colitti authored
This change did not make it into core sepolicy in time for O. The revert allows devices to define these selinux policies in vendor-specific sepolicy instead of core sepolicy. It is necessary because: 1. It is too late to change property_contexts in O. 2. Adding the netd_stable_secret prop to vendor sepolicy results in a duplicate definition error at compile time. 3. Defining a new vendor-specific context (such as net_stable_secret_vendor_prop) and applying it to persist.netd.stable_secret results in the device not booting due to attempting to apply two different contexts to the same property. Lack of the sepolicy no longer breaks wifi connectivity now that IpManager no longer considers failure to set the stable secret to be a fatal error. Once all interested devices have adopted the vendor sepolicy, this policy can safely be reinstated by reverting said vendor sepolicies in internal master. This reverts commit abb1ba65. Bug: 17613910 Test: bullhead builds, boots, connects to wifi Change-Id: Idffcf78491171c54bca9f93cb920eab9b1c47709
-
Jeff Vander Stoep authored
Grant audited permissions collected in logs. tcontext=platform_app avc: granted { getattr } for comm=496E666C6174657254687265616420 path="/" dev="dm-0" ino=2 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir tcontext=system_app avc: granted { getattr } for comm="android:ui" path="/" dev="dm-0" scontext=u:r:system_app:s0 tcontext=u:object_r:rootfs:s0 tclass=dir avc: granted { getattr } for comm="android:ui" path="/" dev="dm-0" scontext=u:r:system_app:s0 tcontext=u:object_r:rootfs:s0 tclass=dir tcontext=update_engine avc: granted { getattr } for comm="update_engine" path="/" dev="dm-0" ino=2 scontext=u:r:update_engine:s0 tcontext=u:object_r:rootfs:s0 tclass=dir avc: granted { getattr } for comm="update_engine" path="/fstab.foo" dev="dm-0" ino=25 scontext=u:r:update_engine:s0 tcontext=u:object_r:rootfs:s0 tclass=file avc: granted { read open } for comm="update_engine" path="/fstab.foo" dev="dm-0" ino=25 scontext=u:r:update_engine:s0 tcontext=u:object_r:rootfs:s0 tclass=file Bug: 28760354 Test: build Change-Id: I6135eea1d10b903a4a7e69da468097f495484665
-
Robert Benea authored
Allow lmkd to access /dev/memcg once again. Test: lmkd can access memcg bug: 36588803 Change-Id: I1f46b438050d95cebd2fcc495938192305fc9fc9
-
Jeff Vander Stoep authored
am: 366be191 -s ours Change-Id: I1ed0ac5e1836c3f995f13082e5f144e8dc477d03
-
Jeff Vander Stoep authored
am: feb28130 Change-Id: I8f436b73a2ce7ffca91c192df35c827447253de3
-
Jeff Vander Stoep authored
am: 7f2fb741 Change-Id: I38c91b9f3fc127313918bbd74199013ae7910f2b
-
Jeff Vander Stoep authored
Test: build Change-Id: Ibb899aa88878f5fc3ade9df0208a8026f2a57b11
-
- Jul 10, 2017
-
-
TreeHugger Robot authored
-
Jeff Vander Stoep authored
am: 0ba84942 -s ours Change-Id: Ie42095397a6173d0d0ce91c007bfe3298f64bbfe
-
Jeff Vander Stoep authored
am: 664743bd Change-Id: I0f802840891ff66eb74aeaed602f791412d07ffb
-
Jeff Vander Stoep authored
am: 3ca77476 Change-Id: Ie9ebd530b380bd61fd62bb3cab171f0f7e27156e
-
Jeff Vander Stoep authored
am: 790f4c7e Change-Id: I0dcc870c1280baf37e03b66b244e2ff046fad35d
-
Jeff Vander Stoep authored
Logs indicate that all processes that require read access have already been granted it. Bug: 28760354 Test: build policy Merged-In: I5826c45f54af32e3d4296df904c8523bb5df5e62 Change-Id: I5826c45f54af32e3d4296df904c8523bb5df5e62
-
Jeff Vander Stoep authored
Address the "granted" permissions observed in the logs including: tcontext=uncrypt avc: granted { search } for comm="uncrypt" name="/" dev="mmcblk0p40" ino=2 scontext=u:r:uncrypt:s0 tcontext=u:object_r:cache_file:s0 tclass=dir tcontext=install_recovery avc: granted { search } for comm="applypatch" name="saved.file" scontext=u:r:install_recovery:s0 tcontext=u:object_r:cache_file:s0 tclass=dir avc: granted { read } for comm="applypatch" name="saved.file" dev="mmcblk0p6" ino=14 scontext=u:r:install_recovery:s0 tcontext=u:object_r:cache_file:s0 tclass=file avc: granted { getattr } for comm="applypatch" path="/cache/saved.file" dev="mmcblk0p6" ino=14 scontext=u:r:install_recovery:s0 tcontext=u:object_r:cache_file:s0 tclass=file tcontext=update_engine avc: granted { search } for comm="update_engine" name="cache" dev="sda35" ino=1409025 scontext=u:r:update_engine:s0 tcontext=u:object_r:cache_file:s0 tclass=dir" avc: granted { read } for comm="update_engine" name="update.zip" dev="sda35" ino=1409037 scontext=u:r:update_engine:s0 tcontext=u:object_r:cache_file:s0:c512,c768 tclass=file avc: granted { read } for comm="update_engine" name="cache" dev="dm-0" ino=16 scontext=u:r:update_engine:s0 tcontext=u:object_r:cache_file:s0 tclass=lnk_file Bug: 28760354 Test: build policy. Merged-In: Ia13fe47268df904bd4f815c429a0acac961aed1e Change-Id: Ia13fe47268df904bd4f815c429a0acac961aed1e
-
Dan Cashman authored
Platform SELinux policy may be updated without a corresponding update to non-platform policy. This is meant to be accomplished by maintaining a compatibility mapping file which will be built along with the current platform policy to link older non-platform policy. Introduce an example vendor policy built from 26.0 public policy and make sure that the current platform policy and mapping file, for that version, build with it. Add this as a dependency for the selinux_treble_tests, which are meant to ensure treble properties, ultimately to provide this compatibility guarantee. Bug: 36899958 Test: Current platform policy builds with oc-dev vendor policy and oc-dev mapping file. Removed private type with no effect. Removed public type without corresponding mapping entry causes build to fail. Change-Id: I7994ed651352e2da632fc91e598f819b64c05753
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
Jeff Vander Stoep authored
am: 7add3d05 -s ours Change-Id: I1fe69ed4c6d15720a2f64bc81a4d40b3d9582853
-
TreeHugger Robot authored
-
Jeff Vander Stoep authored
am: f9da0cba Change-Id: I18e469059df1e8704f6358a12b012932a39303cd
-