Commit graph

35595 commits

Author SHA1 Message Date
Lennart Wieboldt
6da3de27be Merge "Remove LOCAL_CLANG and clang: true" am: 80ec81cf4b am: f7b315c985 am: 8a8b97b271
am: e1332dd01b

Change-Id: I193d86abf96e64b29efc7266f4fa3a26b5d2b3af
2017-07-25 22:39:58 +00:00
Lennart Wieboldt
e1332dd01b Merge "Remove LOCAL_CLANG and clang: true" am: 80ec81cf4b am: f7b315c985
am: 8a8b97b271

Change-Id: I7e691abe2e2ccec5d9477c528d603c081c0a5661
2017-07-25 22:35:56 +00:00
Lennart Wieboldt
8a8b97b271 Merge "Remove LOCAL_CLANG and clang: true" am: 80ec81cf4b
am: f7b315c985

Change-Id: Id5ebeb3271a36f21bf28c186f7ec227d31bb10ac
2017-07-25 22:33:27 +00:00
Lennart Wieboldt
f7b315c985 Merge "Remove LOCAL_CLANG and clang: true"
am: 80ec81cf4b

Change-Id: Ia7f79d8e25ee9870fe44d198568d0e5dabdff811
2017-07-25 22:28:56 +00:00
Treehugger Robot
80ec81cf4b Merge "Remove LOCAL_CLANG and clang: true" 2017-07-25 22:20:23 +00:00
Siarhei Vishniakou
d374e3bad0 Merge "Add thread safety analysis annotations." am: e7ce8c8485 am: f23f21a231 am: a0e5e3abce
am: 097965e76e

Change-Id: I3239d0cd5f9facecb933e40d0eda7f8bfba9502d
2017-07-25 21:54:24 +00:00
Siarhei Vishniakou
097965e76e Merge "Add thread safety analysis annotations." am: e7ce8c8485 am: f23f21a231
am: a0e5e3abce

Change-Id: I55ee187ee689855dabd565fa1a40fcc1e907339c
2017-07-25 21:50:24 +00:00
Siarhei Vishniakou
a0e5e3abce Merge "Add thread safety analysis annotations." am: e7ce8c8485
am: f23f21a231

Change-Id: Icbe910717db9805c06d761e79c435bb33d21d1cf
2017-07-25 21:46:53 +00:00
Siarhei Vishniakou
f23f21a231 Merge "Add thread safety analysis annotations."
am: e7ce8c8485

Change-Id: I4963b623b6e5a190bfee1dcfec01fe009ba0e94f
2017-07-25 21:42:54 +00:00
Wei Wang
4c95acb435 Do not umount roofs even if it is R/W. am: b7a8764a12
am: ba6705f9de

Change-Id: Ia1f3fc0fd119546cf3118e4f6c46079075f38485
2017-07-25 21:42:36 +00:00
Wei Wang
1b2afd512a Do not umount roofs even if it is R/W. am: b7a8764a12
am: f56456515d

Change-Id: Ia897c5436b082826928ca52988d0a4e235559886
2017-07-25 21:38:50 +00:00
Treehugger Robot
e7ce8c8485 Merge "Add thread safety analysis annotations." 2017-07-25 21:37:27 +00:00
Wei Wang
f56456515d Do not umount roofs even if it is R/W.
am: b7a8764a12

Change-Id: Id9ce4a6ea83e3c71ff5627e27eadd9c80085dbd0
2017-07-25 21:35:06 +00:00
Wei Wang
ba6705f9de Do not umount roofs even if it is R/W.
am: b7a8764a12

Change-Id: I56014ac0ae01a5666a58225eed5f89e08859c0d8
2017-07-25 21:34:50 +00:00
Wei Wang
4cca10cf7e Merge "Do not umount roofs even if it is R/W." am: 43567e39dc am: 22782a7269 am: 34e13498dc
am: 081c1921e0

Change-Id: I0e7da9de55bd7f8b39561aa0a3a9a8b434749ddb
2017-07-25 20:51:18 +00:00
Wei Wang
081c1921e0 Merge "Do not umount roofs even if it is R/W." am: 43567e39dc am: 22782a7269
am: 34e13498dc

Change-Id: I8b3c0cefd23d5e7e44da02e13cc173472834b070
2017-07-25 20:47:48 +00:00
Wei Wang
34e13498dc Merge "Do not umount roofs even if it is R/W." am: 43567e39dc
am: 22782a7269

Change-Id: I84024bff22fee8569c0f1193d6f3d8417d3cbc1b
2017-07-25 20:44:21 +00:00
Wei Wang
22782a7269 Merge "Do not umount roofs even if it is R/W."
am: 43567e39dc

Change-Id: I89bfb662469c28559eb628e48aee1ecb262ad2ee
2017-07-25 20:41:19 +00:00
Steve Muckle
c2548ea392 Merge "init: add support for global seccomp boot option" am: 9f1980e2fc am: 5a79972238 am: eb7db75c28
am: aa4bb9552f

Change-Id: I0b7c6112549b8cfba1f4069515d666534ee9e3e2
2017-07-25 20:36:49 +00:00
Treehugger Robot
43567e39dc Merge "Do not umount roofs even if it is R/W." 2017-07-25 20:35:50 +00:00
Steve Muckle
aa4bb9552f Merge "init: add support for global seccomp boot option" am: 9f1980e2fc am: 5a79972238
am: eb7db75c28

Change-Id: I5fabba13d6b269ffca8731fc83dbd590ae388239
2017-07-25 20:33:53 +00:00
Steve Muckle
eb7db75c28 Merge "init: add support for global seccomp boot option" am: 9f1980e2fc
am: 5a79972238

Change-Id: Ide7500d4ff4d9eebf2fea1d81ff77044a6d63c57
2017-07-25 20:30:30 +00:00
Steve Muckle
5a79972238 Merge "init: add support for global seccomp boot option"
am: 9f1980e2fc

Change-Id: I35532202b360ef32cdb21c048cd3d2e1139b7d67
2017-07-25 20:26:29 +00:00
Treehugger Robot
9f1980e2fc Merge "init: add support for global seccomp boot option" 2017-07-25 20:18:51 +00:00
Wei Wang
b7a8764a12 Do not umount roofs even if it is R/W.
Latest device has rootfs instead of "/system" mount point

(cherry picked from commit a01c27eef8)

Bug: 37737296
Test: adb remount, reboot, and check log
Change-Id: I315ecf71e85255fc55c3a80619920b456bad0956
2017-07-25 11:39:22 -07:00
Wei Wang
a01c27eef8 Do not umount roofs even if it is R/W.
Latest device has rootfs instead of "/system" mount point

Bug: 37737296
Test: adb remount, reboot, and check log
Change-Id: I315ecf71e85255fc55c3a80619920b456bad0956
2017-07-25 10:55:10 -07:00
Narayan Kamath
cc1f85a49a Merge "DO NOT MERGE ANYWHERE tombstoned: Avoid creating the tombstoned_java_trace socket." into oc-dr1-dev am: 53ce94588b -s ours
am: 8df2973166  -s ours

Change-Id: I63338c59f4c27efeccb29ebfc98ddac826ccc439
2017-07-25 15:21:37 +00:00
Narayan Kamath
35060e1034 Merge "DO NOT MERGE ANYWHERE tombstoned: Avoid creating the tombstoned_java_trace socket." into oc-dr1-dev am: 53ce94588b -s ours
am: 385a5dc03a  -s ours

Change-Id: I59df897bad916cf7facd62469e11c05f977ed3dd
2017-07-25 15:17:24 +00:00
Narayan Kamath
385a5dc03a Merge "DO NOT MERGE ANYWHERE tombstoned: Avoid creating the tombstoned_java_trace socket." into oc-dr1-dev
am: 53ce94588b  -s ours

Change-Id: I5fce7331aae05080d8a68155500ebda45dfe7246
2017-07-25 15:13:24 +00:00
Narayan Kamath
8df2973166 Merge "DO NOT MERGE ANYWHERE tombstoned: Avoid creating the tombstoned_java_trace socket." into oc-dr1-dev
am: 53ce94588b  -s ours

Change-Id: Ia2e6b86fbe5096b9419511edf7c3baf78e8aaee5
2017-07-25 15:13:24 +00:00
TreeHugger Robot
53ce94588b Merge "DO NOT MERGE ANYWHERE tombstoned: Avoid creating the tombstoned_java_trace socket." into oc-dr1-dev 2017-07-25 15:05:01 +00:00
Lennart Wieboldt
cd15fc7ba8 Remove LOCAL_CLANG and clang: true
clang is the default compiler since Android nougat

Test: mma & verified it´s still build with clang
Change-Id: I34adaeef2f6558a09f26027271222bad94780507
Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
2017-07-25 14:29:50 +02:00
Narayan Kamath
ed218dd556 DO NOT MERGE ANYWHERE tombstoned: Avoid creating the tombstoned_java_trace socket.
Its use is hard-wired off by default. This fixes an SELinux
denial when init tries to create it. We see a denail because
the SELinux aspects of these changes have been reverted on DR
because it's the same API level as oc-dev.

Test: manual
Bug: 63350870

Change-Id: I8b18a25bc14ad9cf79825596ce70483530dd3a8b
2017-07-25 13:17:01 +01:00
Wei Wang
e846e665ba init: Fire shutdown trigger for thermal shutdown am: 63a1d0a5f9
am: da4e68944e

Change-Id: Ie8edf568678ea2c629df27e5d8fa15430f68891c
2017-07-25 00:25:32 +00:00
Wei Wang
719622c731 init: Fire shutdown trigger for thermal shutdown am: 63a1d0a5f9
am: 5721e78e24

Change-Id: I9a16b784962ff20769007ee91c83afd7756c46ba
2017-07-25 00:21:00 +00:00
Wei Wang
da4e68944e init: Fire shutdown trigger for thermal shutdown
am: 63a1d0a5f9

Change-Id: I1355e32c56947a79666eb3a58d9299042171a25c
2017-07-25 00:17:29 +00:00
Wei Wang
5721e78e24 init: Fire shutdown trigger for thermal shutdown
am: 63a1d0a5f9

Change-Id: Id38327977f944071063b97a19b4889a903f94eda
2017-07-25 00:17:28 +00:00
Wei Wang
2257815813 Merge "init: Fire shutdown trigger for thermal shutdown" am: 603cae8b48 am: b0a6129c43 am: fc2f0a0ce7
am: 9a63ee349d

Change-Id: I6e44b248c79a7472bea4557fc55bbf79733ecd14
2017-07-24 22:27:50 +00:00
Wei Wang
9a63ee349d Merge "init: Fire shutdown trigger for thermal shutdown" am: 603cae8b48 am: b0a6129c43
am: fc2f0a0ce7

Change-Id: I1611d973239dd15b01799fc21bdc812dfacc8036
2017-07-24 22:20:19 +00:00
Wei Wang
fc2f0a0ce7 Merge "init: Fire shutdown trigger for thermal shutdown" am: 603cae8b48
am: b0a6129c43

Change-Id: I3f88302f280809e9df98dc55dd2ca6ebd269e7bb
2017-07-24 22:17:50 +00:00
Wei Wang
b0a6129c43 Merge "init: Fire shutdown trigger for thermal shutdown"
am: 603cae8b48

Change-Id: I0bbd26f22887afcf7b2145b78239c9f8e2c45047
2017-07-24 22:15:20 +00:00
Treehugger Robot
603cae8b48 Merge "init: Fire shutdown trigger for thermal shutdown" 2017-07-24 22:09:37 +00:00
Wei Wang
63a1d0a5f9 init: Fire shutdown trigger for thermal shutdown
Recent change in init has bring normal shutdown sequence in
thermal-shutdown condition. This CL will make sure init fire shutdown
trigger where holds custom shutdown actions for vendor SoC/platform.

(cherry picked from commit 1be2212319)

Bug: 63686426
Test: adb shell setprop sys.powerctl thermal-shutdown
Change-Id: Ieb8579fdf9c30c1a81d60466a7375c9784f3ca98
2017-07-24 14:59:52 -07:00
Steve Muckle
af1a9bfb8f init: add support for global seccomp boot option
Setting androidboot.seccomp=global on the kernel command line shall
enable seccomp for all processes rather than just in zygote. Doing
this has a performance impact, for now it shall just be used to audit
syscall usage during testing.

Bug: 37960259
Change-Id: I6b9fc95e9bec5e2bcfe6ef0b4343a5b422e30152
2017-07-24 13:33:54 -07:00
Wei Wang
1be2212319 init: Fire shutdown trigger for thermal shutdown
Recent change in init has bring normal shutdown sequence in
thermal-shutdown condition. This CL will make sure init fire shutdown
trigger where holds custom shutdown actions for vendor SoC/platform.

Bug: 63686426
Test: adb shell setprop sys.powerctl thermal-shutdown
Change-Id: Ieb8579fdf9c30c1a81d60466a7375c9784f3ca98
2017-07-24 13:12:22 -07:00
Tom Cherry
e4e6f3a6e6 Merge "init: use delegating constructor for Service" am: ce3b2de809 am: 9549d6889a am: d78477cf59
am: 78f18a3e37

Change-Id: I14f4510b05990778946c26048640048bbd333fcf
2017-07-24 16:43:18 +00:00
Tom Cherry
78f18a3e37 Merge "init: use delegating constructor for Service" am: ce3b2de809 am: 9549d6889a
am: d78477cf59

Change-Id: I9f43b6f3a35ff831efb4c7feb7f6cc27866bce31
2017-07-24 16:38:51 +00:00
Tom Cherry
d78477cf59 Merge "init: use delegating constructor for Service" am: ce3b2de809
am: 9549d6889a

Change-Id: I5b2c03c405b8261a2613905d8597c58b73ca4bb9
2017-07-24 16:33:03 +00:00
Tom Cherry
9549d6889a Merge "init: use delegating constructor for Service"
am: ce3b2de809

Change-Id: Ic9bd63b44f57b505b1cd379948786349e92c0c45
2017-07-24 16:27:35 +00:00
Tom Cherry
ce3b2de809 Merge "init: use delegating constructor for Service" 2017-07-24 16:19:46 +00:00