Elliott Hughes
30fc292a26
Merge \\"Remove no-op klog_init.\\" am: 5558cd362b
...
am: 8932be864d
Change-Id: I90466cd911100735e7c8ec88fd5d680b5ae9d8fe
2016-07-19 19:51:09 +00:00
Elliott Hughes
8932be864d
Merge \"Remove no-op klog_init.\"
...
am: 5558cd362b
Change-Id: I3f2112bead6740f1df48bc5b028f62c91d40425b
2016-07-19 19:48:36 +00:00
Treehugger Robot
5558cd362b
Merge "Remove no-op klog_init."
2016-07-19 19:39:39 +00:00
Elliott Hughes
489e3fbaa0
Remove no-op klog_init.
...
Change-Id: I467edad1d004ac16647f4aa1f0eead04e808efa0
2016-07-19 11:45:36 -07:00
Jorge Lucangeli Obes
228197b54f
Merge \\"run-as: Use Minijail for privilege dropping.\\" am: ac9b4d47ea
...
am: f565b11716
Change-Id: I8895e645e438ead40b8d640091d722fa3b588435
2016-07-19 18:37:30 +00:00
Jorge Lucangeli Obes
f565b11716
Merge \"run-as: Use Minijail for privilege dropping.\"
...
am: ac9b4d47ea
Change-Id: I7f11de0b5136c18b8770b5e25ef6c6c3db117bd1
2016-07-19 18:35:00 +00:00
Treehugger Robot
ac9b4d47ea
Merge "run-as: Use Minijail for privilege dropping."
2016-07-19 18:29:27 +00:00
Jorge Lucangeli Obes
a377ff0d4a
run-as: Use Minijail for privilege dropping.
...
Arguably, we don't need a ScopedMinijail for a program that only execs,
but I'd rather keep the code consistent and have all uses of Minijail
be good examples.
Bug: 30156807
Change-Id: I08a968835e0f3e2afcd5e7736626edbed658cde2
2016-07-19 11:03:52 -04:00
Josh Gao
46fedbc4b2
adb: use asocket\\\\\'s close function when closing. am: f71c01493a
am: d179556680
am: e2a5846402
am: 29aa08f8cc
-s ours
...
am: 2ca04650df
Change-Id: Ib2c5c1761c1e02a90683e97bc82234d6f086c6f6
2016-07-18 20:20:51 +00:00
Josh Gao
44a8dfc152
adb: switch the socket list mutex to a recursive_mutex. am: 6f641adea5
am: a6b92d1f2e
am: 1f8c6c8c8e
am: 163802c244
-s ours
...
am: 46468f8cef
Change-Id: I3e6fee1ccc1f56f2341505e51e7508f23834afb8
2016-07-18 20:20:51 +00:00
Josh Gao
2ca04650df
adb: use asocket\\\\'s close function when closing. am: f71c01493a
am: d179556680
am: e2a5846402
...
am: 29aa08f8cc
-s ours
Change-Id: I0dc701f0946e066ecab854f99867057629b1ccc9
2016-07-18 20:20:29 +00:00
Josh Gao
46468f8cef
adb: switch the socket list mutex to a recursive_mutex. am: 6f641adea5
am: a6b92d1f2e
am: 1f8c6c8c8e
...
am: 163802c244
-s ours
Change-Id: I778721bfdf8bace675ca86fb2b49a1d0ecd052b2
2016-07-18 20:12:58 +00:00
Jorge Lucangeli Obes
c2999fb33b
Merge \\"Use arraysize() for supplementary groups.\\" am: ddbcecec3a
...
am: 3ab30ecf4c
Change-Id: I93824fda0811422b11f1c9b5c01bc07a660a42c1
2016-07-18 20:10:15 +00:00
Jorge Lucangeli Obes
3ab30ecf4c
Merge \"Use arraysize() for supplementary groups.\"
...
am: ddbcecec3a
Change-Id: Ia8405d8bc181b1cdbf1f0812c0dbe8f7701747ef
2016-07-18 20:06:19 +00:00
Treehugger Robot
ddbcecec3a
Merge "Use arraysize() for supplementary groups."
2016-07-18 20:00:28 +00:00
Josh Gao
29aa08f8cc
adb: use asocket\\\'s close function when closing. am: f71c01493a
am: d179556680
...
am: e2a5846402
Change-Id: I089c7390c4e5f325b3c6e8ff54012430a436c05d
2016-07-18 19:54:17 +00:00
Josh Gao
163802c244
adb: switch the socket list mutex to a recursive_mutex. am: 6f641adea5
am: a6b92d1f2e
...
am: 1f8c6c8c8e
Change-Id: I035c2436afc99078996fb655aa4b9554e7cc812e
2016-07-18 19:54:17 +00:00
Josh Gao
e2a5846402
adb: use asocket\\'s close function when closing. am: f71c01493a
...
am: d179556680
Change-Id: I484051c028f89e292567485db49e2e20d26030be
2016-07-18 19:50:46 +00:00
Josh Gao
1f8c6c8c8e
adb: switch the socket list mutex to a recursive_mutex. am: 6f641adea5
...
am: a6b92d1f2e
Change-Id: I064738710ab360cbfeb0b669d7e531f955f8b9cb
2016-07-18 19:50:46 +00:00
Josh Gao
d179556680
adb: use asocket\'s close function when closing.
...
am: f71c01493a
Change-Id: Id77dd7ff1931f03ea7f1e0339eca6610e02e9122
2016-07-18 19:47:45 +00:00
Josh Gao
a6b92d1f2e
adb: switch the socket list mutex to a recursive_mutex.
...
am: 6f641adea5
Change-Id: I839bc3817e7d7bb24b2bf3c5059919802c9f5d33
2016-07-18 19:47:45 +00:00
Jorge Lucangeli Obes
bae15b4f46
Use arraysize() for supplementary groups.
...
Also make adbd use ScopedMinijail.
Bug: 30191189
Change-Id: I5e259aa466817b51037912aba043ba75bd35f9e1
2016-07-18 13:46:42 -04:00
Jorge Lucangeli Obes
c97786fb43
Merge \\"Use Minijail for privilege dropping.\\" am: 97f49e5cb3
...
am: fe4f764e75
Change-Id: I878d09de7ec1063121a2b3868c43d7fd5b026f9e
2016-07-18 16:09:29 +00:00
Jorge Lucangeli Obes
fe4f764e75
Merge \"Use Minijail for privilege dropping.\"
...
am: 97f49e5cb3
Change-Id: I032ea3fcdac1a16bf36d43731b8533214264fee2
2016-07-18 16:06:38 +00:00
Treehugger Robot
97f49e5cb3
Merge "Use Minijail for privilege dropping."
2016-07-18 15:58:46 +00:00
Mark Salyzyn
44fa37b1f8
Merge \\"logd: Worst Tag filter enabled for events buffer\\" am: c4be85fbba
...
am: c067116ad5
Change-Id: I31ab68fd09881e7d0cf29a5061bbbddaf39bf4d6
2016-07-16 00:37:01 +00:00
Mark Salyzyn
c067116ad5
Merge \"logd: Worst Tag filter enabled for events buffer\"
...
am: c4be85fbba
Change-Id: I9d33328dfb179a914f502c353b4388d79e376eda
2016-07-16 00:33:19 +00:00
Treehugger Robot
c4be85fbba
Merge "logd: Worst Tag filter enabled for events buffer"
2016-07-16 00:23:40 +00:00
Josh Gao
f71c01493a
adb: use asocket's close function when closing.
...
close_all_sockets was assuming that all registered local sockets used
local_socket_close as their close function. However, this is not true
for JDWP sockets.
Bug: http://b/28347842
Change-Id: I40a1174845cd33f15f30ce70828a7081cd5a087e
(cherry picked from commit 53eb31d87c
)
(cherry picked from commit 014b01706c
)
2016-07-15 17:17:14 -07:00
Josh Gao
6f641adea5
adb: switch the socket list mutex to a recursive_mutex.
...
sockets.cpp was branching on whether a socket close function was
local_socket_close in order to avoid a potential deadlock if the socket
list lock was held while closing a peer socket.
Bug: http://b/28347842
Change-Id: I5e56f17fa54275284787f0f1dc150d1960256ab3
(functionally a cherrypick of 903b749f
+ 9b587dec
, with windows disabled)
2016-07-15 17:17:14 -07:00
Mark Salyzyn
acec904b25
Merge \\"logd: Replace logd with chatty log tag\\" am: 596e65db60
...
am: 607f55de91
Change-Id: Ic5e1f21c94f4cd40a9c601817b58e8a2636d4bba
2016-07-15 23:26:05 +00:00
Mark Salyzyn
607f55de91
Merge \"logd: Replace logd with chatty log tag\"
...
am: 596e65db60
Change-Id: I88057f1ffb21e6b0863dd0803a7a9be0ee72cb1c
2016-07-15 23:23:51 +00:00
Treehugger Robot
596e65db60
Merge "logd: Replace logd with chatty log tag"
2016-07-15 23:20:11 +00:00
Amit Pundir
aff2347646
Merge \\"init: select usb gadget controller at run time\\" am: 916f5e873e
...
am: 91272bd435
Change-Id: I409161214cacbaac8fcb0f49d2c0a882f5d72dd7
2016-07-15 22:55:36 +00:00
Amit Pundir
91272bd435
Merge \"init: select usb gadget controller at run time\"
...
am: 916f5e873e
Change-Id: Ifc4ec86c56df0de1ca498f3de392405490690809
2016-07-15 22:53:21 +00:00
Treehugger Robot
916f5e873e
Merge "init: select usb gadget controller at run time"
2016-07-15 22:50:29 +00:00
Mark Salyzyn
64bad84ece
Merge changes If992b53b,Ieab60fd1 am: 7c50033e9f
...
am: 11b2dbca15
Change-Id: Ibcb4a582ccdf4342b30ab6582a4b5f397b38a7a7
2016-07-15 22:42:32 +00:00
Mark Salyzyn
11b2dbca15
Merge changes If992b53b,Ieab60fd1
...
am: 7c50033e9f
Change-Id: Ie0fb615394eea100dbcc12519c52bbdba8fb8fe0
2016-07-15 22:39:51 +00:00
Treehugger Robot
7c50033e9f
Merge changes If992b53b,Ieab60fd1
...
* changes:
logd: rename sort() for pids to sortPids()
logd: drop prdebug inline
2016-07-15 22:32:08 +00:00
Elliott Hughes
e84b1cc1ea
Merge \\"Lose sendevent to toybox.\\" am: 7a8e0c1381
...
am: 28ccb9a80f
Change-Id: I84e432c6598d66fe41109dd58c8db133ec9852b5
2016-07-15 22:21:38 +00:00
Elliott Hughes
28ccb9a80f
Merge \"Lose sendevent to toybox.\"
...
am: 7a8e0c1381
Change-Id: I22fdb59de7a2fadc9c451ad8193f58dc539ad2c2
2016-07-15 22:19:31 +00:00
Treehugger Robot
7a8e0c1381
Merge "Lose sendevent to toybox."
2016-07-15 22:14:38 +00:00
Amit Pundir
d2e74db475
init: select usb gadget controller at run time
...
Right now we set sys.usb.controller property in init.$platform.usb.rc
to enable ConfigFS gadgets.
Let system detect and set UDC driver name from /sys/class/udc instead.
Change-Id: I99ad49d24dc53b543c5573e209bf00d6c2d91dd4
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2016-07-15 15:01:43 -07:00
Mark Salyzyn
6a06694a61
logd: Worst Tag filter enabled for events buffer
...
- Add drop logistics to TagTable
- replace uid references to a key reference since it
is an UID for most buffers, but a TAG for the
events and security buffer
- template the find worst entry mechanics into LogFindWorst class
Bug: 30118730
Change-Id: Ibea4be2c50d6ff4b39039e371365fed2453f17a2
2016-07-15 14:58:17 -07:00
Mark Salyzyn
47684ca591
logd: Replace logd with chatty log tag
...
Bug: 30118730
Change-Id: I7c7802fef157d5ded02573621d21e0ded3df9745
2016-07-15 14:57:58 -07:00
Mark Salyzyn
0f85817985
logd: rename sort() for pids to sortPids()
...
Bug: 30118730
Change-Id: If992b53b52a7470427fbe82abb93c95c1b2dc57a
2016-07-15 14:37:04 -07:00
Mark Salyzyn
36a8711260
logd: drop prdebug inline
...
Makes the prdebug helper accessible for debugging
Bug: 30118730
Change-Id: Ieab60fd18221108ae27c54140a25061ab29ca1a3
2016-07-15 14:36:50 -07:00
Elliott Hughes
c733a763c0
Lose sendevent to toybox.
...
Change-Id: I460b240c9cec0b0e966ab81ea6fdb0deb61c21bc
2016-07-15 14:17:28 -07:00
Robert Sesek
15166f96d9
Merge \\"Add static UID for the webview zygote process.\\" am: 07f5d8cc0c
...
am: ed1c074303
Change-Id: Ie411759bd011b424d619e3949e29e1fdaf08ba91
2016-07-15 21:08:54 +00:00
Robert Sesek
ed1c074303
Merge \"Add static UID for the webview zygote process.\"
...
am: 07f5d8cc0c
Change-Id: I7d2382f3e61a405a9b838b02983aa8dbf9aedc74
2016-07-15 21:05:25 +00:00