am c0e1bc1c: Merge "Drop /data/system as a policy file location"

* commit 'c0e1bc1c755b165574c761e878b6fc26fb340ba0':
  Drop /data/system as a policy file location
am bed08333: am c0e1bc1c: Merge "Drop /data/system as a policy file location"

* commit 'bed08333d921e97bc60b81c0f183816386709d79':
  Drop /data/system as a policy file location
am de97f798: am bed08333: am c0e1bc1c: Merge "Drop /data/system as a policy file location"

* commit 'de97f798a1c24303de35ff44e2f47b590b46a815':
  Drop /data/system as a policy file location
am a9d7c529: am de97f798: am bed08333: am c0e1bc1c: Merge "Drop /data/system as a policy file location"

* commit 'a9d7c5296fe31a9481fc3217066ae7fd1d850a06':
  Drop /data/system as a policy file location
run-as: Get seinfo from packages.list and pass to libselinux.

Change allows the proper seinfo value to be passed
to libselinux to switch to the proper app security
context before running the shell.

Change-Id: I9d7ea47c920b1bc09a19008345ed7fd0aa426e87
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
merge in jb-mr2-release history after reset to jb-mr2-dev
Merge "run-as: Get seinfo from packages.list and pass to libselinux."
libcutils: add support for app tracing

This change adds support for tracing using the ATRACE_TAG_APP tag.  This tag is
enabled only for processes in which the /proc/<pid>/cmdline value appears in
the comma-separated list of such values in the debug.atrace.app_cmdlines system
property.  It is also only enabled if either the ro.debuggable system property
is set to 1 or the application has declared itself debuggable in its manifest,
which gets reported to libcutils by the framework.

Change-Id: Ic94ba55f4e70a9cf994056acbf151e523428b65d
am 774f9299: libcutils: add support for app tracing

* commit '774f9299912cdf9f2a6b3805bb557e30bafbad05':
  libcutils: add support for app tracing
am 38e1bb86: am 774f9299: libcutils: add support for app tracing

* commit '38e1bb8617ee6b7913b9b7b7c40e43338ea5c947':
  libcutils: add support for app tracing
am c8df252f: Merge "run-as: Get seinfo from packages.list and pass to libselinux."

* commit 'c8df252fa16d328be197ecc5280a2f8c2aacb5ad':
  run-as: Get seinfo from packages.list and pass to libselinux.
am f19e045c: am c8df252f: Merge "run-as: Get seinfo from packages.list and pass to libselinux."

* commit 'f19e045c58dafbdc46e848ec5a5c935f472dea34':
  run-as: Get seinfo from packages.list and pass to libselinux.
am 46e89912: am f19e045c: am c8df252f: Merge "run-as: Get seinfo from packages.list and pass to libselinux."

* commit '46e8991209508a9f5d59bf97ed39b791444dbaf7':
  run-as: Get seinfo from packages.list and pass to libselinux.
am 83f9cdf0: am 46e89912: am f19e045c: am c8df252f: Merge "run-as: Get seinfo from packages.list and pass to libselinux."

* commit '83f9cdf0c8a374f98593440b07d0688b2fb91997':
  run-as: Get seinfo from packages.list and pass to libselinux.
Merge "toolbox: Make reboot a separate command from toolbox"
run-as: Don't require CAP_DAC_READ_SEARCH

This is a partial AOSP port of Google internal change
080427e4e2b1b72718b660e16b6cf38b3a3c4e3f .

Change-Id: I23a7edc808d227caf3862b035dc2ca39639d9d59
Merge "run-as: Don't require CAP_DAC_READ_SEARCH"
Reconcile with jb-mr2-release - do not merge

Change-Id: Ia1e9aa160247d491cc60c1dcc7a73c8545410d78
am e4e16d0c: (-s ours) Reconcile with jb-mr2-release - do not merge

* commit 'e4e16d0cfbc8799f2c2ba6c500465668c192f23f':
am 191fe44c: Merge "run-as: Don\'t require CAP_DAC_READ_SEARCH"

* commit '191fe44c972e7f45f4bac1cee27522ae244da498':
  run-as: Don't require CAP_DAC_READ_SEARCH