summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-07-22 21:15:15 +0000
committerEric Fiselier <eric@efcs.ca>2018-07-22 21:15:15 +0000
commit37dd491d1353a4106ba5c2425b3e8354401c0ece (patch)
tree349e9f9cf92089438c7528d142ac85778dc2fa8f /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parent0f3ce8e6404c81801d98f51d97f080c9a0f7a6c1 (diff)
downloadbcm5719-llvm-37dd491d1353a4106ba5c2425b3e8354401c0ece.tar.gz
bcm5719-llvm-37dd491d1353a4106ba5c2425b3e8354401c0ece.zip
Harden copy_file even more.
This patch removes the O_CREAT open flag when we first attempt to open the destination file but we expect it to already exist. This theoretically avoids the possibility that it was removed between when we first stat'ed it, and when we attempt to open it. llvm-svn: 337659
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud