diff options
author | Alistair Delva <adelva@google.com> | 2021-03-09 11:04:23 -0800 |
---|---|---|
committer | Alistair Delva <adelva@google.com> | 2021-03-09 19:18:50 +0000 |
commit | 63594a4dbc56bd49e55cf7a1cad719cb11242691 (patch) | |
tree | 1ce4e32c6a9602960433e4e0990468b1fcf74b83 /debuggerd/debuggerd_test.cpp | |
parent | 3bb240bd4ce66f6e85dd8a4b5218ac565841a02c (diff) |
Allow selinux to be set by bootconfig
The androidboot.selinux property is loaded in a special way, because it
happens in the "selinux_setup" stage, and not the true second stage.
Allow it to be passed through bootconfig instead of only via the kernel
cmdline.
Bug: 173815685
Test: launch_cvd -extra_kernel_cmdline androidboot.selinux=permissive
Test: launch_cvd -guest_enforce_security=false [bootconfig method]
[..]
init: Permissive SELinux boot, forcing sys.init.perf_lsm_hooks to 1.
[..]
Change-Id: I92003c7a2dac5d6e7d0e0f4ee2757f86cc0087c7
Diffstat (limited to 'debuggerd/debuggerd_test.cpp')
0 files changed, 0 insertions, 0 deletions