Bill Zissimopoulos
aa3beba928
sys: silo support
2020-06-05 15:47:19 -07:00
Bill Zissimopoulos
899cd5595d
sys: FspIsNtDdiVersionAvailable
2020-06-01 23:11:33 -07:00
Bill Zissimopoulos
2ffb8a1c97
sys: FSP_FSCTL_QUERY_WINFSP
...
The FSP_FSCTL_QUERY_WINFSP code provides a simple method to determine if
the file system backing a file is a WinFsp file system. To use issue a
DeviceIoControl(Handle, FSP_FSCTL_QUERY_WINFSP, 0, 0, 0, 0, &Bytes, 0)
If the return value is TRUE this is a WinFsp file system.
2020-05-24 21:04:28 -07:00
Bill Zissimopoulos
42fd57904a
sys: FspFsvolReadNonCached: trim ReadLength
...
During CreateProcess/CreateSection Windows locks the image file (using AcquireFileForNtCreateSection),
gets the image file size and then reads the image file. Unfortunately if the file system (erroneously) reads
past the file size, Windows can bugcheck. This allows a faulty or malicious file system to crash Windows.
This commit adds a check in WinFsp to mitigate this problem.
2020-04-10 19:24:43 -07:00
Bill Zissimopoulos
24b5d48fed
add shared/ku/config.h and related changes
2020-02-07 15:40:08 -08:00
Bill Zissimopoulos
71995a1fcd
dll,sys: FSP_CFG_REJECT_EARLY_IRP
...
Includes Avast fix for FUSE.
2020-02-07 15:11:24 -08:00
Bill Zissimopoulos
8497855d80
sys: FSP_DEVICE_REJECT_EARLY_IRP macro
2020-02-07 13:22:09 -08:00
Bill Zissimopoulos
bf6d56ceac
inc,sys,tst: FSP_FSCTL_VOLUME_PARAMS::RejectIrpPriorToTransact0
2020-02-03 16:38:55 -08:00
Bill Zissimopoulos
51350d5a42
inc,sys,tst: FSP_FSCTL_VOLUME_PARAMS::RejectIrpPriorToTransact
2020-02-03 14:59:23 -08:00
Bill Zissimopoulos
aedf01a384
update source copyright for 2020
2020-01-02 17:50:40 -08:00
Bill Zissimopoulos
26fe1a741b
sys: FspPropagateTopFlags: propagate union of flags from top level IRP
2019-12-13 16:42:49 -08:00
Bill Zissimopoulos
b18df6bba8
sys: release rename lock when doing oplock breaks
2019-12-08 14:27:02 -08:00
Bill Zissimopoulos
39c189aff7
sys: fsext: FspFsextProviderTransact
2019-11-16 14:02:44 -08:00
Bill Zissimopoulos
4b5478e50c
sys: dirctl: support directory marker as FUSE style next offset
2019-11-05 22:14:16 -08:00
Bill Zissimopoulos
254174b8e9
sys: avoid using FspFsextProvider unnecessarily
2019-11-04 16:30:30 -08:00
Bill Zissimopoulos
5110b3c5a1
sys: dirctl: support directory marker as FUSE style next offset
2019-10-30 16:40:48 -07:00
Bill Zissimopoulos
29fd9bf779
sys: fsext: allow multiple providers (up to 4)
2019-10-18 16:00:31 -07:00
Bill Zissimopoulos
05b37c744b
sys,dll: only user mode sends MountManager IOCTL's
...
(except for cleanup in FspMountdevFini)
2019-09-08 17:45:00 -07:00
Bill Zissimopoulos
9436fd8402
sys: implement SectorSize queries
...
- IRP_MJ_QUERY_VOLUME_INFORMATION/FileFsSectorSizeInformation
- IOCTL_STORAGE_QUERY_PROPERTY/StorageAccessAlignmentProperty
2019-09-06 20:52:15 -07:00
Bill Zissimopoulos
de75454d50
sys: FspFsvolDeviceControl: disable mountdev handling on fsvol devices
2019-09-06 15:43:20 -07:00
Bill Zissimopoulos
430d7a5650
sys: FspMountdevMake: use non-repeatable (i.e. non UUIDv5) GUID when non-persistent mountdev
2019-09-06 14:34:33 -07:00
Bill Zissimopoulos
4655926d03
sys, dll: mount manager support
2019-09-06 14:24:00 -07:00
Bill Zissimopoulos
565caebe4c
sys,dll: FspFileSystemSetMountPoint: mount manager support
2019-09-05 19:58:14 -07:00
Bill Zissimopoulos
a47f853beb
sys: mountdev: mount manager support
2019-09-05 09:54:36 -07:00
Bill Zissimopoulos
89ec3e6733
ku: UUID v5 generation
2019-09-04 13:45:53 -07:00
Bill Zissimopoulos
8fa337ae54
sys: fix issues found by static analyzer
2019-06-28 16:19:58 -07:00
Bill Zissimopoulos
7f084787e3
sys: fix issues found by static analyzer
2019-06-28 15:21:36 -07:00
Bill Zissimopoulos
ebb9b8b799
sys: FspVolumeTransact: remove erroneous ASSERT
2019-06-23 11:07:01 -07:00
Bill Zissimopoulos
804bcc3354
sys: FspVolumeTransactFsext:
...
- only allow ControlCodes with 0xC00 bits set in Function
2019-06-22 15:40:48 -07:00
Bill Zissimopoulos
f5fde4c0bb
sys: FspVolumeTransactFsext
2019-06-22 15:18:16 -07:00
Bill Zissimopoulos
dcf7e4c5a6
sys: fsext: FsextProvider testing
2019-06-22 14:30:23 -07:00
Bill Zissimopoulos
adc759447e
sys: FspVolumeCreate: fix missing return
2019-06-21 16:37:07 -07:00
Bill Zissimopoulos
4ae03629f7
sys: FspFsextProvider: load provider driver
2019-06-18 20:28:59 -07:00
Bill Zissimopoulos
f4496786e5
src: ku: posix.c
...
- src/ku directory contains shared kernel/user mode code
2019-06-18 16:49:20 -07:00
Bill Zissimopoulos
b637a72ec8
sys: FspFsextProvider
2019-06-18 16:11:38 -07:00
Bill Zissimopoulos
2cd1bddafb
sys: FspFsextProvider
2019-06-14 21:22:01 -07:00
Bill Zissimopoulos
6b83748d89
sys: fsext: WIP
2019-06-14 20:53:09 -07:00
Bill Zissimopoulos
781deff06f
sys: default TransactTimeout changes
2019-06-11 17:53:34 -07:00
Bill Zissimopoulos
f78b3464ce
sys: meta: fix rare memory leak
2019-06-05 20:43:12 -07:00
Bill Zissimopoulos
c01402443d
wslinux support: ATOMIC_CREATE_ECP_CONTEXT
2019-04-27 15:30:57 -07:00
Bill Zissimopoulos
17adae481c
sys: FspFileNodeOplockCheckAsyncEx: fix stupid mistake in DEBUGTEST code
2019-04-18 23:47:27 -07:00
Bill Zissimopoulos
7cb29a4db3
sys: remove unused variables
2019-04-18 17:22:58 -07:00
Bill Zissimopoulos
969651f5f6
sys: improve support for FileStatLxInformation
2019-04-18 15:57:22 -07:00
Bill Zissimopoulos
a08fdccb17
sys: FspSendQueryEaIrp: fix EA related BSOD
2019-04-17 16:04:44 -07:00
Bill Zissimopoulos
c6b7b7586e
sys: ea: buffers from user mode fs can have zero length
2019-04-17 14:40:06 -07:00
Bill Zissimopoulos
2b0d204ff1
sys: FileStatInformation is missing on old WDK's
2019-04-16 21:28:09 -07:00
Bill Zissimopoulos
851d0758d9
sys: define FSP_FILE_STAT*_INFORMATION that are missing on some WDK's
2019-04-16 15:55:13 -07:00
Bill Zissimopoulos
ce83619728
sys: FileStatLxInformation and friends
2019-04-15 15:04:31 -07:00
Bill Zissimopoulos
351b4f5294
sys: fileinfo: fix unnecessary STATUS_BUFFER_TOO_SMALL
2019-04-03 09:52:00 -07:00
Bill Zissimopoulos
574efe3f72
sys: dirctl: add magic constant 4 to EaSize
2019-03-21 21:50:28 -07:00