Bill Zissimopoulos
a811cd2cf8
sys, dll: extended attributes: checkpoint
2019-03-13 14:29:49 -07:00
Bill Zissimopoulos
e2349fef10
Merge branch 'pvt-fix217'
2019-03-11 13:03:49 -07:00
Felix A. Croes
b350dffe6c
Fix 32 bit overflow issue in FspFsvolReadCached.
...
FspFsvolReadCached takes care not to read beyond the end of the file.
However, the offset check uses a 32 bit comparison, which fails for
files >= 4G. As a result, reads on a large file will skip blocks at
offset (filesize % 4G), and those blocks will zero-filled.
2019-03-07 09:45:42 +01:00
Bill Zissimopoulos
70dd54e114
sys: write: FspFsvolWriteCached
...
- double-check that WriteEndOffset is within file bounds
2019-02-28 11:00:47 -08:00
Bill Zissimopoulos
d2de5e996c
update source copyright for 2019
2019-02-28 10:39:31 -08:00
Bill Zissimopoulos
5d2705f3f9
Merge branch 'release/1.4'
2018-11-26 14:59:38 -08:00
Bill Zissimopoulos
5d90c35e20
sys: FspFsvrtDeviceControl: STATUS_UNRECOGNIZED_VOLUME
...
This fixes GitHub issue #177 . All credit for the investigation and
suggested workaround goes to @thinkport.
2018-11-21 15:32:25 -08:00
Bill Zissimopoulos
4d49039abe
sys: FspFastIoQueryOpen: access control
...
Extend the WinFsp kernel-user mode protocol to allow passing
security descriptors that can then be used for access control
during FastIoQueryOpen.
2018-10-04 13:21:29 -07:00
Bill Zissimopoulos
1aab4662e5
inc, sys, dotnet: FSP_FSCTL_VOLUME_PARAMS::AllowOpenInKernelMode
2018-10-02 11:47:51 -07:00
Bill Zissimopoulos
02a4d3641e
sys: implement FastIo operations
...
FspFastIoQueryOpen: return FALSE when RelatedFileObject is not NULL
2018-10-02 11:12:26 -07:00
Bill Zissimopoulos
3dfbdc313b
sys: implement FastIo operations
...
DEBUGTEST
2018-10-02 11:12:25 -07:00
Bill Zissimopoulos
3a286324ff
sys: implement FastIo operations
...
FspFastIoQueryOpen
2018-10-02 11:12:25 -07:00
Bill Zissimopoulos
0d849ffcc8
sys: implement FastIo operations
...
FastIoQueryBasicInfo, FastIoQueryStandardInfo, FastIoQueryNetworkOpenInfo
2018-10-02 11:12:24 -07:00
Bill Zissimopoulos
c9f1c1c60d
sys: FspPropagateTopFlags: only touch TopLevelIrp if it looks like a kernel mode address
2018-09-27 09:31:09 -07:00
Bill Zissimopoulos
f32c914ee8
sys: create: FspFsvolCreate
...
Only check reparse point ECP if running on OS prior to RS4
2018-09-06 18:03:53 -07:00
Bill Zissimopoulos
681eac9cd8
sys: create: FspFsvolCreate
...
Only check reparse point ECP if running on OS prior to RS4
2018-09-06 17:52:52 -07:00
Bill Zissimopoulos
dcf3d612bc
sys: create: FspFsvolCreate
...
Fix file name case after crossing a reparse point as per
http://online.osr.com/ShowThread.cfm?link=287522
2018-09-06 16:40:27 -07:00
Bill Zissimopoulos
4551766f7a
sys: create: FspFsvolCreate
...
Replace FspMainFileOpenCheck with inline code
2018-09-06 13:26:53 -07:00
Bill Zissimopoulos
75ae8daf8f
update commercial disclaimer
2018-08-21 18:09:33 -07:00
Bill Zissimopoulos
894ae7b8f3
sys,dll: DeviceControl operation
2018-05-04 13:56:20 -07:00
Bill Zissimopoulos
c2f87029d7
sys: FspFileNodeCleanupFlush:
...
- CcFlushCache now happens during initial Cleanup call
- avoids recursive call into file system during Cleanup completion
2018-04-23 14:30:38 -07:00
Bill Zissimopoulos
157c4bc09a
sys: FspFileNodeCleanupComplete: FlushAndPurgeOnCleanup:
...
- comment about difference in behavior when DeletePending
2018-04-23 09:57:47 -07:00
Bill Zissimopoulos
4fcaa99d63
sys: FspFileNodeCleanupComplete: FlushAndPurgeOnCleanup:
...
- handle DeletePending and non-zero PTruncateSize better
2018-04-23 00:33:00 -07:00
Bill Zissimopoulos
9501b5771d
inc,sys,tst: FSP_FSCTL_VOLUME_PARAMS: fine-grained timeouts
2018-04-21 11:53:14 -07:00
Bill Zissimopoulos
740411d604
tst: FlushAndPurgeOnCleanup: testing
2018-04-19 10:23:15 -07:00
Bill Zissimopoulos
5c3549c6eb
sys: file: FspFileNodeCleanupComplete: FlushAndPurgeOnCleanup
2018-04-18 20:58:19 -07:00
Bill Zissimopoulos
9f56a21c7f
sys: cleanup: minor change
2018-04-18 20:13:08 -07:00
Bill Zissimopoulos
6b0b4c8b8e
sys: mup: claim \ClassName instead of \ClassName\InstanceName prefix
2018-01-17 15:44:01 -08:00
Bill Zissimopoulos
abb504053b
sys: FspUnload
2018-01-16 18:26:23 -08:00
Bill Zissimopoulos
d38afe8d16
sys: shutdown: fix Release build
2018-01-16 11:49:14 -08:00
Bill Zissimopoulos
a4629b8f8b
sys: fsmup device
...
- This commit introduces the fsmup device, which is a major change in how
network file systems are handled. Previously every network file system's
fsvol device was directly registered with the MUP. Now there is a single
fsmup device that is registered with the MUP; network file systems' fsvol
devices register with fsmup instead. The fsmup device maintains a prefix
table which it uses to demultiplex and forward requests to the appropriate
fsvol device.
- This device change was necessatitated to fix issue #87 .
2018-01-16 10:38:52 -08:00
Bill Zissimopoulos
9bd9cf4fbd
update source copyright notices for 2018
2018-01-03 15:29:38 -08:00
Bill Zissimopoulos
c87ff75b8f
sys: fix filename length check during query directory operations
2017-12-01 17:01:59 -08:00
Bill Zissimopoulos
3a8ad9c8d7
sys: QueryDirectory stability:
...
- FspMetaCacheAddItem now handles exceptions during copy from fs buffer
- FspFsvolQueryDirectoryLengthMax is correct max length for QueryDirectory
2017-10-25 10:44:33 -07:00
Bill Zissimopoulos
1a02438488
sys: dirctl: fix 32-bit builds (after Avast changes)
2017-10-19 17:19:31 -07:00
Bill Zissimopoulos
07f15c236b
sys: dirctl: eliminate use of SystemBuffer to work around problems with Avast
2017-10-19 16:49:10 -07:00
Bill Zissimopoulos
92e7dbad21
sys: Create and Rename requests should include the originating process PID
2017-10-11 16:28:50 -07:00
Bill Zissimopoulos
4812f5bbd0
sys: Create and Rename requests should include the originating process PID
2017-10-11 16:25:22 -07:00
Bill Zissimopoulos
9a4f04f46a
sys: FspFsvolQueryDirectoryRetry: special handling for when pattern is filename
2017-09-29 15:44:49 -07:00
Bill Zissimopoulos
98334208b9
Revert commit c70089a176e5ba86a8e7fc99d760c4f707722d3e
2017-09-29 15:20:38 -07:00
Bill Zissimopoulos
c70089a176
sys: FSP_FILE_DESC: DirectoryNoMoreFiles optimization
2017-09-27 18:01:17 -07:00
Bill Zissimopoulos
8a099f3faa
sys: PassQueryDirectoryFileName
2017-09-26 14:19:27 -07:00
Bill Zissimopoulos
1ac172d2f8
inc,sys: PassQueryDirectoryFileName
2017-09-26 11:51:49 -07:00
Bill Zissimopoulos
34546def3c
sys,dll: GetDirInfoByName
2017-09-25 19:46:36 -07:00
Bill Zissimopoulos
26485ffbd6
sys: originating process id
2017-07-12 20:54:12 -07:00
Bill Zissimopoulos
637f461a65
sys: FspFileNodeTrySetFileInfoOnOpen
2017-07-11 15:23:03 -07:00
Bill Zissimopoulos
b35bf204db
sys: FspFileNodeTrySetFileInfoOnOpen
2017-07-11 14:17:17 -07:00
Bill Zissimopoulos
4c0386bf8d
sys: hardcode AlwaysUseDoubleBuffering for Reads
2017-02-25 11:22:22 -08:00
Bill Zissimopoulos
6774c34422
sys: FspProcessBufferAcquire: fix silly mistake when using ZwAllocateVirtualMemory
2017-02-23 22:24:32 -08:00
Bill Zissimopoulos
3215d8e26a
sys: ProcessBuffer: DEBUGTEST
2017-02-23 20:26:14 -08:00