summaryrefslogtreecommitdiff
path: root/libutils/FileMap.cpp
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2013-06-26 15:37:26 -0700
committerNick Kralevich <nnk@google.com>2013-06-28 12:05:07 -0700
commit4838aa1b7b0f279ae6194ab1606922e2d1540f90 (patch)
tree206ebed5c12fa1911cb910416173940532b3146a /libutils/FileMap.cpp
parenteecf40fce8d502a9b35f79d73bba708bc35c9632 (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 'libutils/FileMap.cpp')
0 files changed, 0 insertions, 0 deletions