Commit graph

36283 commits

Author SHA1 Message Date
Nick Kralevich
44836221c6 Merge "Clarify SELinux service error message" am: 54a28300b7 am: 706a898cd0
am: 787b5038f4

Change-Id: Ifcc645d820701368e65d8701fcacaf581b5c660d
2017-08-25 23:20:47 +00:00
Nick Kralevich
787b5038f4 Merge "Clarify SELinux service error message" am: 54a28300b7
am: 706a898cd0

Change-Id: I3ab507e09016b94efb1440a4ad77a03918d361a5
2017-08-25 23:18:46 +00:00
Nick Kralevich
706a898cd0 Merge "Clarify SELinux service error message"
am: 54a28300b7

Change-Id: I638bad81212c20b1c0065eab98ab2e043b643aac
2017-08-25 23:16:47 +00:00
Treehugger Robot
54a28300b7 Merge "Clarify SELinux service error message" 2017-08-25 23:10:06 +00:00
Nick Kralevich
1ea19eb44d Clarify SELinux service error message
1) Attempt to make the error message associated with a missing service
better.
2) Provide a link to more in-depth documentation.

Bug: 65023716
Test: code compiles.
Change-Id: Ie0f1896fb41d5afd11501f046cb51d4c8afe0a62
2017-08-25 14:01:06 -07:00
Christopher Ferris
317764f2f5 Merge "Speed up map creation." am: df3e89be94 am: 2bf9cbf233
am: bd048209b4

Change-Id: If598ef3d52cdc8d383d0a188c8e058cf1c51441f
2017-08-25 19:21:01 +00:00
Christopher Ferris
bd048209b4 Merge "Speed up map creation." am: df3e89be94
am: 2bf9cbf233

Change-Id: I1298f1c8b9e7ee6abad624513be5c365389804f7
2017-08-25 19:16:30 +00:00
Christopher Ferris
2bf9cbf233 Merge "Speed up map creation."
am: df3e89be94

Change-Id: Iba6f292a4448f065dcf64c6f3e40107b5042a62d
2017-08-25 19:12:29 +00:00
Christopher Ferris
df3e89be94 Merge "Speed up map creation." 2017-08-25 19:04:14 +00:00
Max Bires
afdea51e0e Merge "Add a feature to show which bugs are tracking which se denials" am: 06e0c704d7 am: 08e66e7796
am: c564cb0bec

Change-Id: I1b565ffe6416456ccf49ef649497257cba6d1cf6
2017-08-25 17:10:10 +00:00
Max Bires
c564cb0bec Merge "Add a feature to show which bugs are tracking which se denials" am: 06e0c704d7
am: 08e66e7796

Change-Id: I13bca0fe36876dc680fdaddd9d65a40cf209a688
2017-08-25 17:05:14 +00:00
Max Bires
08e66e7796 Merge "Add a feature to show which bugs are tracking which se denials"
am: 06e0c704d7

Change-Id: I67dab1bfe2e400189669dfe48e8683ec15591c34
2017-08-25 17:01:14 +00:00
Max Bires
06e0c704d7 Merge "Add a feature to show which bugs are tracking which se denials" 2017-08-25 16:54:19 +00:00
Tom Cherry
c6b2317d59 Merge "init: do not load persistent properties from temporary /data" am: b1d93a8136 am: b916f49bd7
am: ec9aa8ce7c

Change-Id: I893fcae4ba573b50d096d065eed2d6ec1ac47ad0
2017-08-25 16:51:21 +00:00
Alan Stokes
e751059975 Merge "Small liblog test fixes & readability improvements." am: 332370d14d am: 511cc67633
am: 32636f0f4c

Change-Id: I5dd5e1b7267ff3f96aa264eede616dfb30b68884
2017-08-25 16:50:50 +00:00
Tom Cherry
ec9aa8ce7c Merge "init: do not load persistent properties from temporary /data" am: b1d93a8136
am: b916f49bd7

Change-Id: Id3706892e6d34ca97ac2824099d7830b2340e78c
2017-08-25 16:46:58 +00:00
Alan Stokes
32636f0f4c Merge "Small liblog test fixes & readability improvements." am: 332370d14d
am: 511cc67633

Change-Id: I9495eb03997b7759786f02d24b92657381053f2f
2017-08-25 16:46:22 +00:00
Tom Cherry
b916f49bd7 Merge "init: do not load persistent properties from temporary /data"
am: b1d93a8136

Change-Id: I3dd6423db9bf9e799e438f2e5f50dfc77a0d78f8
2017-08-25 16:43:22 +00:00
Alan Stokes
511cc67633 Merge "Small liblog test fixes & readability improvements."
am: 332370d14d

Change-Id: Id3ba8e43ac60fdfe33b40e0f78629ae3312afb50
2017-08-25 16:42:37 +00:00
Tom Cherry
b1d93a8136 Merge "init: do not load persistent properties from temporary /data" 2017-08-25 16:37:20 +00:00
Alan Stokes
332370d14d Merge "Small liblog test fixes & readability improvements." 2017-08-25 16:35:55 +00:00
Alan Stokes
328ba7c8e6 Merge "Reading from logd in WRAP mode is expected to take a long time, don't abort it after 30s." am: 974ab46561 am: 9181fe6427
am: 50289204e5

Change-Id: I88069714a32ec83f318a1a1dded0b0d8553be07f
2017-08-25 14:55:43 +00:00
Mark Salyzyn
8b2136afe0 Merge "Switch /data/misc/reboot/last_reboot_reason to persistent property" am: 13cb599536 am: 37c6015d9d
am: a0641b5c13

Change-Id: Ia78340ffa961a3375dfa5f6b012f4f98bd7b01e3
2017-08-25 14:47:51 +00:00
Alan Stokes
50289204e5 Merge "Reading from logd in WRAP mode is expected to take a long time, don't abort it after 30s." am: 974ab46561
am: 9181fe6427

Change-Id: I4d151187abe53d6c6094521436ddd86129c3cb24
2017-08-25 14:45:09 +00:00
Mark Salyzyn
a0641b5c13 Merge "Switch /data/misc/reboot/last_reboot_reason to persistent property" am: 13cb599536
am: 37c6015d9d

Change-Id: Ie884649d96ed020696a2ae6ba5bc46cf0d7ad92d
2017-08-25 14:37:44 +00:00
Alan Stokes
9181fe6427 Merge "Reading from logd in WRAP mode is expected to take a long time, don't abort it after 30s."
am: 974ab46561

Change-Id: I2d4b1b14a981a496ab7750fce25ce11858dee0b0
2017-08-25 14:31:51 +00:00
Mark Salyzyn
37c6015d9d Merge "Switch /data/misc/reboot/last_reboot_reason to persistent property"
am: 13cb599536

Change-Id: Ib6c1b51668b892288db931b09b099bf5ed28fbae
2017-08-25 14:24:21 +00:00
Treehugger Robot
974ab46561 Merge "Reading from logd in WRAP mode is expected to take a long time, don't abort it after 30s." 2017-08-25 14:18:29 +00:00
Mark Salyzyn
13cb599536 Merge "Switch /data/misc/reboot/last_reboot_reason to persistent property" 2017-08-25 14:16:12 +00:00
Alan Stokes
81e63d0515 Small liblog test fixes & readability improvements.
liblog concurrent printf tests now check every write succeeds.
logd timeout_negative tests exits as soon as one run succeeds.

Test: CTS tests till pass.
Change-Id: I9a166a0abcb8b9aa5c055c35c5dccf30616a4e24
2017-08-25 14:53:21 +01:00
Alan Stokes
64acdf77d6 Reading from logd in WRAP mode is expected to take a long time,
don't abort it after 30s.

Adds a new CTS test to verify the behaviour.

Bug: 64143705
Test: New and existing CTS tests pass. Manual testing with logcat.
Change-Id: Ia67175701ed8c462083e14e26123ce8ddcb226bc
2017-08-25 11:40:49 +01:00
Justin Yun
e2c3cb1634 vndk: add vendor/lib(64)/vndk for vendor namespace
am: 3094de9684

Change-Id: I389ceda99569f3aaebac1a8b5f04e02e146fa8f0
2017-08-25 07:35:48 +00:00
Justin Yun
3094de9684 vndk: add vendor/lib(64)/vndk for vendor namespace
When the vndk is extended by vendor, the libs in vendor/lib(64)/vndk
will override system/lib(64)/vndk libs. Vendor binaries will search
vndk libs in vendor/lib(64)/vndk prior to system/lib(64)/vndk.

Also, remove a workaround for libsdm-color.so

Bug: 65032513
Test: build and boot check for libsdm-color.so will be loaded on boot
Test: currently no libs exist on vendor/lib(64)/vndk. No test for it
Change-Id: I99ed37eb1a9e92c83533e2d92c9c06db11f01e97
2017-08-25 12:30:44 +09:00
Mark Salyzyn
73e6b49c0c Switch /data/misc/reboot/last_reboot_reason to persistent property
Switch from /data/misc/reboot/last_reboot_reason to persistent
Android property persist.sys.boot.reason for indicating why the
device is rebooted or shutdown.

persist.sys.boot.reason has a standard as outlined in b/63736262 and
the associated investigation. Made adjustments to the values so that
we did not create a problem even before we started. Compliance is
part of the tests in boot_reason_test.sh.

Test: system/core/bootstat/boot_reason_test.sh
Bug: 64687998
Change-Id: I812c55a12faf7cb7ff92101009be058ad9958d07
2017-08-24 15:13:48 -07:00
Tom Cherry
9951b792b1 init: do not load persistent properties from temporary /data
With full disk encryption, a temporary /data partition is mounted to
start a minimum subset of the frameworks.  Later, once /data can be
decrypted it is mounted again.  load_persist_props is called both when
the temporary /data partition is mounted and again after the real
/data is mounted; this is a mistake.

This change checks to see if we're a FDE device and if so, returns the
first time load_persist_props is called.

Test: boot bullhead (FDE) with and without boot pin and check that
      persistent properties are loaded
Test: boot sailfish (FBE) and check that persistent properties are loaded
Change-Id: I6ed725072bdb27d80bfa6575d0a4876b08c6a4bc
2017-08-24 14:24:59 -07:00
Dimitry Ivanov
c54362127b Merge "Define current ABI string in android-base/macros.h" am: 2732a7e023 am: d98e5fc543
am: 1eafe1b47c

Change-Id: I3f78e605afb7184dbb4fcc4416e61af98d1fded1
2017-08-24 09:50:41 +00:00
Dimitry Ivanov
1eafe1b47c Merge "Define current ABI string in android-base/macros.h" am: 2732a7e023
am: d98e5fc543

Change-Id: Ic2832ccb89ad438d5af03024161d85a0d400c90f
2017-08-24 09:46:01 +00:00
Dimitry Ivanov
d98e5fc543 Merge "Define current ABI string in android-base/macros.h"
am: 2732a7e023

Change-Id: I23b96f14ce8e05a3ab36b7c32a29026f4f08ef60
2017-08-24 09:42:07 +00:00
Dimitry Ivanov
2732a7e023 Merge "Define current ABI string in android-base/macros.h" 2017-08-24 09:38:34 +00:00
Dmitry Shmidt
e9b1299f74 Merge "init: Fix -DUSER_MODE_LINUX compilation" am: 9a38df3f5f am: d1821522aa
am: 14a60d2e19

Change-Id: I67de65e24f4573166aa2e48160b33b3506e28ad1
2017-08-24 01:35:14 +00:00
Dmitry Shmidt
14a60d2e19 Merge "init: Fix -DUSER_MODE_LINUX compilation" am: 9a38df3f5f
am: d1821522aa

Change-Id: Ic34bcb0be554736edd6c293820ab1fc9ff79bf34
2017-08-24 01:29:29 +00:00
Dmitry Shmidt
d1821522aa Merge "init: Fix -DUSER_MODE_LINUX compilation"
am: 9a38df3f5f

Change-Id: I26d86100bb8f76325b46ba2c2d066e856d910396
2017-08-24 01:23:01 +00:00
Treehugger Robot
9a38df3f5f Merge "init: Fix -DUSER_MODE_LINUX compilation" 2017-08-24 01:14:36 +00:00
Elliott Hughes
22d9a9a249 Merge "Fix adb tcpip tests." am: d865b655d5 am: 37f256423b
am: 7096d47858

Change-Id: I090e1011627ce618623b132e2624cc1008d2ea1f
2017-08-24 00:59:13 +00:00
Elliott Hughes
7096d47858 Merge "Fix adb tcpip tests." am: d865b655d5
am: 37f256423b

Change-Id: I6f212225b8fe88235d4803b1129b66f5d650d1e4
2017-08-24 00:55:12 +00:00
Elliott Hughes
37f256423b Merge "Fix adb tcpip tests."
am: d865b655d5

Change-Id: I1b9938c36b59db8ce991928349ba6ee9c8459de1
2017-08-24 00:52:03 +00:00
Treehugger Robot
d865b655d5 Merge "Fix adb tcpip tests." 2017-08-24 00:45:59 +00:00
Jin Qian
a5339dbdc0 Merge "fastboot: bail out if failed to generate fs image" into oc-mr1-dev
am: feee3cce8a

Change-Id: Ifb099fab5c1c82c824e18cc52dfa4c7d3057fa9b
2017-08-24 00:11:46 +00:00
Justin Yun
60a6fc62d1 Merge "Mark the modules as VNDK-SP in Android.bp" am: bc9924ed40 am: 028664fcd3
am: 5982a46c40  -s ours

Change-Id: Ic58f8cf0f8718106416105ada7068dc3de050dc5
2017-08-23 23:33:02 +00:00
Justin Yun
5982a46c40 Merge "Mark the modules as VNDK-SP in Android.bp" am: bc9924ed40
am: 028664fcd3

Change-Id: I818d55b42e19078bc8b232fe2c319db397ef1e7a
2017-08-23 23:29:25 +00:00