defconfig: enable SELinux

Change-Id: I206b5bfc2bf5df17ee27ecd8ae80e24467cd64d0
Do not ratelimit audit messages. We want to see them all.

Change-Id: I19c29788cc33b0f59e0bdfe04fe67c247239c559
Add permission checking for binder IPC.
Do not apply permission checks to private files.
Fix security_binder_transfer_binder hook.

Drop the owning task argument to security_binder_transfer_binder
since ref->node->proc can be NULL (dead owner?).
Revise the SELinux checking to apply a single transfer check between
the source and destination tasks.  Owning task is no longer relevant.
Drop the receive permission definition as it is no longer used.

This makes the transfer permission similar to the call permission; it is only
useful if you want to allow a binder IPC between two tasks (call permission)
but deny passing of binder references between them (transfer permission).
cpufreq: add smartass-v2 governor

Change-Id: I03af671ad922cce93739e1fb2584511803aa3055
cpufreq: add lagfree governor

Change-Id: Ia8192529924155d1be7430c19b1d4ee583594200
Enable setting security contexts on rootfs inodes.

rootfs (ramfs) can support setting of security contexts
by userspace due to the vfs fallback behavior of calling
the security module to set the in-core inode state
for security.* attributes when the filesystem does not
provide an xattr handler.  No xattr handler required
as the inodes are pinned in memory and have no backing
store.

This is useful in allowing early userspace to label individual
files within a rootfs while still providing a policy-defined
default via genfs.

Signed-off-by: Stephen Smalley <sds@xxxxxxxxxxxxx>
security: don't accept LSM from command line

Motorola Olympus bootloader sets lsm to tomoyo. If the kernel is running
on Olympus, ignore the lsm informed by bootloader so we can use other
lsm to be configured in the kernel defconfig.

Change-Id: Ia48e3f5c9bae5d747e9b0717f8b4f6920e29146c
cpufreq: add default options for smartassV2 and lagfree

Change-Id: Ifa1264762f3ccfc39a5d02e88b57cfeeb31c5358
smartass2: tune for olympus

Change-Id: I62404db204a03be1df7632f74cb619360053f8fa
defconfig: set smartass2 as default

Conservative will not be used when idle, smartass already manage the
frequencies on sleep state.

Change-Id: I8aad949551f1f1c032b5fe19f72bd81a84953027
smartass2: manage frequencies at higher cpu load

Probably this will need to tweaked more, so we can achieve performance
and battery save.

Change-Id: I8ad4e0822f447e960317a6153ab4be3f9f9683cc
smartass2: use lower ideal and wakeup frequencies, calculate ramp step

Change-Id: I347b8c56d8d46e0a9785d661b4c4542aa3ae4df6
defconfig: use ROW as default I/O scheduler

Change-Id: I1a1525f0a38ebfb667d9a7e129d52627952c9b62