llvm-capstone/lldb
Yuxuan Shui 9a4b3fdb82 [lldb][windows] _wsopen_s does not accept bits other than _S_IREAD | _S_IWRITE
When sending file from a Linux host to a Windows remote, Linux host will try to copy the source file's permission bits, which will contain `_S_I?GRP` and `_S_I?OTH` bits. Those bits are rejected by `_wsopen_s`, causing it to return EINVAL.

This patch masks out the rejected bits.

GitHub issue: #64313

Reviewed By: jasonmolenda, DavidSpickett

Differential Revision: https://reviews.llvm.org/D156817
2023-08-30 15:53:31 +03:00
..
bindings [lldb] Fix test failures introduced by 8e0a087571 2023-08-29 16:52:30 +01:00
cmake [lldb] Bump SWIG minimum version to 4 2023-08-04 14:34:01 -07:00
docs Re-land "[lldb/docs] Silence warnings when generating website" 2023-08-29 16:24:33 +01:00
examples [lldb/crashlog] Fix python version requirement issue 2023-08-21 21:52:44 +01:00
include [lldb][NFCI] Remove StructuredData::Array::GetItemAtIndexAsString overloads with ConstString 2023-08-29 16:02:26 -07:00
packages/Python/lldbsuite [lldb] Remove use of __future__ in python 2023-08-14 14:14:48 -07:00
resources [lldb][NFC] Remove copy of debugserver entitlements plist 2023-01-31 12:58:37 -08:00
scripts [lldb] Remove use of __future__ in python 2023-08-14 14:14:48 -07:00
source [lldb][windows] _wsopen_s does not accept bits other than _S_IREAD | _S_IWRITE 2023-08-30 15:53:31 +03:00
test [LLDB] Fix tab size settings tests 2023-08-28 17:55:15 -04:00
third_party/Python/module [lldb] Remove use of __future__ in python 2023-08-14 14:14:48 -07:00
tools [lldb] Qualify auto in the lldb driver (NFC) 2023-08-25 07:40:37 -07:00
unittests Revert "[mlir][complex] Convert complex.abs to arith with fastmath flag" 2023-08-29 02:01:20 +05:00
utils [lldb] Remove use of __future__ in python 2023-08-14 14:14:48 -07:00
.clang-format
.clang-tidy [LLDB] Applying clang-tidy modernize-use-override over LLDB 2022-04-22 13:29:47 -07:00
.gitignore
CMakeLists.txt Reland "[CMake] Bumps minimum version to 3.20.0. 2023-05-27 12:51:21 +02:00
CodeOwners.rst [lldb] Update LLDB Code Ownership 2023-08-08 08:54:03 -07:00
LICENSE.TXT
use_lldb_suite_root.py