rootdir: set perms on ondemand governor's up_threshold

Change-Id: I0a042a81be677821fa4099a3e19281d390dd27c3
rootdir: Set perms on interactive governor's min_sample_time

Change-Id: I75e9f424af731bdf1ca222eee2f4f18b20a6552b
Label sockets consistently with the seclabel value if specified.

This is necessary to ensure that the adbd socket is created in the
adbd domain rather than the init domain.

Change-Id: Id4997d7f074aeefea62b41c87b46a6609e03f527
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Inline ldrex/strex for thumb2, remove ARMv5 remnants.

We assume ARMv7 which with thumb2 has ldrex/strex operations that may be
inlined if -mthumb is defined.
Remove remnants of ARMv5 support.

Change-Id: I9bb9525ae6ff4816ba391115019d841f63c12348
Tidy up long lines

Change-Id: I22d90a343c351b90f460b8810bfb4bd28dc0792d