commit | 82ca9a743a66603ed2848a4d8baef87091749ff4 | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Wed Jan 24 12:39:45 2018 -0800 |
committer | Tri Vo <trong@google.com> | Wed Jan 24 12:39:47 2018 -0800 |
tree | 24eba6eb17ed201b137fb6f6b4e8b5de625b5060 | |
parent | 30a532a1bf10ee41ed49f4b95d79abd3cca1c4dd [diff] |
Fix /sys denials. Labeled files linked from /sys/class/{rtc, net}. Fixes these denials: avc: denied { read } for pid=6413 comm="system_server" name="hctosys" dev="sysfs" ino=10068 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 avc: denied { write } for pid=4785 comm="Binder:4785_2" name="mtu" dev="sysfs" ino=9213 scontext=u:r:netd:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 Test: files labeled as expected; emulator boots without above denials. Change-Id: I8fd8cc993ede0ddfd4404c0647a60da4867ef128
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.