summaryrefslogtreecommitdiff
path: root/libcutils/sockets_unix.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-10-10 07:27:42 -0700
committerMark Salyzyn <salyzyn@google.com>2016-10-13 21:43:42 +0000
commitdb8a266aea6c12b0fb8ee3587d72333662b05266 (patch)
treec10491cebcf0b69c99aa0e8ed56611a50d0080b4 /libcutils/sockets_unix.cpp
parentbf0cf4e22d594db03c1dcef57fd18d3ae038eefb (diff)
liblog: __android_log_pmsg_file_write() cleanup
__android_log_pmsg_file_write() will open /dev/pmsg0 if not already, and will close it if we opened it. Added atomic access to the android_log_context as insurance. Fortify and correct pmsg tests. Test: gTest liblog-unit-tests --gtest_filter=liblog.__android_log_pmsg_file_* Bug: 31958686 Change-Id: I2cf6f971b6968938f471fda67367efe20dae3004
Diffstat (limited to 'libcutils/sockets_unix.cpp')
0 files changed, 0 insertions, 0 deletions