memfs: AllowOpenInKernelMode==1

The getfileattr_test is expected to fail.
This commit is contained in:
Bill Zissimopoulos 2018-10-03 09:32:14 -07:00
parent 4255d4eec7
commit fd9eccbe8b
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3

View File

@ -2052,6 +2052,7 @@ NTSTATUS MemfsCreateFunnel(
#if defined(MEMFS_CONTROL)
VolumeParams.DeviceControl = 1;
#endif
VolumeParams.AllowOpenInKernelMode = 1;
if (0 != VolumePrefix)
wcscpy_s(VolumeParams.Prefix, sizeof VolumeParams.Prefix / sizeof(WCHAR), VolumePrefix);
wcscpy_s(VolumeParams.FileSystemName, sizeof VolumeParams.FileSystemName / sizeof(WCHAR),