Commit graph

34163 commits

Author SHA1 Message Date
Robert Benea
ec39a758a1 Merge "cgroups used by init must be mounted before any services start" am: 63c15c1b11 am: cc6da8ec5b am: b30ad069ec
am: 9c18097147

Change-Id: I49aee8cae9374ba40312f6a929909a77f2df6492
2017-06-01 08:25:53 +00:00
Robert Benea
9c18097147 Merge "cgroups used by init must be mounted before any services start" am: 63c15c1b11 am: cc6da8ec5b
am: b30ad069ec

Change-Id: I5627d6720aa0c237aca0cdd1cb75b654cb183158
2017-06-01 08:17:03 +00:00
Robert Benea
b30ad069ec Merge "cgroups used by init must be mounted before any services start" am: 63c15c1b11
am: cc6da8ec5b

Change-Id: I682be7a95fccf23b645d96df67414033dc83a93e
2017-06-01 08:10:03 +00:00
Robert Benea
cc6da8ec5b Merge "cgroups used by init must be mounted before any services start"
am: 63c15c1b11

Change-Id: I2d9298d6de7fbe3b1ad827f498822545e696d4cc
2017-06-01 08:07:31 +00:00
Treehugger Robot
63c15c1b11 Merge "cgroups used by init must be mounted before any services start" 2017-06-01 07:59:19 +00:00
Jin Qian
417759f91e Merge "fastboot: use filename instead of fd to generate filesystem image" am: 010f7714b7 am: 104470da0f am: d195ab0b23
am: 7b36933a83

Change-Id: I4a1587d74b7d21573cd0863aafb1c2335d79f31d
2017-06-01 06:17:56 +00:00
Jin Qian
7b36933a83 Merge "fastboot: use filename instead of fd to generate filesystem image" am: 010f7714b7 am: 104470da0f
am: d195ab0b23

Change-Id: I2a2f103b2743b18ec5dae542c752fb8fcc9e9161
2017-06-01 06:16:03 +00:00
Jin Qian
d195ab0b23 Merge "fastboot: use filename instead of fd to generate filesystem image" am: 010f7714b7
am: 104470da0f

Change-Id: I3e1e72bffe47188f49ae3cf4f0cfa44fcd9b0ef4
2017-06-01 06:13:54 +00:00
Jin Qian
104470da0f Merge "fastboot: use filename instead of fd to generate filesystem image"
am: 010f7714b7

Change-Id: I5b68c8228bd5fc018f858a200f0413e7c00a8791
2017-06-01 06:11:53 +00:00
Treehugger Robot
010f7714b7 Merge "fastboot: use filename instead of fd to generate filesystem image" 2017-06-01 06:05:41 +00:00
Robert Benea
c638569c2e cgroups used by init must be mounted before any services start
init uses /acct and optionally /dev/memcg for tracking services and
therefore these must be started before any services start.

Test: check that cgroups are mounted appropriately.

Change-Id: Ice095287963181fe687dbe6b7d291076e674d1cc
2017-05-31 16:12:23 -07:00
Mark Salyzyn
12de1b9e26 Merge "logcat: logcatd: make logcatd killable" am: f2c1ef53ff am: 69f28a69e3 am: 301770b2c7
am: 6b954d64a2

Change-Id: Id5edb8980bee52e96adb2597910fbaf2e7ac4ef3
2017-05-31 22:39:55 +00:00
Mark Salyzyn
6b954d64a2 Merge "logcat: logcatd: make logcatd killable" am: f2c1ef53ff am: 69f28a69e3
am: 301770b2c7

Change-Id: I5a0e67899361a1ac93618b12a3052c78da86b23f
2017-05-31 22:37:14 +00:00
Mark Salyzyn
301770b2c7 Merge "logcat: logcatd: make logcatd killable" am: f2c1ef53ff
am: 69f28a69e3

Change-Id: I4a75c92ea0c23f2c00be5cf0ebaed768f354ae4f
2017-05-31 22:30:24 +00:00
Mark Salyzyn
69f28a69e3 Merge "logcat: logcatd: make logcatd killable"
am: f2c1ef53ff

Change-Id: Ibca636745a95a5f55bddfdd1a0c8067b9078655a
2017-05-31 22:28:22 +00:00
Treehugger Robot
f2c1ef53ff Merge "logcat: logcatd: make logcatd killable" 2017-05-31 22:24:06 +00:00
Jin Qian
4a335829da fastboot: use filename instead of fd to generate filesystem image
mke2fs tool takes a filename and has its own open function to handle
output file. Change fastboot in preparation to switch from make_ext4
to mke2fs.

Test: fastboot format:ext4 userdata
Bug: 35219933
Change-Id: I7a31cb215f443a4a7cb0bfc23ec28c121a6101e6
2017-05-31 21:23:12 +00:00
Tom Cherry
4aaeba0bb7 Merge "init: allow ':' in property names" into oc-dev am: 8ecf59439c
am: 396360d4dd

Change-Id: I3566cbf6732b277efce1581cf4084249941221a2
2017-05-31 19:00:30 +00:00
Tom Cherry
396360d4dd Merge "init: allow ':' in property names" into oc-dev
am: 8ecf59439c

Change-Id: If0c5a334fe7f0b5618ed9f74b96f65f013435b9b
2017-05-31 18:33:33 +00:00
Mark Salyzyn
30ea96e14e logcat: logcatd: make logcatd killable
Near last resort kill logcatd, set /proc/self/oom_score_adj to -600.

Can kill to keep system_server, telephony and bluetooth.

Test: manual, start logpersist, runs
Bug: 62147352
Change-Id: I3723761bf1d2b79ce6a9557d2e78f91cc5497e96
2017-05-31 11:27:22 -07:00
TreeHugger Robot
8ecf59439c Merge "init: allow ':' in property names" into oc-dev 2017-05-31 18:09:10 +00:00
George Burgess IV
44ece9cf43 Merge "logging: make LOG(FATAL) always run with the static analyzer." am: b46fd68653 am: 2e9af0942c am: 21ea871839
am: b058593588

Change-Id: Iece6951768b93b8fa212a1b847eac4e53b13b7bd
2017-05-31 17:24:50 +00:00
George Burgess IV
b058593588 Merge "logging: make LOG(FATAL) always run with the static analyzer." am: b46fd68653 am: 2e9af0942c
am: 21ea871839

Change-Id: I475fc3b3ec1c6639b106263c95bae45e90bb01b2
2017-05-31 17:15:00 +00:00
George Burgess IV
21ea871839 Merge "logging: make LOG(FATAL) always run with the static analyzer." am: b46fd68653
am: 2e9af0942c

Change-Id: I1f268e34a9c85bb7e57911a9881c39c60afd87e0
2017-05-31 17:05:57 +00:00
George Burgess IV
2e9af0942c Merge "logging: make LOG(FATAL) always run with the static analyzer."
am: b46fd68653

Change-Id: I761248df16cd0c7185bbd0934501151a18bdbdf5
2017-05-31 16:55:55 +00:00
Treehugger Robot
b46fd68653 Merge "logging: make LOG(FATAL) always run with the static analyzer." 2017-05-31 16:41:15 +00:00
George Burgess IV
6466ced8f6 logging: make LOG(FATAL) always run with the static analyzer.
::android::base::GetMinimumLogSeverity() is defined externally, so the
static analyzer was allowed to assume that we continue executing after a
LOG(FATAL).

I manually audited all of the code I have access to, and the only
"change the minimum log severity" statements I can see keep FATAL
enabled (...and continuing after a FATAL is highly sketchy to me
anyway).

(I'm sure I tested this at some point in making the previous patch. I
probably broke it in a refactor before sending it out for review; my
bad. :) )

Bug: None
Test: m without the static-analyzer builds; m with it yields fewer
false positives.

Change-Id: I216cd2034e1daa8d6f6c5e776f64b4cce88bb938
2017-05-31 14:41:22 +00:00
Narayan Kamath
7e60332c0a Merge "tombstoned: allow intercepts for java traces." am: 1e63347425 am: 907a666e22 am: 6ca71ad137
am: ddce581a63

Change-Id: Ie70a7ebcc9d2a4c257b5b9a580ca41672de6510d
2017-05-31 12:40:56 +00:00
Narayan Kamath
ddce581a63 Merge "tombstoned: allow intercepts for java traces." am: 1e63347425 am: 907a666e22
am: 6ca71ad137

Change-Id: I1797a7e47d2451858b3a130721b84e159a9f2843
2017-05-31 12:29:20 +00:00
Narayan Kamath
6ca71ad137 Merge "tombstoned: allow intercepts for java traces." am: 1e63347425
am: 907a666e22

Change-Id: Id0bb9f7d27991a137182cf4217e6fd1e075d2867
2017-05-31 12:16:45 +00:00
Narayan Kamath
907a666e22 Merge "tombstoned: allow intercepts for java traces."
am: 1e63347425

Change-Id: I326308ed1fa4bdbb3380a19403fecb93386ec811
2017-05-31 12:07:04 +00:00
Narayan Kamath
1e63347425 Merge "tombstoned: allow intercepts for java traces." 2017-05-31 11:55:50 +00:00
Narayan Kamath
a73df601b7 tombstoned: allow intercepts for java traces.
All intercept requests and crash dump requests must now specify a
dump_type, which can be one of kDebuggerdNativeBacktrace,
kDebuggerdTombstone or kDebuggerdJavaBacktrace. Each process can have
only one outstanding intercept registered at a time.

There's only one non-trivial change in this changeset; and that is
to crash_dump. We now pass the type of dump via a command line
argument instead of inferring it from the (resent) signal, this allows
us to connect to tombstoned before we wait for the signal as the
protocol requires.

Test: debuggerd_test

Change-Id: I189b215acfecd08ac52ab29117e3465da00e3a37
2017-05-31 10:35:32 +01:00
Justin Yun
bfa7ce59c4 Merge "libvndksupport: Do not lookup default namespace for sphal failure" into oc-dev am: 147743176a
am: eca6b3f0ea  -s ours

Change-Id: Ia21a05200869a12e6c694fb955d3da4a89294cb4
2017-05-31 07:14:03 +00:00
Justin Yun
eca6b3f0ea Merge "libvndksupport: Do not lookup default namespace for sphal failure" into oc-dev
am: 147743176a

Change-Id: Ic3e36ba95d124428e352f396812e700e634a1333
2017-05-31 07:09:33 +00:00
TreeHugger Robot
147743176a Merge "libvndksupport: Do not lookup default namespace for sphal failure" into oc-dev 2017-05-31 07:01:41 +00:00
Adrian Roos
e1c11252d1 Merge "Credential FRP: keep gatekeeperd credentials after reset" 2017-05-31 04:33:39 +00:00
Jayant Chowdhary
c65fdd74ad Merge "Add vendor_available:true to libmemunreachable" into oc-dev am: f751b13401 -s ours
am: ae97799e62  -s ours

Change-Id: I22b454e41cd74512baee691ca9b5ab5a659a721d
2017-05-31 04:31:14 +00:00
Jayant Chowdhary
bcfda46a45 Merge "Mark libprocinfo vendor_avaialable." into oc-dev am: 30a365a488 -s ours
am: 6b98bbb2ce  -s ours

Change-Id: I226ea040b68579ece5139baac0dd34f233c81cea
2017-05-31 04:30:56 +00:00
Jayant Chowdhary
00a3ba3826 Merge "Mark libion vendor_available." into oc-dev am: c9b14b96c1 -s ours
am: cc369d8b01  -s ours

Change-Id: I4b1e5931f7f23cade7e732f8f26709b9b0c01426
2017-05-31 04:30:38 +00:00
Jayant Chowdhary
a7c33a8355 Merge "Mark libdiskconfig vendor_available." into oc-dev am: 942e5b2808 -s ours
am: 3024544cc4  -s ours

Change-Id: Ic99172a8c455b8920d237b16b9c2d7e4e83c4105
2017-05-31 04:30:18 +00:00
Jayant Chowdhary
62126496ef Merge "Mark libnetutils vendor_available." into oc-dev am: 534d886507 -s ours
am: 6fc8953138  -s ours

Change-Id: I1201cf23551a49676fded1da5cb89aaabc558959
2017-05-31 04:29:59 +00:00
Jayant Chowdhary
e859082489 Merge "Mark libmetricslogger vendor_available." into oc-dev am: 571cee730f -s ours
am: b7737d0c1a  -s ours

Change-Id: I42cfe345c81a7db19b9af683d6df0f46a6bb8edc
2017-05-31 04:29:38 +00:00
Jayant Chowdhary
b23410d197 Merge "Mark libsuspend vendor_available." into oc-dev am: 83c5121b5e -s ours
am: 538da2b34a  -s ours

Change-Id: I24565fd475f041375c7482fff2a94b398cc82fb7
2017-05-31 04:29:18 +00:00
Jayant Chowdhary
06820c5911 Merge "Mark libsysutils vendor_available." into oc-dev am: b532d0d921 -s ours
am: 3478b64fbc  -s ours

Change-Id: If22cd3b5ee8ce34925a1f1ebbd2b5ef88866c5c9
2017-05-31 04:29:00 +00:00
Jayant Chowdhary
fa028f91ac Merge "Mark libziparchive vendor_available." into oc-dev am: b8c0f4fb04 -s ours
am: 32d9f13645  -s ours

Change-Id: I4897c9595727be09f88cf122b28d40be3aec0918
2017-05-31 04:28:42 +00:00
Jayant Chowdhary
ae97799e62 Merge "Add vendor_available:true to libmemunreachable" into oc-dev
am: f751b13401  -s ours

Change-Id: Ifa7f3fd0280d8375d38ccada176efb02ad629249
2017-05-31 04:17:54 +00:00
Jayant Chowdhary
6b98bbb2ce Merge "Mark libprocinfo vendor_avaialable." into oc-dev
am: 30a365a488  -s ours

Change-Id: I1e3a56f97e4bb9706cae2e89f3afad981e62be82
2017-05-31 04:17:30 +00:00
Jayant Chowdhary
cc369d8b01 Merge "Mark libion vendor_available." into oc-dev
am: c9b14b96c1  -s ours

Change-Id: I7598dc8c8299ffff108889e30639f91911d7c5d5
2017-05-31 04:17:04 +00:00
Jayant Chowdhary
3024544cc4 Merge "Mark libdiskconfig vendor_available." into oc-dev
am: 942e5b2808  -s ours

Change-Id: I850955588e5b5d43cbc71af85ff9fcba9123a677
2017-05-31 04:16:41 +00:00