Commit Graph
100 Commits
Author SHA1 Message Date
Bill Zissimopoulos 9066338220 dll: fuse: ReadDirectory: log invalid directory entries 2020-04-14 22:54:46 -07:00
Bill Zissimopoulos b4c39f656c dll,fuse: allow dir buffer entry invalidation
The FUSE implementation of ReadDirectory issues readdir followed
by a slew of getattr. In the current implementation if a getattr fails
the whole readdir operation fails.

This commit adds the ability to invalidate individual entries in the
directory buffer. Entries for which getattr fails are now marked invalid
rather than fail the overall ReadDirectory operation.

See #292
2020-04-13 15:52:03 -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 9d69ae7503 doc: use markdown for API reference 2020-03-23 15:03:22 -07:00
Bill Zissimopoulos f93cdbfa91 doc: update api reference 2020-03-21 17:35:04 -07:00
Bill Zissimopoulos b7553925fb appveyor: build cygfuse 2020-03-21 16:20:51 -07:00
Bill Zissimopoulos 4b5b562307 inc: winfsp_fuse.h: fix memset comment 2020-03-21 15:44:02 -07:00
Bill Zissimopoulos ad68b36de7 README: internal link to cap.gif 2020-03-10 20:19:05 +02:00
Bill Zissimopoulos 0e8babf69c appveyor: update location of IfsTest zip file 2020-03-10 20:00:14 +02:00
Bill Zissimopoulos 0e12212838 doc: Home 2020-03-10 19:34:32 +02:00
Bill Zissimopoulos 19b86972d8 doc: WinFsp-Debugging-Setup.asciidoc 2020-03-07 18:44:52 +02:00
Bill ZissimopoulosandGitHub 403e234895 Merge pull request #288 from benrubson/cygwarn
Mute a GCC warning
2020-03-01 20:43:41 +02:00
Bill Zissimopoulos 2a6beb2739 workflows: add AntiVirus monitor 2020-02-22 15:08:53 +02:00
Bill Zissimopoulos 1933443e8d appveyor: allow chocolatey prerelease installs 2020-02-17 08:53:38 +02:00
Bill Zissimopoulos 279b00e195 tools: build.bat: add choco prerelease support 2020-02-16 22:36:10 +02:00
Bill Zissimopoulos 9b6542ab80 update Changelog 2020-02-08 01:14:38 +00:00
Bill Zissimopoulos dfbab387ab build: version.properties: bump version to 2020.1 B2 2020-02-07 17:09:25 -08:00
Bill Zissimopoulos 10f4df519c dotnet: RejectIrpPriorToTransact0 2020-02-07 17:07:50 -08:00
Bill Zissimopoulos 24b5d48fed add shared/ku/config.h and related changes 2020-02-07 15:40:08 -08:00
Bill Zissimopoulos 0650cabc47 refactor: shared->shared/um, ku->shared/ku 2020-02-07 15:28:25 -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 91c36b8f09 dll: FspFileSystemResolveReparsePointsInternal: fix warning 2020-02-07 14:54:09 -08:00
Bill Zissimopoulos e3c19afb72 update Changelog for 2020.1 B1 2020-02-07 13:40:49 -08:00
Bill Zissimopoulos 799025e8c2 build: version.properties: fix version 2020-02-07 13:33:31 -08:00
Bill Zissimopoulos 896c00a08c Merge branch 'pvt-reject-irp' 2020-02-07 13:29:19 -08:00
Bill Zissimopoulos 8497855d80 sys: FSP_DEVICE_REJECT_EARLY_IRP macro 2020-02-07 13:22:09 -08:00
Bill Zissimopoulos 52663ec676 dll: FspFileSystemResolveReparsePoints
Fix junction handling.
2020-02-04 15:37:17 -08:00
Bill Zissimopoulos 0901fb6477 inc,sys,tst: FSP_FSCTL_VOLUME_PARAMS::RejectIrpPriorToTransact0 2020-02-03 16:43:15 -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 9e32fed598 tools: build-choco.bat 2020-01-28 19:47:14 -08:00
Bill Zissimopoulos 8301642e6b build: bump version to 1.7 2020-01-28 17:44:13 -08:00
Bill Zissimopoulos 0002655782 build: update version: 2020 2020-01-27 14:26:45 -08:00
Bill Zissimopoulos e0e8d74d01 update changelog 2020-01-27 14:25:12 -08:00
Bill ZissimopoulosandGitHub e608920679 Merge pull request #272 from pfrejo/hotfix-1.5
Fixed data corruption when overwriting a file on a Fuse v3 filesystem
2020-01-27 14:14:35 -08:00
Bill Zissimopoulos b3dfea8303 tools: fix-source-copyright: fix botched script 2020-01-22 14:35:24 -08:00
Bill Zissimopoulos 3ab0e5a3d3 doc: add kernel mode file systems document 2020-01-16 17:04:23 -08:00
Bill ZissimopoulosandGitHub d687ef3a67 update Changelog (PR #270) 2020-01-15 13:39:59 -08:00
Bill Zissimopoulos 6df5ff980f Merge branch 'hammerg-track_dir_check' 2020-01-15 13:27:19 -08:00
Bill Zissimopoulos 14ac0f8db9 dll: FspFileSystemOpCreate_FileOpenTargetDirectory 2020-01-15 13:26:29 -08:00
Bill Zissimopoulos aedf01a384 update source copyright for 2020 2020-01-02 17:50:40 -08:00
Bill Zissimopoulos 0ce8b1c254 build: bump version to 2020.1 B1 2020-01-02 17:46:13 -08:00
Bill Zissimopoulos 4e0690e65f update Changelog for v1.5 2019-12-31 16:56:59 -08:00
Bill Zissimopoulos e7b81e4bac build: bump version to 2019.3 GOLD 2019-12-31 16:55:35 -08:00
Bill Zissimopoulos 9dc774d306 tst: winfsp-tests: ResilientRemoveDirectoryW 2019-12-16 23:07:04 -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 efdb6d1c86 build: bump version to 2019.3 B5 2019-12-09 14:36:08 -08:00
Bill Zissimopoulos b18df6bba8 sys: release rename lock when doing oplock breaks 2019-12-08 14:27:02 -08:00
Bill Zissimopoulos 39aad2b4fa ku: posix: improve kernel mode support 2019-11-18 22:22:32 -08:00
Bill Zissimopoulos ab1e024965 tools: build.bat: fix winfsp-tests zip file build 2019-11-16 16:05:40 -08:00
Bill Zissimopoulos 5a67c47d0f update changelog 2019-11-16 14:54:10 -08:00
Bill Zissimopoulos 39c189aff7 sys: fsext: FspFsextProviderTransact 2019-11-16 14:02:44 -08:00
Bill Zissimopoulos 3d9fc467ef tools: build.bat: winfsp-tests zip file 2019-11-16 07:26:07 +00:00
Bill Zissimopoulos 23b5c67913 shared: minimal.h: eliminate warning on VS2015 builds 2019-11-07 16:08:41 -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 c7fc728ad0 build: bump version 2019-11-04 19:26:45 -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 847eab3da4 tst: memfs-fuse3: #if0 ioctl 2019-10-21 20:21:36 -07:00
Bill Zissimopoulos 5131ed5c01 Merge branch 'bdutro-o_append-fix' 2019-10-21 20:14:02 -07:00
Bill Zissimopoulos 3fe69f2208 installer: add fsext development files 2019-10-18 16:23:27 -07:00
Bill Zissimopoulos 29fd9bf779 sys: fsext: allow multiple providers (up to 4) 2019-10-18 16:00:31 -07:00
Bill Zissimopoulos 3c391ca711 build: bump version to 2019.3 B3 2019-10-16 12:18:24 -07:00
Bill Zissimopoulos 82a8545d8f tst: memfs-fuse3: fix narrow conversion on x86 builds 2019-10-09 14:42:39 -07:00
Bill Zissimopoulos 79be3e445a tst: memfs-fuse3: accurately compute current time 2019-10-09 11:39:41 -07:00
Bill Zissimopoulos b04266e0fe tools: run-tests: add memfs-fuse3 testing 2019-10-08 04:35:28 +01:00
Bill Zissimopoulos 25adfaec00 update Changelog 2019-10-08 04:30:30 +01:00
Bill Zissimopoulos ce20747534 tst: memfs-fuse3: testing 2019-10-07 18:32:25 -07:00
Bill Zissimopoulos d3d75bf977 tst: add memfs-fuse3 file system 2019-10-07 14:24:18 -07:00
Bill Zissimopoulos 6f1f1cda71 update Changelog 2019-10-07 22:17:07 +01:00
Bill Zissimopoulos 21dfeca124 update Changelog 2019-10-07 22:15:29 +01:00
Bill ZissimopoulosandGitHub 6f585ce63e Merge pull request #251 from johntyner/feature/remove-fuse-prefix
Remove "FUSE-" prefix from file system name when using FUSE API
2019-10-07 14:05:18 -07:00
Bill Zissimopoulos c415c87195 dll: FspMountSet, FspMountRemove 2019-09-24 15:34:01 -07:00
Bill Zissimopoulos d161ca59a7 update Changelog 2019-09-12 05:36:19 +01:00
Bill Zissimopoulos bc03af3b2a doc: update FAQ, Known File Systems 2019-09-12 04:54:40 +01:00
Bill ZissimopoulosandGitHub ed1543665c Merge pull request #248 from JohnOberschelp/master
Airfs cleanup after persistence review
2019-09-10 22:32:58 -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 1d15c9546b Merge branch 'pvt-sqlfix2' 2019-09-08 11:05:17 -07:00
Bill ZissimopoulosandGitHub 51b33f02aa Merge pull request #241 from JohnOberschelp/master
Add persistence to Airfs
2019-09-07 17:40:42 -07:00
Bill Zissimopoulos 97ffa741b2 tst: volpath-test: fix silly mistake 2019-09-07 11:56:34 -07:00
Bill Zissimopoulos 073645db3b tst: fix tests broken by new mountmgr func 2019-09-07 11:39:06 -07:00
Bill Zissimopoulos fd9ac1c9e0 appveyor: WDK 1903 hackfix 2019-09-06 20:56:37 -07:00
Bill Zissimopoulos 62b08c3d1e appveyor: WDK 1903 hackfix 2019-09-07 04:54:39 +01: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 dbdfaeee1f tst: winfsp-tests: GetVolumePathName testing 2019-08-23 16:00:35 +01:00
Bill Zissimopoulos d2f42f4918 update Changelog 2019-07-11 03:17:33 -07:00
Bill Zissimopoulos a73f1b9559 launcher: path transform language 2019-07-09 13:26:07 -07:00
Bill Zissimopoulos fb6893968a dll: fuse: add --UserName and --GroupName 2019-07-08 15:12:26 -07:00
Bill Zissimopoulos c97f2cb660 dotnet: add MountEx and fine-grained timeouts 2019-07-07 12:12:04 -07:00
Bill Zissimopoulos 3a12d928e5 dll: fuse: avoid calling fgetattr on directories 2019-07-01 00:00:37 -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 369c0256f3 build: version.properties: update company name 2019-06-25 17:11:01 -07:00
Bill Zissimopoulos f25983853b tools: build.bat: update cert subject 2019-06-25 17:09:34 -07:00