- Jun 06, 2017
-
-
Jeff Vander Stoep authored
am: c85b8596 -s ours Change-Id: I32f3b92444637ac4f62b53bc7b66daa64c6bd7dd
-
Sandeep Patil authored
am: 0a53f1d4 Change-Id: I15df35ef6ab490530d20bfca4cab168607b72668
-
Jeff Vander Stoep authored
am: 8ae0bd62 -s ours Change-Id: I53305cfdaa523542b6795bd1c31c7eaa6e3b91af
-
Jeff Vander Stoep authored
am: 1fc0682e Change-Id: I5f6adf8043686e1dbc5327b6845d710e6f673256
-
Sandeep Patil authored
am: e41af203 Change-Id: I586cf07d87339f83d66919871d1531e9b8d79c4e
-
Jeff Vander Stoep authored
am: bdfc0301 Change-Id: Ifafca851d39158cff053f4205583dd22f89070c8
-
Josh Gao authored
It appears that selinux requires the write permission to receive a writable pipe from dumpstate, for unclear reasons. Add the permission for now. Bug: http://b/62297059 Test: dumpstate Merged-In: I0f25682177115aacd5c2203ddc0008228b0380ad Change-Id: I0f25682177115aacd5c2203ddc0008228b0380ad (cherry picked from commit 7aa08523)
- Jun 05, 2017
-
-
Josh Gao authored
It appears that selinux requires the write permission to receive a writable pipe from dumpstate, for unclear reasons. Add the permission for now. Bug: http://b/62297059 Test: dumpstate Change-Id: I0f25682177115aacd5c2203ddc0008228b0380ad
-
Jeff Vander Stoep authored
Bug: 37008075 Test: build policy on Marlin Change-Id: I53748f94c5df66fa17a53e7d0bed1be6b8603544 (cherry picked from commit e1ddc6df)
-
Sandeep Patil authored
modprobe domain was allowed to launch vendor toolbox even if its a coredomain. That violates the treble separation. Fix that by creating a separate 'vendor_modprobe' domain that init is allowed to transition to through vendor_toolbox. Bug: 37008075 Test: Build and boot sailfish Change-Id: Ic3331797691bb5d1fdc05a674aa4aa313e1f86b2 Signed-off-by:
Sandeep Patil <sspatil@google.com> (cherry picked from commit 9e366a0e)
-
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 (cherry picked from commit 0366afdf)
-
- Jun 04, 2017
-
-
Jeff Vander Stoep authored
Consolidate ctypes boilerplate code, and other cleanup. Change-Id: I06c1d6acc9511f2f6d491c8ca2d4b630fd4120fd Test: build policy
-
- Jun 03, 2017
-
-
Chih-Hung Hsieh authored
am: 1b70d896 Change-Id: I9aaf78ffb28b8319e2011400f45f34ef93322cb3
-
TreeHugger Robot authored
* changes: Run Treble sepolicy tests at build time Fix coredomain violation for modprobe
-
Chih-Hung Hsieh authored
am: 7a31444a Change-Id: I71e33a0923e9f17c35b91172c81612d420a10c0b
-
Chih-Hung Hsieh authored
am: 05121724 Change-Id: I6c8f336aed4833d6c9f9765a8768bba4b496a40e
-
Chih-Hung Hsieh authored
am: e77d9eea Change-Id: I3e4c83d962b1a4c9fbfba83ffd0df5fc8d59c8fc
-
Treehugger Robot authored
-
Chih-Hung Hsieh authored
Owners are selected from top CL approvals or owners. They will be suggested to review/approve future CLs. Test: build/make/tools/checkowners.py -c -v OWNERS Change-Id: I3d7f4c06209c22dea0d824429d68997f7179985f
-
Josh Gao authored
-
- Jun 02, 2017
-
-
Jeff Vander Stoep authored
Bug: 37008075 Test: build policy on Marlin Change-Id: I53748f94c5df66fa17a53e7d0bed1be6b8603544
-
Sandeep Patil authored
modprobe domain was allowed to launch vendor toolbox even if its a coredomain. That violates the treble separation. Fix that by creating a separate 'vendor_modprobe' domain that init is allowed to transition to through vendor_toolbox. Bug: 37008075 Test: Build and boot sailfish Change-Id: Ic3331797691bb5d1fdc05a674aa4aa313e1f86b2 Signed-off-by:
Sandeep Patil <sspatil@google.com>
-
Josh Gao authored
Bug: http://b/62297059 Test: mma Merged-In: Ibcd93e5554a9c2dd75fbfb42294fbc9b96ebc8cc Change-Id: Ibcd93e5554a9c2dd75fbfb42294fbc9b96ebc8cc (cherry picked from commit 17885f14)
-
Josh Gao authored
Bug: http://b/62297059 Test: mma Change-Id: Ibcd93e5554a9c2dd75fbfb42294fbc9b96ebc8cc
- 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
-