summaryrefslogtreecommitdiffstats
path: root/lmkd/lmkd.rc
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2019-04-18 16:46:42 -0700
committerLuca Stefani <luca.stefani.ge1@gmail.com>2020-03-13 23:30:46 +0100
commita9981a8f6f58dc42a69b4f7e6d441def5dbd84e0 (patch)
tree7d848382026a874e74f6aa926fd04cc7190c3d3e /lmkd/lmkd.rc
parent0074ceb72f1ea7950d1c425a186287eaf9b11d30 (diff)
downloadsystem_core-a9981a8f6f58dc42a69b4f7e6d441def5dbd84e0.tar.gz
system_core-a9981a8f6f58dc42a69b4f7e6d441def5dbd84e0.tar.bz2
system_core-a9981a8f6f58dc42a69b4f7e6d441def5dbd84e0.zip
adb: fix double close in wait-for-*.
unique_fd's implicit conversion to int allows the following code to compile without error, leading to a double close: std::function<void(unique_fd)> func = [](int x) { close(x); }; func(unique_fd(42)); Test: treehugger Change-Id: I948ecda3a12738b3af6444fe2902d2f7b80e1b4c
Diffstat (limited to 'lmkd/lmkd.rc')
0 files changed, 0 insertions, 0 deletions