Commit graph

65300 commits

Author SHA1 Message Date
Treehugger Robot
7ca39fbe80 Merge "Add the rough toybox version numbers to the docs." am: b96cc0bfd2 am: fef53055e1 am: 515af88f52 am: a580848ff3
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1392868

Change-Id: Id48152dd3601dd550747880310b597c1e625d280
2020-08-06 19:44:47 +00:00
Treehugger Robot
a580848ff3 Merge "Add the rough toybox version numbers to the docs." am: b96cc0bfd2 am: fef53055e1 am: 515af88f52
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1392868

Change-Id: If1eb4782368f322d0dc68865241318e4015964c8
2020-08-06 19:24:02 +00:00
Treehugger Robot
515af88f52 Merge "Add the rough toybox version numbers to the docs." am: b96cc0bfd2 am: fef53055e1
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1392868

Change-Id: I7678e1a060302f1766cebc7c70c80c015de731c5
2020-08-06 19:02:35 +00:00
Treehugger Robot
fef53055e1 Merge "Add the rough toybox version numbers to the docs." am: b96cc0bfd2
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1392868

Change-Id: Ifcf4d254c1455c9dc25264f17733c95b6e61507b
2020-08-06 18:48:23 +00:00
Treehugger Robot
e1a704eb14 Merge "cts: Skip CtsInitTestCases over a native bridge." am: 30e542983a am: 356a6f52b6 am: d2c5ab1397 am: 431968aa91
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1393376

Change-Id: Idac0a5f275c3bc3b8db05ceee60e8da2a3c1c650
2020-08-06 18:47:09 +00:00
Treehugger Robot
b96cc0bfd2 Merge "Add the rough toybox version numbers to the docs." 2020-08-06 18:30:15 +00:00
Treehugger Robot
431968aa91 Merge "cts: Skip CtsInitTestCases over a native bridge." am: 30e542983a am: 356a6f52b6 am: d2c5ab1397
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1393376

Change-Id: Ie539199b64cb636f6d31388fe5b0d9482ca4cbb8
2020-08-06 18:26:08 +00:00
Treehugger Robot
d2c5ab1397 Merge "cts: Skip CtsInitTestCases over a native bridge." am: 30e542983a am: 356a6f52b6
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1393376

Change-Id: I953a02b3fc6dce63242c6140cf9a171438392325
2020-08-06 18:08:38 +00:00
Treehugger Robot
356a6f52b6 Merge "cts: Skip CtsInitTestCases over a native bridge." am: 30e542983a
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1393376

Change-Id: Ie33a733bb93d55d83d67802001f9218db10b4fd4
2020-08-06 17:51:46 +00:00
Christopher Ferris
ce2385ad16 Merge "Add new caps from kernel 5.8." am: c625ea6137 am: 4a59a24c0b am: 8e435ba5c6 am: 4acde5751c
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1389265

Change-Id: I2f395799f79d669507aea137f2b7ca79c6e231c2
2020-08-06 17:39:42 +00:00
Treehugger Robot
30e542983a Merge "cts: Skip CtsInitTestCases over a native bridge." 2020-08-06 17:31:56 +00:00
Christopher Ferris
4acde5751c Merge "Add new caps from kernel 5.8." am: c625ea6137 am: 4a59a24c0b am: 8e435ba5c6
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1389265

Change-Id: I40dec2b086780a3e48dd661cafdb66fb420fb9dd
2020-08-06 17:24:12 +00:00
Elliott Hughes
60dfa184a7 Add the rough toybox version numbers to the docs.
Bug: https://github.com/landley/toybox/issues/230
Test: treehugger
Change-Id: I007cb2fd5fc4b2258394e7472c12df4acb25ebcc
2020-08-06 10:15:25 -07:00
Christopher Ferris
8e435ba5c6 Merge "Add new caps from kernel 5.8." am: c625ea6137 am: 4a59a24c0b
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1389265

Change-Id: I582010cb6ee184eb53e66b3ba554aaea3f4b88df
2020-08-06 17:05:42 +00:00
Christopher Ferris
4a59a24c0b Merge "Add new caps from kernel 5.8." am: c625ea6137
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1389265

Change-Id: I3f17a05cedec5ad858e7e6ec758befad687e634f
2020-08-06 16:49:01 +00:00
Christopher Ferris
c625ea6137 Merge "Add new caps from kernel 5.8." 2020-08-06 16:31:03 +00:00
Kazuhiro Inaba
c293c58660 cts: Skip CtsInitTestCases over a native bridge.
The set of linked binaries was making it difficult to run
the test over a native bridge. Since init won't usually
run over a native bridge, the test can be skipped.

Bug: 161081809, 142324733, 162288553
Test: Arm build of CtsInitTestCases skips rammus-arc-r Chromebook.
Change-Id: Icdd8b03111d0f3fd6658ee6d9a97fca27181db45
(cherry picked from commit 9cecf8422a)
2020-08-07 01:11:29 +09:00
Tom Cherry
cc1cbbbcdc Merge changes I2dd4ec10,I8b9688a9 am: 539f5e3880 am: 969a3f5195 am: 9a8d7e5c5f am: aaad5f37d8
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1392134

Change-Id: Id31fe2bf2834c4e8357d69b34b2877e6bf9d9351
2020-08-06 00:48:00 +00:00
Tom Cherry
aaad5f37d8 Merge changes I2dd4ec10,I8b9688a9 am: 539f5e3880 am: 969a3f5195 am: 9a8d7e5c5f
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1392134

Change-Id: I9b19d50aa87744962bbb79bc223bb5c879a74f55
2020-08-06 00:28:54 +00:00
Tom Cherry
9a8d7e5c5f Merge changes I2dd4ec10,I8b9688a9 am: 539f5e3880 am: 969a3f5195
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1392134

Change-Id: I5950af2b00bd7edd247ade94bdac414809db36d8
2020-08-06 00:08:06 +00:00
Tom Cherry
969a3f5195 Merge changes I2dd4ec10,I8b9688a9 am: 539f5e3880
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1392134

Change-Id: I52d2e9d2e4682062881781b3b018624c3f3605c6
2020-08-05 23:49:11 +00:00
Eric Biggers
ce3c9b6dd1 Merge "fs_mgr: Revert "Try to recover corrupted ext4 /data with backup superblock"" am: 64d1a3d60e am: 4a15f52193 am: 56b43bc0a2 am: 9ec80e3ced
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1387869

Change-Id: I3819766cfcf98ec988edbb2bb331b6105ad9e6fc
2020-08-05 23:49:04 +00:00
Eric Biggers
9ec80e3ced Merge "fs_mgr: Revert "Try to recover corrupted ext4 /data with backup superblock"" am: 64d1a3d60e am: 4a15f52193 am: 56b43bc0a2
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1387869

Change-Id: I5776f598e4893a15b10d6c84912b1ce873c6bb32
2020-08-05 23:33:16 +00:00
Tom Cherry
539f5e3880 Merge changes I2dd4ec10,I8b9688a9
* changes:
  logcat: replace write() calls with WriteFully()
  Add android_logger_get_log_consumed_size() and report it in logcat
2020-08-05 23:27:03 +00:00
Eric Biggers
56b43bc0a2 Merge "fs_mgr: Revert "Try to recover corrupted ext4 /data with backup superblock"" am: 64d1a3d60e am: 4a15f52193
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1387869

Change-Id: Id2d127aadb30dbf70030e6c1665a06c3b9cfaf76
2020-08-05 23:05:30 +00:00
Eric Biggers
4a15f52193 Merge "fs_mgr: Revert "Try to recover corrupted ext4 /data with backup superblock"" am: 64d1a3d60e
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1387869

Change-Id: I99c68fb21b55aadb6f6ed3c82efb05e5d1d3ceb6
2020-08-05 22:46:31 +00:00
Eric Biggers
64d1a3d60e Merge "fs_mgr: Revert "Try to recover corrupted ext4 /data with backup superblock"" 2020-08-05 22:28:53 +00:00
Tom Cherry
3e970d430f logcat: replace write() calls with WriteFully()
There is a possibility of data loss if an interrupt occurs in the
middle of these write() calls.

Test: logcat -g/-S/-B work correctly
Change-Id: I2dd4ec10771714fc49b61538d3028983516e106c
2020-08-05 14:01:11 -07:00
Tom Cherry
06e111a148 Add android_logger_get_log_consumed_size() and report it in logcat
There is an existing API, android_logger_get_log_readable_size() which
historically reported the consumed amount of data for the chatty log
buffer, since consumed and readable are synonymous with that buffer
type.

With log compression, readable and consumed are not synonymous, since
the readable log size is the uncompressed log size whereas the
consumed log size is the compressed log size.

This change adds android_logger_get_log_consumed_size() which returns
the consumed log size and makes android_logger_get_log_readable_size()
return the readable log size.  Note that these values are identical if
compression is not used.

It adds both statistics to logcat:

    main: ring buffer is 1 MiB (429 KiB consumed, 817 KiB readable)
    radio: ring buffer is 1 MiB (339 KiB consumed, 715 KiB readable)
    ...

Test: logcat prints the right values with compression and chatty
Change-Id: I8b9688a987736204e2e6026e8635fbd1a5e68bb7
2020-08-05 13:43:31 -07:00
Kazuhiro Inaba
4163cbbf95 cts: Skip CtsInitTestCases over a native bridge. am: 9cecf8422a am: 49ddb673c5 am: df2e518ccf am: 3a7a8b871a
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12263311

Change-Id: I5ca75c311869eff11cf020c5ffaea6c204efe99e
2020-08-05 20:16:17 +00:00
Tom Cherry
f3b9f63ec0 Merge "liblog: add a timeout for logd command socket operations" am: 368c70daba am: 1c99963351 am: a44090fb87 am: ec35efbbc6
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1389398

Change-Id: Ia136ddd87867cc4dadcb7c7e0838a4c10a8d1beb
2020-08-05 20:16:05 +00:00
Kazuhiro Inaba
77c42fda7e cts: Skip CtsInitTestCases over a native bridge. am: 9cecf8422a am: 49ddb673c5 am: c32d879a94 am: 4269056029
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12263311

Change-Id: I9dfa0598c2a3095f5356b799c3f9cfccd2c2949c
2020-08-05 20:15:52 +00:00
Kazuhiro Inaba
39593c4310 cts: Skip CtsInitTestCases over a native bridge. am: 9cecf8422a am: 49ddb673c5 am: df2e518ccf am: bcbc6cb719
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12263311

Change-Id: If6277ab14c8df1ff47e5dad65acf5d139c3ac725
2020-08-05 20:15:17 +00:00
Tom Cherry
ec35efbbc6 Merge "liblog: add a timeout for logd command socket operations" am: 368c70daba am: 1c99963351 am: a44090fb87
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1389398

Change-Id: I47d315c962466d3b9db747640701f06682290115
2020-08-05 20:01:04 +00:00
Kazuhiro Inaba
4269056029 cts: Skip CtsInitTestCases over a native bridge. am: 9cecf8422a am: 49ddb673c5 am: c32d879a94
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12263311

Change-Id: Iabc8a2957efe486300c77e5cd595cd635b84d031
2020-08-05 20:00:36 +00:00
Kazuhiro Inaba
bcbc6cb719 cts: Skip CtsInitTestCases over a native bridge. am: 9cecf8422a am: 49ddb673c5 am: df2e518ccf
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12263311

Change-Id: Icfd5e62a54e14de0ded43fecdb89295b80a9e121
2020-08-05 19:58:50 +00:00
Kazuhiro Inaba
3a7a8b871a cts: Skip CtsInitTestCases over a native bridge. am: 9cecf8422a am: 49ddb673c5 am: df2e518ccf
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12263311

Change-Id: I60ebd26191d4d2e431a113c82b3243419c7aa507
2020-08-05 19:57:58 +00:00
Tom Cherry
a44090fb87 Merge "liblog: add a timeout for logd command socket operations" am: 368c70daba am: 1c99963351
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1389398

Change-Id: I59e929223199b96013ba7009223bda85d5336dcc
2020-08-05 19:57:51 +00:00
Kazuhiro Inaba
df2e518ccf cts: Skip CtsInitTestCases over a native bridge. am: 9cecf8422a am: 49ddb673c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12263311

Change-Id: I5d73d554acf98fc661fee827c37c9a9d9059e8ef
2020-08-05 19:38:35 +00:00
Kazuhiro Inaba
c32d879a94 cts: Skip CtsInitTestCases over a native bridge. am: 9cecf8422a am: 49ddb673c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12263311

Change-Id: I293e4b2817e06874ab049a0043bb2b4fb866c755
2020-08-05 19:38:29 +00:00
Tom Cherry
1c99963351 Merge "liblog: add a timeout for logd command socket operations" am: 368c70daba
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1389398

Change-Id: I1361f77d0436fc8596e94c3a30d7b05b209ce612
2020-08-05 19:37:43 +00:00
Tom Cherry
368c70daba Merge "liblog: add a timeout for logd command socket operations" 2020-08-05 19:18:07 +00:00
Kazuhiro Inaba
49ddb673c5 cts: Skip CtsInitTestCases over a native bridge. am: 9cecf8422a
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/12263311

Change-Id: I9d208b96945f99b64da031d03e09a570862bcc1b
2020-08-05 19:10:41 +00:00
Christopher Ferris
13d7436851 Merge "Fix fuzzer so it doesn't add overlapping maps." am: a39e39fe31 am: 46f2a82271 am: f11daa5dfb am: 203472d10a
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1387875

Change-Id: I8f3e2c4ec5caac7cf884fb30435595260479c302
2020-08-05 17:46:15 +00:00
Christopher Ferris
203472d10a Merge "Fix fuzzer so it doesn't add overlapping maps." am: a39e39fe31 am: 46f2a82271 am: f11daa5dfb
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1387875

Change-Id: Ifbbc9d368745f4c09ff3e1fc18ec969f9aba142e
2020-08-05 17:26:25 +00:00
Christopher Ferris
f11daa5dfb Merge "Fix fuzzer so it doesn't add overlapping maps." am: a39e39fe31 am: 46f2a82271
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1387875

Change-Id: I022825db56d21d77a8b8826ad0c7cbb266daaa9b
2020-08-05 17:09:57 +00:00
Christopher Ferris
46f2a82271 Merge "Fix fuzzer so it doesn't add overlapping maps." am: a39e39fe31
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1387875

Change-Id: Ib671925c2226490e586ec152a2d6c1f38005b2ba
2020-08-05 16:52:33 +00:00
Joshua Duong
5538671804 Merge "[adb] Correctly read host/user name on Windows." am: a65d905b4a am: a0c115a38b am: 56eb247d3a am: 176c1e097d
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1380298

Change-Id: Ibff61d51d32294943c6322c1249fc248830fc610
2020-08-05 16:43:54 +00:00
Christopher Ferris
a39e39fe31 Merge "Fix fuzzer so it doesn't add overlapping maps." 2020-08-05 16:32:04 +00:00
Joshua Duong
176c1e097d Merge "[adb] Correctly read host/user name on Windows." am: a65d905b4a am: a0c115a38b am: 56eb247d3a
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1380298

Change-Id: I4e6cfc8323f0533f99657133c26b9fb960a1b3a0
2020-08-05 16:22:39 +00:00