- Apr 14, 2017
-
-
Jeff Vander Stoep authored
am: f169d6a3 Change-Id: Icbd24b2e2222746a6efb957e609912b30d3d8e5e
-
Jeff Vander Stoep authored
am: e453801d Change-Id: I1568b0c66ebd5932dbc5da353c40dbff02ceab26
-
Treehugger Robot authored
-
- Apr 13, 2017
-
-
Jerry Zhang authored
am: b04bb4bc Change-Id: I52a5adda63a2878fc7dd15d7b6a3f88294e88cf8
-
Jerry Zhang authored
am: f3b5bd64 Change-Id: I7515097dc3c410fdf3544d72d9d99be772f62d0c
-
Jeff Vander Stoep authored
Remove domain_deprecated from bluetooth. This removes some unnecessarily permissive rules. Bug: 25433265 Test: All of the permissions being removed were being audited. Verify that no audited (granted) avc messages for bluetooth exist in in the logs. Change-Id: Ifa12a0f1533edcb623bbb9631f88f1ff1d6d7085
-
Jerry Zhang authored
These were previously in device specific sepolicies. They should be in core sepolicy to reflect their use by a core init file, init.usb.configfs.rc. Addresses denial: init : type=1400 audit(0.0:135): avc: denied { unlink } for name="f1" dev="configfs" ino=10923 scontext=u:r:init:s0 tcontext=u:object_r:configfs:s0 tclass=lnk_file permissive=0 Test: denial addressed Change-Id: I869892f9d0c311b727462fb380f4160feb986215
-
- Apr 12, 2017
-
-
Dan Cashman authored
am: c1463bfb Change-Id: I252460e54aeae7f0e0fd84bf1aeeecddfe1225a6
-
Dan Cashman authored
am: 20fe64e7 Change-Id: Id1d70b14a7035d18b5bb6ef9720fc0b5689bb722
-
Treehugger Robot authored
-
Tom Cherry authored
am: 5f37f670 Change-Id: I6f8c6580a4ebe5f9099c3779548cf5ae46a9f3a8
-
Tom Cherry authored
am: f6eb2ad6 Change-Id: Ica844c95214cdf8b26a94e261f1f7a0ed734083c
-
Treehugger Robot authored
-
Jorge Lucangeli Obes authored
am: 45ca6898 Change-Id: I5dd0b816654108c8b01e39a622fd3696ca99c8f9
-
Jorge Lucangeli Obes authored
am: d16d039f Change-Id: I9778cef84531cfbbdead89be2bfaa48e4c067891
-
Treehugger Robot authored
-
- Apr 11, 2017
-
-
Tom Cherry authored
This was marked deprecated in 2014 and removed in 2015, let's remove the sepolicy now too. Test: see that logging still works on bullhead Change-Id: I4caa0dbf77956fcbc61a07897242b951c275b502
-
Sandeep Patil authored
am: 52f3c178 Change-Id: I669f86f7ed4d1d1338f33e39fd6b05bf89a34c94
-
Sandeep Patil authored
am: 9a3a6a81 Change-Id: If95f7f3f75f213549a15cdab969073a25b9776c3
-
Jorge Lucangeli Obes authored
With build/core eaa9d88cf, system_server should not be loading code from /data. Add an auditallow rule to report violations. Bug: 37214733 Test: Boot marlin, no SELinux audit lines for system_server. Change-Id: I2e25eb144503274025bd4fc9bb519555851f6521
-
Dan Cashman authored
Create PLATFORM_SEPOLICY_VERSION, which is a version string to represent the platform sepolicy of the form "NN.m" where "NN" mirrors the PLATFORM_SDK_VERSION and "m" is a policy-based minor version that is incremented with every policy change that requires a new backward-compatible mapping file to be added to allow for future-proofing vendor policy against future platform policy. (cherry-pick of commit 6f14f6b7) Bug: 36783775 Test: Device boots when sha256 doesn't match and compilation is forced. Change-Id: I4edb29824f2050a5a6e1bc078c100cf42e45c303
-
Sandeep Patil authored
The sepolicy version takes SDK_INT.<minor> format. Make sure our 'current' policy version reflects the format and make it '100000.0'. This ensures any vendor.img compiled with this will never work with a production framework image either. Make version_policy replace the '.' in version by '_' so secilc is happy too. This unblocks libvintf from giving out a runtme API to check vendor's sepolicy version. The PLAT_PUBLIC_SEPOLICY_CURRENT_VERSION will eventually be picked up from the build system. (cherry-pick of commit 42f95984) Bug: 35217573 Test: Build and boot sailfish. Boot sailfish with sepolicy compilation on device. Signed-off-by:
Sandeep Patil <sspatil@google.com> Change-Id: Ic8b6687c4e71227bf9090018999149cd9e11d63b
-
- Apr 10, 2017
-
-
Josh Gao authored
- Apr 07, 2017
-
-
Tianjie Xu authored
am: 8ee64187 Change-Id: I6c035c3e696531297ff8a3c09045acf6d2c98cd0
-
Tianjie Xu authored
am: 462cf398 Change-Id: I12d310b90e6863a56c1fc269ce237e93864d88f8
-
Tianjie Xu authored
-
Dan Cashman authored
am: 84b3879a Change-Id: I64c0a4e8ae9978fe8b809e21ae8b3e9b0b3feb98
-
Dan Cashman authored
am: 04ef57bf Change-Id: I906f85514efb4301ac0bafaf140deba7be76cdee
-
- Apr 06, 2017
-
-
Dan Cashman authored
This is a necessary first step to finalizing the SELinux policy build process. The mapping_sepolicy.cil file is required to provide backward compatibility with the indicated vendor-targeted version. This still needs to be extended to provide N mapping files and corresponding SHA256 outputs, one for each of the N previous platform versions with which we're backward-compatible. (cherry-pick of commit: 0e9c47c0) Bug: 36783775 Test: boot device with matching sha256 and non-matching and verify that device boots and uses either precompiled or compiled policy as needed. Also verify that mapping_sepolicy.cil has moved. Change-Id: I5692fb87c7ec0f3ae9ca611f76847ccff9182375
-
Josh Gao authored
Add /dev/kmsg_debug on userdebug devices, to allow crash_dump to log crashes to dmesg when logd isn't up yet (or is the one crashing). Bug: http://b/36574794 Test: stop tombstoned; crasher; dmesg Change-Id: I249e11291c58fee77098dec3fd3271ea23363ac9
-
Tianjie Xu authored
We want to track temperature metrics during an OTA update. denial message: denied { search } for pid=349 comm="recovery" name="thermal" dev="sysfs" ino=18029 scontext=u:r:recovery:s0 tcontext=u:object_r:sysfs_thermal:s0 tclass=dir permissive=0 denied { read } for pid=326 comm="recovery" name="temp" dev="sysfs" ino=18479 scontext=u:r:recovery:s0 tcontext=u:object_r:sysfs_thermal:s0 tclass=file permissive=0 Bug: 36920500 Bug: 32518487 Test: temperature logs on angler Change-Id: Ib70c1c7b4e05f91a6360ff134a11c80537d6015e
-
- Apr 04, 2017
-
-
Mark Salyzyn authored
am: 8da8e872 Change-Id: I84e2d4d81892ee48d0e3db3875c9dd0b49f3ce2d
-
Mark Salyzyn authored
am: b5b6e0c5 Change-Id: Ie55c6153a4484921cf85bff0fc64e2b345715ae1
-
Treehugger Robot authored
-
Tianjie Xu authored
am: 6429e000 Change-Id: I14d24ef85a8409adaffe4073e3697d21a2c2f05f
-
Tianjie Xu authored
am: fde87a96 Change-Id: Id1e696f18bd1091f4103c02b49e3fa2dd6fa8e1b
-
Tianjie Xu authored
-
Steven Moreland authored
am: 2261cab6 Change-Id: Id44a7c591e8d7640c89e74cb9e88ce7849439c29
-