Commit Graph

20502 Commits

Author SHA1 Message Date
Nick Kralevich c94d92f5ad Merge "init.rc: restorecon_recursive /sys/kernel/debug" am: 6d85c06aa1 am: 070288241d
am: baaeddfa23

* commit 'baaeddfa239625a9d54091c628242d84a9191514':
  init.rc: restorecon_recursive /sys/kernel/debug
2015-12-08 04:54:15 +00:00
Erik Kline 79a3210eda Merge "Switch from using sockaddr to sockaddr_storage." am: 46b0b1c694 am: 4c1b3840f0
am: cbc6f68e32

* commit 'cbc6f68e320bd30d0cd7fbe73847deacbd54e073':
  Switch from using sockaddr to sockaddr_storage.
2015-12-08 04:54:05 +00:00
Tom Cherry b6058e4489 Merge "Remove ANDROID_PROPERTY_WORKSPACE" am: c68998441c am: c64de373c1
am: 876c9c803e

* commit '876c9c803e399877bf7b0adc52e7a6e18d055d73':
  Remove ANDROID_PROPERTY_WORKSPACE
2015-12-08 04:53:59 +00:00
Mark Salyzyn eb0137eeca Merge "liblog: print message payload of zero length" am: 50413c7626 am: e13efa6112
am: 1f6a9473a7

* commit '1f6a9473a73371c2e7d8e28e1692c64e5a2efd0a':
  liblog: print message payload of zero length
2015-12-08 04:53:54 +00:00
Dimitry Ivanov d686fb3474 Merge "Native loader as a separate library" am: beceb6ef53 am: 17f119eade
am: d6c9995d99

* commit 'd6c9995d992b4fdffe176acff207f1f066e2a920':
  Native loader as a separate library
2015-12-08 04:53:45 +00:00
Nick Kralevich baaeddfa23 Merge "init.rc: restorecon_recursive /sys/kernel/debug" am: 6d85c06aa1
am: 070288241d

* commit '070288241d5c3d1a169e21ba4439a5943ce476d8':
  init.rc: restorecon_recursive /sys/kernel/debug
2015-12-08 04:50:55 +00:00
Nick Kralevich 070288241d Merge "init.rc: restorecon_recursive /sys/kernel/debug"
am: 6d85c06aa1

* commit '6d85c06aa1600e905cf3e0b093e939fa3866ee59':
  init.rc: restorecon_recursive /sys/kernel/debug
2015-12-08 04:48:06 +00:00
Nick Kralevich 6d85c06aa1 Merge "init.rc: restorecon_recursive /sys/kernel/debug" 2015-12-08 04:44:08 +00:00
Yabin Cui 6405bb3aee Fix libbacktrace host build.
On host build, libbacktrace relies on libcutils to provide gettid()
function.

Change-Id: Iad83384ea699ca024b71b73cef26755287c9e6fe
2015-12-07 20:09:24 -08:00
Tom Cherry 1563d6546c Remove property_area_initialized
This is deadcode as property_init() will only ever be called once and
the only remaining caller of properties_initialized() is
Service::NotifyStateChange() which can only be called after properties
have been initialized.

Change-Id: Ie071af84fcdbead72d259890fc8fb8db624282e7
2015-12-07 17:53:39 -08:00
Erik Kline cbc6f68e32 Merge "Switch from using sockaddr to sockaddr_storage." am: 46b0b1c694
am: 4c1b3840f0

* commit '4c1b3840f092e63b0b8db8998b3bbc3465ff7c91':
  Switch from using sockaddr to sockaddr_storage.
2015-12-08 01:48:58 +00:00
Erik Kline 4c1b3840f0 Merge "Switch from using sockaddr to sockaddr_storage."
am: 46b0b1c694

* commit '46b0b1c694bd873bd8130440d9ec1367dbe6da6e':
  Switch from using sockaddr to sockaddr_storage.
2015-12-07 17:45:17 -08:00
Erik Kline 46b0b1c694 Merge "Switch from using sockaddr to sockaddr_storage." 2015-12-08 01:41:38 +00:00
Tom Cherry 876c9c803e Merge "Remove ANDROID_PROPERTY_WORKSPACE" am: c68998441c
am: c64de373c1

* commit 'c64de373c13183c424a2a27c34f45311328374d5':
  Remove ANDROID_PROPERTY_WORKSPACE
2015-12-08 01:36:24 +00:00
Tom Cherry c64de373c1 Merge "Remove ANDROID_PROPERTY_WORKSPACE"
am: c68998441c

* commit 'c68998441cdf32159912704fdd264b4750390012':
  Remove ANDROID_PROPERTY_WORKSPACE
2015-12-08 01:33:10 +00:00
Tom Cherry c68998441c Merge "Remove ANDROID_PROPERTY_WORKSPACE" 2015-12-08 01:29:53 +00:00
Nick Kralevich 715c4dc3f9 init.rc: restorecon_recursive /sys/kernel/debug
If /sys/kernel/debug is present, make sure it has all the appropriate
SELinux labels.

Labeling of /sys/kernel/debug depends on kernel support
added in commit https://android-review.googlesource.com/122130

This patch depends on an external/sepolicy change with the
same Change-Id as this patch.

Change-Id: Id1d6a9ad6d0759d6de839458890e8cb24685db6d
2015-12-07 17:00:40 -08:00
Nick Kralevich 173eb396c7 adb: Make HOME=/data/local/tmp
Make the home directory for adb shell be /data/local/tmp and
automatically change into that directory.

Change-Id: Ib5cc6e1ecdd31a37e986cf03836f7589ebd40868
2015-12-07 16:56:12 -08:00
Mark Salyzyn 1f6a9473a7 Merge "liblog: print message payload of zero length" am: 50413c7626
am: e13efa6112

* commit 'e13efa61122cbad99dc10b9a89d1a06a6b6dc418':
  liblog: print message payload of zero length
2015-12-08 00:39:06 +00:00
Mark Salyzyn e13efa6112 Merge "liblog: print message payload of zero length"
am: 50413c7626

* commit '50413c7626c7598ccb062d7d1156e5cfa1b2cb8e':
  liblog: print message payload of zero length
2015-12-08 00:31:59 +00:00
Mark Salyzyn 50413c7626 Merge "liblog: print message payload of zero length" 2015-12-08 00:27:30 +00:00
Tao Bao 97df395683 rootdir: Execute update_verifier for A/B update.
update_verifier verifies the updated partitions and marks the current
slot as having booted successfully. It needs to be triggered prior to
the start of the framework, otherwise it won't be able to fall back to
the old system without a data wipe.

Bug: 26039641
Change-Id: I6fd183cdd3dfcc72feff2a896368158875b28591
2015-12-07 16:23:13 -08:00
Mark Salyzyn d7bcf40ee6 liblog: print message payload of zero length
logcat will crash if the log message payload is of zero length. Side
effect of possible log messages from LogKlog in eng and userdebug
builds, or lower level logging calls.

NB: The referenced bug cited an example of this native crash, this
    does not fix the problem cited in the bug about the
    com.android.music shutdown.

Bug: 25774695
Change-Id: I5c7a6ad8db640ba9bc8d34fab04ba7cc2a9a426a
2015-12-07 16:14:40 -08:00
Dimitry Ivanov d6c9995d99 Merge "Native loader as a separate library" am: beceb6ef53
am: 17f119eade

* commit '17f119eadebc1a9b4d8236ad78df03844ca44044':
  Native loader as a separate library
2015-12-08 00:06:24 +00:00
Mark Salyzyn 9d216130ad Merge changes Ib441cecf,Ieb1bbe3d,I3e63e430,I531b4317,I8dd60545, ... am: d1379a8aed am: 154e1c15ae
am: 850045ca27

* commit '850045ca27b2a71d6b1fee873dc7246edfd0b8f2':
  logcat: Add --wrap timeout
  logcat: Add low hanging fruit long arguments
  logcat: Add long arguments to logcat, support for pid filter
  liblog: Support for ANDROID_LOG_WRAP mode flag on reader
  logd: test wakeup on wrap timeout
  logd: wakeup on wrap or timeout
2015-12-08 00:04:01 +00:00
Mark Salyzyn 28309597a6 Merge "logd: test: leniency towards background cgroup" am: 3ea02e8eca am: 660d17b25c
am: 93007fffe6

* commit '93007fffe6d9b46bae6354f92c7b7bc661d8fd87':
  logd: test: leniency towards background cgroup
2015-12-08 00:02:16 +00:00
Mark Salyzyn eb66cde79c Merge "logd: test: statistics report chatty effective percentage" am: 2e2d2edc59 am: b62b7783ac
am: 2cfd261282

* commit '2cfd261282377222c3692451e3bae905d5d9ec8d':
  logd: test: statistics report chatty effective percentage
2015-12-08 00:02:10 +00:00
Mark Salyzyn db46d348be Merge "liblog: test: liblog.android_logger_get_ failure" am: 8ca9a775f7 am: 28a96aeedc
am: 5d978db9dd

* commit '5d978db9dd2122247f8b3d9dbbcb8e40ea478292':
  liblog: test: liblog.android_logger_get_ failure
2015-12-08 00:02:04 +00:00
Mark Salyzyn e7b77665e3 Merge "logd: liblog: logcat: switch to android_log_clockid() (2)" am: 69504d646d am: d2fb3e10ee
am: 42901fb07d

* commit '42901fb07d69b699fa07bdd25aca4957c3dd0c10':
  logd: liblog: logcat: switch to android_log_clockid() (2)
2015-12-08 00:01:50 +00:00
Mark Salyzyn e18f028637 Merge "Revert "logd: liblog: logcat: switch to android_log_clockid()"" am: b566435b02 am: a64dd2d0b4
am: b97aaca6b2

* commit 'b97aaca6b283573e5dd035d4cfd92fd5450ac96f':
  Revert "logd: liblog: logcat: switch to android_log_clockid()"
2015-12-08 00:00:04 +00:00
Mark Salyzyn 48946e48e5 Merge "logd: liblog: logcat: switch to android_log_clockid()" am: 9eca0e775b am: 8acc9bc1cb
am: 945bde67f3

* commit '945bde67f39f119d5c3b3136de4b7757f1adc7b6':
  logd: liblog: logcat: switch to android_log_clockid()
2015-12-07 23:59:51 +00:00
Elliott Hughes ef119a14b8 Merge "Track rename of base/ to android-base/." am: 912ed3d8ca am: e2a9563be1
am: 3608ee5e90

* commit '3608ee5e903689ea7c433587be664649689816e1':
  Track rename of base/ to android-base/.
2015-12-07 23:59:44 +00:00
Dimitry Ivanov 17f119eade Merge "Native loader as a separate library"
am: beceb6ef53

* commit 'beceb6ef53b736879a962992c43fa318e3ea2999':
  Native loader as a separate library
2015-12-07 23:58:01 +00:00
Dimitry Ivanov beceb6ef53 Merge "Native loader as a separate library" 2015-12-07 23:45:50 +00:00
Mark Salyzyn 850045ca27 Merge changes Ib441cecf,Ieb1bbe3d,I3e63e430,I531b4317,I8dd60545, ... am: d1379a8aed
am: 154e1c15ae

* commit '154e1c15ae3735957e777464e2e969e93803a2ab':
  logcat: Add --wrap timeout
  logcat: Add low hanging fruit long arguments
  logcat: Add long arguments to logcat, support for pid filter
  liblog: Support for ANDROID_LOG_WRAP mode flag on reader
  logd: test wakeup on wrap timeout
  logd: wakeup on wrap or timeout
2015-12-07 23:43:21 +00:00
Mark Salyzyn 93007fffe6 Merge "logd: test: leniency towards background cgroup" am: 3ea02e8eca
am: 660d17b25c

* commit '660d17b25c6ff2809507a7a2ef435d4ab4c5bf5a':
  logd: test: leniency towards background cgroup
2015-12-07 23:41:17 +00:00
Mark Salyzyn 2cfd261282 Merge "logd: test: statistics report chatty effective percentage" am: 2e2d2edc59
am: b62b7783ac

* commit 'b62b7783ac66d516be7afe93f4ba7511c01f6696':
  logd: test: statistics report chatty effective percentage
2015-12-07 23:39:44 +00:00
Mark Salyzyn 5d978db9dd Merge "liblog: test: liblog.android_logger_get_ failure" am: 8ca9a775f7
am: 28a96aeedc

* commit '28a96aeedc8f6e92a7a5e1b972372f00215c3881':
  liblog: test: liblog.android_logger_get_ failure
2015-12-07 23:39:38 +00:00
Mark Salyzyn 42901fb07d Merge "logd: liblog: logcat: switch to android_log_clockid() (2)" am: 69504d646d
am: d2fb3e10ee

* commit 'd2fb3e10ee85de0f25ffb1ab53da285672df9c8f':
  logd: liblog: logcat: switch to android_log_clockid() (2)
2015-12-07 23:39:23 +00:00
Mark Salyzyn b97aaca6b2 Merge "Revert "logd: liblog: logcat: switch to android_log_clockid()"" am: b566435b02
am: a64dd2d0b4

* commit 'a64dd2d0b40c7662e779acaf20a5ad374e706e21':
  Revert "logd: liblog: logcat: switch to android_log_clockid()"
2015-12-07 23:37:22 +00:00
Mark Salyzyn 945bde67f3 Merge "logd: liblog: logcat: switch to android_log_clockid()" am: 9eca0e775b
am: 8acc9bc1cb

* commit '8acc9bc1cbcae992b059446eeb83087efab0cf5e':
  logd: liblog: logcat: switch to android_log_clockid()
2015-12-07 23:37:06 +00:00
Elliott Hughes 3608ee5e90 Merge "Track rename of base/ to android-base/." am: 912ed3d8ca
am: e2a9563be1

* commit 'e2a9563be1d540a1fb91489986bf6a72d54b59c8':
  Track rename of base/ to android-base/.
2015-12-07 23:36:59 +00:00
Mark Salyzyn 154e1c15ae Merge changes Ib441cecf,Ieb1bbe3d,I3e63e430,I531b4317,I8dd60545, ...
am: d1379a8aed

* commit 'd1379a8aedb7b80edac8849d2e64ceffa409632e':
  logcat: Add --wrap timeout
  logcat: Add low hanging fruit long arguments
  logcat: Add long arguments to logcat, support for pid filter
  liblog: Support for ANDROID_LOG_WRAP mode flag on reader
  logd: test wakeup on wrap timeout
  logd: wakeup on wrap or timeout
2015-12-07 23:21:13 +00:00
Mark Salyzyn 660d17b25c Merge "logd: test: leniency towards background cgroup"
am: 3ea02e8eca

* commit '3ea02e8eca9fc0f2122d73a1d117292514256fcf':
  logd: test: leniency towards background cgroup
2015-12-07 23:19:10 +00:00
Mark Salyzyn b62b7783ac Merge "logd: test: statistics report chatty effective percentage"
am: 2e2d2edc59

* commit '2e2d2edc59244e56f93f1e7746ebc5e1ef5ea775':
  logd: test: statistics report chatty effective percentage
2015-12-07 23:16:53 +00:00
Mark Salyzyn 28a96aeedc Merge "liblog: test: liblog.android_logger_get_ failure"
am: 8ca9a775f7

* commit '8ca9a775f7d8a5db68c7b42ec42aad969bd6d5e3':
  liblog: test: liblog.android_logger_get_ failure
2015-12-07 23:16:48 +00:00
Mark Salyzyn d2fb3e10ee Merge "logd: liblog: logcat: switch to android_log_clockid() (2)"
am: 69504d646d

* commit '69504d646d0cfdad28307b5ca7a8b98552e5cb06':
  logd: liblog: logcat: switch to android_log_clockid() (2)
2015-12-07 23:16:33 +00:00
Mark Salyzyn a64dd2d0b4 Merge "Revert "logd: liblog: logcat: switch to android_log_clockid()""
am: b566435b02

* commit 'b566435b02d90663b5a26ba795bfb2f0102e8833':
  Revert "logd: liblog: logcat: switch to android_log_clockid()"
2015-12-07 23:14:42 +00:00
Mark Salyzyn 8acc9bc1cb Merge "logd: liblog: logcat: switch to android_log_clockid()"
am: 9eca0e775b

* commit '9eca0e775b8462788e988218c8582bf341dfdfeb':
  logd: liblog: logcat: switch to android_log_clockid()
2015-12-07 23:14:23 +00:00
Elliott Hughes e2a9563be1 Merge "Track rename of base/ to android-base/."
am: 912ed3d8ca

* commit '912ed3d8ca78d840a1d19543a205d787fbfbf235':
  Track rename of base/ to android-base/.
2015-12-07 23:14:17 +00:00