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

Conflicts:
	include/cutils/atomic-arm.h
Tidy up long lines

Change-Id: I22d90a343c351b90f460b8810bfb4bd28dc0792d