summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2013-06-26 15:37:26 -0700
committerNick Kralevich <nnk@google.com>2013-09-03 15:55:00 -0700
commit935bd3e31574ea83db84797b0dee2a6581a19cdf (patch)
tree50a90b98a7703f80fe3553ee8fd86e684540bcb9 /trusty/coverage/coverage_test.cpp
parent56fa0ac6b6e4ca790c0169c21a3106e09cab672c (diff)
init: allow disabling selinux via a kernel command line
Create a new "androidboot.selinux" option, to control how userspace handles SELinux. This kernel command line can have three options: * disabled * permissive * enforcing "disabled" completely disables userspace support for SELinux. No policy is ever loaded, nor is the SELinux filesystem /sys/fs/selinux ever mounted. "permissive" loads the SELinux policy, but puts SELinux into permissive mode. SELinux policy violations are logged, but not rejected. "enforcing", the default, loads the SELinux policy, and places SELinux into enforcing mode. Policy violations are rejected. This change addresses post review comments for change b710ed21dec88c0dde8209264df054c842561589 . Change-Id: I912583db8e6a0e9c63380de32ad8ffc47a8a440f
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions