Commit graph

46940 commits

Author SHA1 Message Date
Jeffrey Vander Stoep
75c256ca4a Merge "selinux: use the policy version defined in sepolicy"
am: e21d07fbab

Change-Id: I8fd4263d0e3c9cb7a35f2503e86c26952474267d
2019-03-19 15:03:29 -07:00
Jeffrey Vander Stoep
e21d07fbab Merge "selinux: use the policy version defined in sepolicy" 2019-03-19 21:44:59 +00:00
Josh Gao
80ffda8ff0 Merge "debuggerd_handler: demote abort on exec failure to log."
am: 965d0c38c8

Change-Id: I5a40c65caf1194a736cbbe4abdcb010a2456c9aa
2019-03-19 12:54:19 -07:00
Josh Gao
c94cec6d9d Merge "adbd: support ro.adb.nonblocking_ffs."
am: affe351420

Change-Id: Ib8bd70545cbb5acbf4ed9d1f3272b9e0fa8a421b
2019-03-19 12:51:09 -07:00
Josh Gao
965d0c38c8 Merge "debuggerd_handler: demote abort on exec failure to log." 2019-03-19 19:44:43 +00:00
Josh Gao
affe351420 Merge "adbd: support ro.adb.nonblocking_ffs." 2019-03-19 19:44:00 +00:00
Mark Salyzyn
07ab1750dd Merge "fs_mgr: overlay: suppress noise associated with test mounting scratch partition"
am: 0eadef4076

Change-Id: I0dc54d020e92ff1a49796acdb0c76bfd8cb42499
2019-03-19 12:10:07 -07:00
Treehugger Robot
0eadef4076 Merge "fs_mgr: overlay: suppress noise associated with test mounting scratch partition" 2019-03-19 18:58:41 +00:00
Yi Kong
c144802d6b Merge "Suppress -Wstring-plus-int warning"
am: 63c89a37fd

Change-Id: I99867a9a01c569e4ca9316046775ca415f41a727
2019-03-19 11:46:18 -07:00
Yi Kong
63c89a37fd Merge "Suppress -Wstring-plus-int warning" 2019-03-19 18:37:43 +00:00
Xiaoyong Zhou
0d8d105e32 Merge "Enable fsverity signature checking"
am: aaee497db2

Change-Id: I11f83f7bcf42b9d35a9527b42b3ed0b0c7307a27
2019-03-19 09:56:18 -07:00
Treehugger Robot
aaee497db2 Merge "Enable fsverity signature checking" 2019-03-19 16:40:48 +00:00
Roland Levillain
5481e3aec8 Merge "Include tests directories in the linker legacy configuration."
am: d503239292

Change-Id: Ib9d4728884a2bb1dfe9c4b98f8b1d24cd9b254de
2019-03-19 05:24:49 -07:00
Roland Levillain
d503239292 Merge "Include tests directories in the linker legacy configuration." 2019-03-19 10:17:10 +00:00
Neil Fuller
6ac873c3b9 Merge "Address syntax / error case nits"
am: ed6b5177e2

Change-Id: Ia67f090ccc6c22d3c2ed1e25921094c9d2de5910
2019-03-19 02:50:30 -07:00
Neil Fuller
ed6b5177e2 Merge "Address syntax / error case nits" 2019-03-19 09:37:55 +00:00
Yi Kong
dd2ea5fd68 Suppress -Wstring-plus-int warning
The code section is already marked as to be removed, simply suppress
the -Wstring-plus-int warning.

Test: m checkbuild
Bug: 128878287
Change-Id: I95a03aca90dbb5d27db49f5baf534cbaacf9b830
2019-03-18 22:16:14 -07:00
Josh Gao
966b39b34c Merge "adb: fix uninitialized variable."
am: 588a87d68e

Change-Id: I87e9844a42d9a9e120a5f4e60149eb5ec3efbcdf
2019-03-18 20:20:43 -07:00
Treehugger Robot
588a87d68e Merge "adb: fix uninitialized variable." 2019-03-19 03:14:17 +00:00
Josh Gao
8038e35fdf adbd: support ro.adb.nonblocking_ffs.
Allow disabling ro.adb.nonblocking_ffs via an ro system property, which
gets overridden by the currently supported persist.adb.nonblocking_ffs.

Bug: http://b/128679787
Test: mma
Change-Id: I28891d2da129e9654bf63ab8a4c330c4d2f5b336
2019-03-18 17:59:24 -07:00
Victor Hsieh
54f3e37edd Merge "mini-keyctl: use ParseInt to parse keys"
am: 8aa059438d

Change-Id: I3e2ce4749129943ea8dc9e0eaa74721e57f52c03
2019-03-18 17:48:15 -07:00
Treehugger Robot
8aa059438d Merge "mini-keyctl: use ParseInt to parse keys" 2019-03-19 00:25:52 +00:00
Josh Gao
b019574476 adb: fix uninitialized variable.
Previously, we were initializing IoBlock::pending when submitting a read,
but leaving it uninitialized when doing a write, which would sometimes
result in an assertion firing when we received a previously allocated
block of memory that happened to have a nonzero value in pending.

Test: treehugger
Change-Id: I434c65f554ceed313fea9cfcc98788908f3ca8bc
2019-03-18 17:12:19 -07:00
Victor Hsieh
1dd49e2de4 Merge "mini-keyctl cleanup: keep local funcitons static"
am: e16a253cb0

Change-Id: I1678657424220d02aa45f0f6428bcb925792e304
2019-03-18 15:12:01 -07:00
Treehugger Robot
e16a253cb0 Merge "mini-keyctl cleanup: keep local funcitons static" 2019-03-18 22:08:46 +00:00
Josh Gao
5e8d68c2b2 debuggerd_handler: demote abort on exec failure to log.
If a process is ptraced already, we might not be able to exec crash_dump
due to selinux. Since we can be called for non-fatal events, we
shouldn't abort in that case.

Bug: http://b/128054996
Test: treehugger
Change-Id: I1442041caa7af908df2ab87b9e010c44082e7587
2019-03-18 14:39:47 -07:00
Xiaoyong Zhou
66fc7eb195 Enable fsverity signature checking
This CL enable fsverity signature checking.

Bug: 112038861
Test: cat /proc/sys/fs/verity/require_signatures -> 1
Change-Id: I57aaf6094aa503bdcac93306cafd7f71f202e711
2019-03-18 14:28:18 -07:00
Mark Salyzyn
25ccd57180 Merge "Check if we need to Poll for devices after RegenerateUevents"
am: 06e6b8551a

Change-Id: I569e3564d78636b1f79d4c20a161ff1120b94276
2019-03-18 14:11:10 -07:00
Treehugger Robot
06e6b8551a Merge "Check if we need to Poll for devices after RegenerateUevents" 2019-03-18 21:03:11 +00:00
Greg Kaiser
73308830a6 Merge "adb: Fix return value in error case"
am: 2925a580e9

Change-Id: I6fa794d11212e77650f6ffcfd7ee2e80092a9e0a
2019-03-18 14:01:02 -07:00
David Anderson
53fabb5a09 Merge changes I88689889,Ibfd66734
am: e2d977bffd

Change-Id: I01ca951c36aa0c0458296839810eac341b7b0b30
2019-03-18 14:00:01 -07:00
Victor Hsieh
0fb290bb8a mini-keyctl: use ParseInt to parse keys
- Valid ID format examples: 0x90a, 123
 - ID like 90a will not work now.

Bug: None
Test: mini-keyctl unlink 0x11d25c86 0x2873c96d

Change-Id: I057bce0a49a60f475d54b23e28dc18db25124466
2019-03-18 13:57:05 -07:00
Treehugger Robot
2925a580e9 Merge "adb: Fix return value in error case" 2019-03-18 20:32:46 +00:00
David Anderson
e2d977bffd Merge changes I88689889,Ibfd66734
* changes:
  liblp: Reclaim wasted space from unaligned partitions, v2.
  Revert "liblp: Reclaim wasted space from unaligned partitions."
2019-03-18 20:09:44 +00:00
Mark Salyzyn
60a76f330c fs_mgr: overlay: suppress noise associated with test mounting scratch partition
Add internal fs_mgr_is_ext4 and fs_mgr_is_f2fs to get heads up on
mount failures and thus bypass trying.

Test: adb-remount-test.sh
Bug: 109821005
Change-Id: Ieb1f8c19ced930b6fe2d1791ef710ce528da7e37
2019-03-18 12:50:00 -07:00
Roland Levillain
5c99a0c067 Include tests directories in the linker legacy configuration.
Make ld.config.legacy.txt similar to other linker configurations with
respect to tests in /data/{nativetest,benchmarktest}{,64}.

Note: The linker legacy configuration is used by the ART generic build
targets, defined in project device/generic/art.

Test: ART chroot-based on-device testing using the master-art
Bug: 121117762
Change-Id: I6c8fafa2568862e450aa7b9fea1177a184cb9705
2019-03-18 19:07:32 +00:00
Mark Salyzyn
cdb825e461 Check if we need to Poll for devices after RegenerateUevents
If the required_devices_partition_names is cleared, no need to Poll.

Test: manual check boot time, and adb-remount-test.sh
Bug: 128834849
Change-Id: I044ee2752a7f32b084ff6e88b4b586accdfb78f0
2019-03-18 10:29:48 -07:00
Yifan Hong
98d4fc0d13 Merge changes from topic "libprocessgroup"
am: 830f837231

Change-Id: Icb325b97b2177538a2bcada2cd398f562e8f7da1
2019-03-18 10:06:09 -07:00
Yifan Hong
830f837231 Merge changes from topic "libprocessgroup"
* changes:
  libprocessgroup: Add VTS tests for vendor JSON files
  libprocessgroup_proto_test split into multiple files
2019-03-18 16:53:47 +00:00
Victor Hsieh
582c7b9b82 mini-keyctl cleanup: keep local funcitons static
Test: build
Bug: None
Change-Id: If58f496173d8afff9eb81ff7f5975ddaac765d18
2019-03-18 09:45:12 -07:00
Victor Hsieh
67111febbe Merge "mini-keyctl: support printing security label"
am: 9555bd40ce

Change-Id: Ia9d3afcc37c5b0b66f4214aad8acd1c8f1792070
2019-03-18 09:09:48 -07:00
Treehugger Robot
9555bd40ce Merge "mini-keyctl: support printing security label" 2019-03-18 15:52:28 +00:00
Greg Kaiser
5fe40a66b2 adb: Fix return value in error case
When we introduced __adb_check_server_version() as a function
returning a 'bool', we missed missed converting once instance
of "return -1;" to "return false;".  Thus, we're returning 'true'
in this case as our non-zero value gets implicitly converted to
'true'.

We fix this case as well with this CL.

Test: TreeHugger
Change-Id: I90b01567d927f36d2d963561b676b3bfabfcee49
2019-03-18 07:00:00 -07:00
Dongwon Kang
5698f77f5f Merge "List stable libraries media apex relies on."
am: fc0f79f8a8

Change-Id: I5acb7f6e867c40b929446d99d81c601837a1b5ac
2019-03-15 22:39:18 -07:00
Dongwon Kang
fc0f79f8a8 Merge "List stable libraries media apex relies on." 2019-03-16 05:34:09 +00:00
Josh Gao
a6397564b6 Merge "adb: avoid sign extension of shell return code."
am: b5ac15a936

Change-Id: Ib4018e339435eb8a4c79070c1096f076996d0386
2019-03-15 21:14:34 -07:00
Treehugger Robot
b5ac15a936 Merge "adb: avoid sign extension of shell return code." 2019-03-16 04:07:20 +00:00
Andreas Gampe
a0cc42381c Merge "Init: Load fsverity keys earlier"
am: f09ef56056

Change-Id: Id4fa13d970a379d449376be56a37eae1ac1f118b
2019-03-15 19:19:33 -07:00
Treehugger Robot
f09ef56056 Merge "Init: Load fsverity keys earlier" 2019-03-16 02:05:33 +00:00
Mark Salyzyn
7c55e2a88d Merge "init: add MountHandler property handler"
am: f2dadd019d

Change-Id: I4bcff7b7fa81b357710cb2a6df06ad6b93dccf9f
2019-03-15 18:25:30 -07:00