- Jun 07, 2017
-
-
Jerry Zhang authored
This reverts commit c00c07c1. Change-Id: I0c4f5e8cece9c48672a5210adb7e8427e4fd427a
-
- Jun 02, 2017
-
-
Jerry Zhang authored
This reverts commit c147b592. The new domain changed neverallows, breaking CTS compatability. Revert the domain now, with the intention to re-add for the next release. Bug: 62102757 Test: domain is set to priv_app Change-Id: I907ff7c513cd642a306e3eaed3937352ced90005
-
- Jun 01, 2017
-
-
Andrew Scull authored
am: 39a81fd5 Change-Id: I0e7a02ff77ef0e6490a481229e042145c9dfb89a
-
Andrew Scull authored
am: e8d4bec7 Change-Id: I14ea238856a8401427b02747ebb2c5750cc5e85f
-
Andrew Scull authored
am: 60e4fd9d Change-Id: I1628907aeb743c3cb0938e7993237206523fdeb5
-
Andrew Scull authored
am: cd267450 Change-Id: I20479829d542df345275c0c2b4512788a30fba4c
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
Neil Fuller authored
am: 911e236a -s ours Change-Id: I0a1cf351e40f81c1ee26bc5b722f99ae4e242b7e
-
Neil Fuller authored
Test: I solemnly swear I tested this conflict resolution. Change-Id: Icadf7c72ad173c134d3e95bb5b93c2b54b1b703e
-
Steve Muckle authored
am: 06a4b61b Change-Id: I50d8c90eaba6161e839ceb9fc87a41540e15eead
-
Steve Muckle authored
am: fc1d8d99 Change-Id: Id41f7097fd0a48739293d4f8f06f296d0f189684
-
TreeHugger Robot authored
-
Andrew Scull authored
am: 7c4f46b5 Change-Id: I88aa64b8847456f66310d632ee86929a76dfaf7b
-
Andrew Scull authored
am: b0d59450 Change-Id: If85613b84aecf43b0519bb933d925eb1829e3d5e
-
Neil Fuller authored
am: 2ff75628 Change-Id: I66cf4111e4d17e698cea7c8dc44d3294ce20a4ac
-
Neil Fuller authored
am: 34b4b737 Change-Id: If25147ce3439abd0ab4a3abc1e330b373e43d9cb
-
Steve Muckle authored
Modprobe requires this permission or the following denial will prevent loading of signed kernel modules: audit: type=1400 audit(27331649.656:4): avc: denied { search } for pid=448 comm="modprobe" scontext=u:r:modprobe:s0 tcontext=u:r:kernel:s0 tclass=key permissive=0 Bug: 62256697 Test: Verified signed module loading on sailfish. Change-Id: Idde41d1ab58e760398190d6686665a252f1823bb
-
Neil Fuller authored
Add policy changes to enable a new service. The service is currently switched off in config, but this change is needed before it could be enabled. Bug: 31008728 Test: make droid Merged-In: I29c4509304978afb2187fe2e7f401144c6c3b4c6 Change-Id: I29c4509304978afb2187fe2e7f401144c6c3b4c6
-
TreeHugger Robot authored
-
- May 31, 2017
-
-
TreeHugger Robot authored
-
Jeff Vander Stoep authored
With project Treble, we're relying heavily on attributes for permission inheritance and enforcement of separation between platform and vendor components. We neead tests that verify those attributes are correctly applied. This change adds the framework for those tests including a wrapper around libsepol for loading and querying policy, and a python module for running tests on policy and file_contexts. Included with the testing framework is a test asserting that the coredomain attribute is only applied to core processes. This verification is done using the following rules: 1. Domain's entrypoint is on /system - coredomain 2. Domain's entrypoint is on /vendor - not coredomain 3. Domain belongs to a whitelist of known coredomains - coredomain In a subsequent commit these tests will be applied at build time. However, I first need to fix existing Treble violations exposed by this test. These tests will also be applied during CTS. Test: LD_PRELOAD=$ANDROID_HOST_OUT/lib64/libsepolwrap.so python \ treble.py -p $OUT/vendor/etc/selinux/precompiled_sepolicy \ -f $OUT/vendor/etc/selinux/nonplat_file_contexts \ -f $OUT/system/etc/selinux/plat_file_contexts Bug: 37008075 Change-Id: I7825f5c2909a5801deaccf2bef2bfd227adb0ae9
-
Neil Fuller authored
Add policy changes to enable a new service. The service is currently switched off in config, but this change is needed before it could be enabled. Bug: 31008728 Test: make droid Change-Id: I29c4509304978afb2187fe2e7f401144c6c3b4c6
-
Andrew Scull authored
This is sometimes used for communication with the bootloader. Bug: 62052545 Test: Build Change-Id: I3ae37793407719e55ab0830129aa569c9018f7da
-
Andrew Scull authored
Bug: 38232801 Test: Build Change-Id: Iccc16430e7502bb317f95bb2a5e2f021d8239a00
-
Andrew Scull authored
Bug: 38233550 Test: Build Change-Id: I7c2105d5f215a60a611110640afff25fc3403559
-
Narayan Kamath authored
SEPolicy: Allow app / system_server to write to dumpstate pipes. am: a34781ae am: 32c7000e am: b25e8823 am: bf7a5bd6 Change-Id: I13dfde61b2d69ba690fbb6a1bf5aab76f990dbf9
-
Narayan Kamath authored
am: b25e8823 Change-Id: I778011a48800ace4d865813b148efcdd88d166bb
-
Narayan Kamath authored
am: 32c7000e Change-Id: I57d3af7a930f77be74feba88d9875c9b5b90ab7c
-
Narayan Kamath authored
am: a34781ae Change-Id: Ic4103ff418e69f000198bb588f0cfccc578ba324
-
Narayan Kamath authored
am: 6d9f42f0 Change-Id: I1894493c01399348bf0d83679bc119d00acc149e
-
TreeHugger Robot authored
-
Narayan Kamath authored
tombstoned allows dumpstate to install "intercepts" to java trace requests for a given process. When an "intercept" is installed, all trace output is redirected to a pipe provided by dumpstate instead of the default location (usually in /data/anr or /data/tombstone). Note that these processes are already granted "write" and "getattr" on dumpstate:fifo_file in order to communicate with dumpstate; this change adds "append" to the existing set of permissions. Bug: 32064548 Test: manual Change-Id: Iccbd78c59071252fef318589f3e55ece51a3c64c
-
Narayan Kamath authored
SEPolicy: Changes for new stack dumping scheme. am: e628cb5b am: 5e8fe834 am: 51a01817 -s ours am: a7d87b94 -s ours Change-Id: I8c2250afc39882dc3ee0b9888e3fb2e1d872cb8a
-
Narayan Kamath authored
am: 51a01817 -s ours Change-Id: I4ecaa2194614148b4b50245e6250bdde02206160
-
Narayan Kamath authored
Applications connect to tombstoned via a unix domain socket and request an open FD to which they can write their traces. This socket has a new label (tombstoned_java_trace_socket) and appdomain and system_server are given permissions to connect and write to it. Apps no longer need permissions to open files under /data/anr/ and these permissions will be withdrawn in a future change. Bug: 32064548 Test: Manual (cherry picked from commit a8832dabc7f3b7b2381760d2b95f81abf78db709) (cherry picked from commit 11bfcc1e) Change-Id: Icc60d227331c8eee70a9389ff1e7e78772f37e6f
-
Narayan Kamath authored
am: 5e8fe834 Change-Id: Ibfe717b42fc26da2ec7876143b8cf0445a20eaec
-
Narayan Kamath authored
am: e628cb5b Change-Id: If2ce6fbf2b897d58da78430a7bae0fd6fb6e5a49
-
Narayan Kamath authored
Applications connect to tombstoned via a unix domain socket and request an open FD to which they can write their traces. This socket has a new label (tombstoned_java_trace_socket) and appdomain and system_server are given permissions to connect and write to it. Apps no longer need permissions to open files under /data/anr/ and these permissions will be withdrawn in a future change. Bug: 32064548 Test: Manual Merged-In: I70a3e6e230268d12b454e849fa88418082269c4f Change-Id: Ib4b73fc130f4993c44d96c8d68f61b6d9bb2c7d5
-