commit | df2620ada4155e4123952500cf148f9b2aefe3c1 | [log] [tgz] |
---|---|---|
author | Miodrag Dinic <miodrag.dinic@imgtec.com> | Thu Jul 16 16:27:17 2015 +0200 |
committer | Miodrag Dinic <miodrag.dinic@imgtec.com> | Thu Jul 16 20:36:07 2015 +0200 |
tree | 62813b32e701a2095833b0e2e06be49e5f37d19e | |
parent | f737a1209841aee5ac76e39677d8ddba0115cae2 [diff] |
file_contexts: Label /dev/ttyS2 as console_device This fixes the issue with the emulator "-shell" option. Init tries to open the console which is passed through the kernel androidboot.console property, but fails to open it because "avc" denies it. Init only has permissions to open console_device in rw mode. This ensures that /dev/ttyS2 is properly labeled as console_device. Replaced tabs with spaces. Change-Id: I9ef94576799bb724fc22f6be54f12de10ed56768