mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 08:53:01 -05:00
memfs: AllowOpenInKernelMode==1
The getfileattr_test is expected to fail.
This commit is contained in:
parent
4255d4eec7
commit
fd9eccbe8b
@ -2052,6 +2052,7 @@ NTSTATUS MemfsCreateFunnel(
|
|||||||
#if defined(MEMFS_CONTROL)
|
#if defined(MEMFS_CONTROL)
|
||||||
VolumeParams.DeviceControl = 1;
|
VolumeParams.DeviceControl = 1;
|
||||||
#endif
|
#endif
|
||||||
|
VolumeParams.AllowOpenInKernelMode = 1;
|
||||||
if (0 != VolumePrefix)
|
if (0 != VolumePrefix)
|
||||||
wcscpy_s(VolumeParams.Prefix, sizeof VolumeParams.Prefix / sizeof(WCHAR), VolumePrefix);
|
wcscpy_s(VolumeParams.Prefix, sizeof VolumeParams.Prefix / sizeof(WCHAR), VolumePrefix);
|
||||||
wcscpy_s(VolumeParams.FileSystemName, sizeof VolumeParams.FileSystemName / sizeof(WCHAR),
|
wcscpy_s(VolumeParams.FileSystemName, sizeof VolumeParams.FileSystemName / sizeof(WCHAR),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user