summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-12-02 08:05:22 -0800
committerMark Salyzyn <salyzyn@google.com>2016-12-05 11:26:39 -0800
commit978fd0ea254f11f84e38b41a74bbe70c81edc197 (patch)
tree9648713f103f13b660c368c56102ae8c1cba19c0 /libutils/ProcessCallStack.cpp
parente218fc673fcc0aa4a7291b4a2161d9427aa79aa3 (diff)
init: service file command only opens existing files
Mixing open or create, along with attribute(MAC) and permissions(DAC) is a security and confusion issue. Fix an issue where fcntl F_SETFD was called to clear O_NONBLOCK, when it should have been F_SETFL. Did not present a problem because the current user of this feature does writes and control messages only. Test: gTest logd-unit-tests and check dmesg for logd content. Bug: 32450474 Bug: 33242020 Change-Id: I23cb9a9be5ddb7e8e9c58c79838bc07536e766e6
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions