Commit Graph
100 Commits
Author SHA1 Message Date
Bill Zissimopoulos 068270fa7f update changelog 2021-06-13 12:40:41 -07:00
Bill Zissimopoulos f51bdef534 dll: fuse: fix path arg to release on Create error
When the kernel sends a `Create` message the WinFsp-FUSE layer creates
and opens the file (as per Windows semantics). Sometimes an additional
operation needs to be performed after the file has been opened, which
may fail. In this case the just opened file must be released.

In this particular case the WinFsp-FUSE layer used to call `release`
with an uninitialized path. This commit fixes the problem.

This problem was originally reported in cgofuse (billziss-gh/cgofuse#58)
2021-06-09 10:17:59 -07:00
Bill Zissimopoulos 63f91cc667 build: bump version 2021-06-09 10:13:41 -07:00
Bill Zissimopoulos 6e3e469fcb doc: update known file systems 2021-06-08 12:22:26 -07:00
Bill Zissimopoulos efcc82b5dd build: update version 2021-06-08 10:38:27 -07:00
Bill Zissimopoulos cad5e68ac8 art: update logo 2021-06-01 13:49:00 -07:00
Bill Zissimopoulos 6e3a8f70b2 update source copyright to 2021 2021-05-21 15:57:05 -07:00
Bill Zissimopoulos 6bc0fe4ac5 art: update logo 2021-05-21 14:53:52 -07:00
Bill Zissimopoulos 07f097220f changelog: update for v1.10B1 2021-05-21 11:41:35 -07:00
Bill Zissimopoulos ca832988ed dll,sys: fix issue #369
The original WinFsp protocol for shutting down a file system was to issue
an FSP_FSCTL_STOP control code to the fsctl device. This would set the IOQ
to the "stopped" state and would also cancel all active IRP's. Cancelation
of IRP's would sometimes free buffers that may have still been in use by
the user mode file system threads; hence access violation.

To fix this problem a new control code FSP_FSCTL_STOP0 is introduced. The
new file system shutdown protocol is backwards compatible with the original
one and works as follows:

- First the file system process issues an FSP_FSCTL_STOP0 control code which
sets the IOQ to the "stopped" state but does NOT cancel IRP's.

- Then the file system process waits for its dispatcher threads to complete
(see FspFileSystemStopDispatcher).

- Finally the file system process issues an FSP_FSCTL_STOP control code
which stops the (already stopped) IOQ and cancels all IRP's.
2021-05-18 12:30:17 -07:00
Bill ZissimopoulosandGitHub 23e401e312 Merge pull request #371 from lemourin/mingw-fix
inc: don't redeclare _FILE_FULL_EA_INFORMATION for mingw
2021-05-17 10:00:17 -07:00
Bill Zissimopoulos a27994289d art: update 2021-05-07 16:50:58 -07:00
Bill Zissimopoulos 3b10145e93 tst: winfsp-tests: disable new tests that fail on passthrough 2021-04-19 13:34:35 -07:00
Bill Zissimopoulos 33c6e7ee61 sys: fix issue #364 2021-04-16 16:43:34 -07:00
Bill Zissimopoulos d0d67998c1 inc: fsctl.h: fix class guid's when used outside our build system 2021-04-13 15:33:57 -07:00
Bill Zissimopoulos aa7888effc tools: wixguid.py 2021-04-13 15:22:42 -07:00
Bill Zissimopoulos 3c7e712e57 tools: build.bat: skip choco build for non-WinFsp brands 2021-04-13 14:38:51 -07:00
Bill Zissimopoulos f8ee12f592 build: fix inadvertently broken DLL build on VS2015 2021-04-12 22:07:04 -07:00
Bill Zissimopoulos c84d47aa3e doc: WinFsp rebranding document 2021-04-12 21:38:09 -07:00
Bill Zissimopoulos 023c925fb6 WinFsp rebranding support 2021-04-12 17:47:34 -07:00
Bill Zissimopoulos a7cfabeff8 tools: add batch file that fixes issue #162 2021-04-08 15:00:55 -07:00
Bill Zissimopoulos d4a70da611 Merge branch 'pvt-tsfix' 2021-04-08 14:06:52 -07:00
Bill Zissimopoulos 50892bfa19 shared: posix: DistinctPermsForSameOwnerGroup 2021-04-06 15:00:31 -07:00
Bill Zissimopoulos b2e677a3d3 sys: FspFsvolSetBasicInformation: issue #362
According to the FILE_BASIC_INFORMATION doc a file system should not update a file timestamp when it receives a value of -1 in the corresponding time field.

This commit converts a -1 timestamp to a 0 timestamp; this directs a WinFsp file system not to update the corresponding file timestamp.

This commit fixes issue #362
2021-04-06 13:41:35 -07:00
Bill Zissimopoulos 9d76495340 update Changlog for v1.9 2021-04-06 13:01:33 -07:00
Bill Zissimopoulos 41c604b0fd update Changelog for v1.9B2 2021-04-06 13:00:30 -07:00
Bill Zissimopoulos 28a9534a65 build: version.properties: bump version 2021-04-06 12:53:33 -07:00
Bill Zissimopoulos b87c907af8 build: version.properties: bump version 2021-02-02 16:50:52 -08:00
Bill Zissimopoulos 9d5efe5f98 dll: fuse: FileSecurity option 2021-01-25 16:54:59 -08:00
Bill Zissimopoulos c5b850be35 sys: improve trace functionality 2021-01-25 13:11:10 -08:00
Bill Zissimopoulos 0af0bfbe7c sys: FspFsvolClose: convert CLOSE requests to synchronous when above the IOQ watermark 2021-01-25 12:45:33 -08:00
Bill Zissimopoulos 1dbcae3985 sys: FspTraceNtStatus: fix spelling mistake 2021-01-25 12:44:59 -08:00
Bill Zissimopoulos a5726c820b sys: add trace functionality 2021-01-13 16:15:06 -08:00
Bill ZissimopoulosandGitHub 870c54253a Merge pull request #342 from gaotxg/master
Credential: Default do not save password
2021-01-05 19:47:51 -08:00
Bill Zissimopoulos c803ef24f8 dll: fuse: truncate fixed size options
Some options (VolumePrefix, FileSystemName, volname) have a fixed maximum size.
This commit adds functionality to truncate user-specified long options to their fixed maximum size.
2020-12-22 15:44:37 -08:00
Bill Zissimopoulos 2d5d058d2f dll: FspFsctlStartService:make thread safe 2020-12-19 11:05:24 -08:00
Bill Zissimopoulos a372c6ee40 changelog: add note about notifyfs file systems 2020-12-18 16:57:08 -08:00
Bill Zissimopoulos c8a5f52fb1 installer: add notifyfs-dotnet file system 2020-12-18 16:47:20 -08:00
Bill Zissimopoulos 40052b143e tst: notifyfs-dotnet: add .NET file system to demo file notification mechanism 2020-12-18 16:39:30 -08:00
Bill Zissimopoulos 8006763367 dotnet: Interop: NotifyInfoInternal: fix FileNameBufOffset 2020-12-18 16:37:08 -08:00
Bill ZissimopoulosandGitHub 7ed9c56005 Merge pull request #336 from alonsohki/fix-notify-interop-alignment
Fix an alignment problem in the FspFileSystemNotify interop
2020-12-18 15:45:48 -08:00
Bill Zissimopoulos 12fd8942f7 tst: notifyfs: root dir does not have dot entries 2020-12-18 15:19:47 -08:00
Bill Zissimopoulos 3eb1f48174 installer: add notifyfs file system 2020-12-17 15:26:57 -08:00
Bill Zissimopoulos ac26bde9ee tst: notifyfs: add file system to demo file notification mechanism 2020-12-17 15:20:02 -08:00
Bill Zissimopoulos b05d5e286e dotnet: rename NotifyInfoFilter and NotifyInfoAction 2020-11-27 10:37:22 -08:00
Bill ZissimopoulosandGitHub 2d0df701e3 Merge pull request #335 from alonsohki/document-notifyinfo-fields
Document the NotifyInfo fields for the .NET interop layer.
2020-11-27 10:28:37 -08:00
Bill Zissimopoulos 90e86d4592 workflows: update AntiVirus monitor 2020-11-17 09:19:21 -08:00
Bill Zissimopoulos b3058a5e3e shared: minimal.h: STRTOINT 2020-11-06 09:41:49 -08:00
Bill Zissimopoulos 3bda3d754e update changelog 2020-11-04 13:39:34 -08:00
Bill Zissimopoulos 8109b005be dll: posix: trustPosixOffset 2020-11-03 14:04:27 -08:00
Bill Zissimopoulos bd0d6638b0 dll: posix: trustPosixOffset 2020-11-03 12:31:13 -08:00
Bill Zissimopoulos 912703cd77 sys: FspBufferUserBuffer: special case Irp->UserBuffer kernel address 2020-10-30 15:39:56 -07:00
Bill Zissimopoulos 90bc12132e changelog: WinFsp 2020.2 2020-10-30 15:09:17 -07:00
Bill Zissimopoulos f1cf020272 dll: fuse: allow mount manager mountpoints 2020-10-29 15:28:14 -07:00
Bill Zissimopoulos 2f65a77d34 tst: winfsp-tests: notify_open_change_dotest 2020-10-29 14:16:54 -07:00
Bill Zissimopoulos 4578414a2c tst: winfsp-tests: WINFSP_TESTS_EXCEPTION_FILTER_DISABLE 2020-10-29 14:16:53 -07:00
Bill Zissimopoulos f0fd53e3f3 appveyor: user mode dumps 2020-10-29 14:16:51 -07:00
Bill Zissimopoulos 1cc42c9d70 tst: winfsp-tests: UnhandledExceptionFilter 2020-10-27 16:02:49 -07:00
Bill Zissimopoulos 28ac5a1cfe tst: winfsp-tests: UnhandledExceptionFilter 2020-10-27 15:01:38 -07:00
Bill Zissimopoulos e1b1284153 tst: winfsp-tests: UnhandledExceptionFilter 2020-10-27 12:38:54 -07:00
Bill Zissimopoulos 5014e8bd35 dotnet: file change notification support 2020-10-23 13:55:36 -07:00
Bill Zissimopoulos 1b7a78edff inc: fuse: fuse_invalidate 2020-10-22 14:46:13 -07:00
Bill Zissimopoulos 6340811974 dll: fuse: fsp_fuse_notify: handle case-insensitive file systems 2020-10-21 15:45:07 -07:00
Bill Zissimopoulos cd21d26b93 dll: fuse: fsp_fuse_notify
Correctly compute Windows change notification filter and action
from FUSE change notification action.
2020-10-19 18:17:05 -07:00
Bill Zissimopoulos d5ab701e3c tst: winfsp-tests: enable notify_dirnotify_test 2020-10-18 09:11:05 -07:00
Bill Zissimopoulos 8269f57282 tools: run-tests: winfsp-tests-x86-notify 2020-10-17 23:18:30 -07:00
Bill Zissimopoulos e59a49992a sys: FspFileNodeInvalidateCachesAndNotifyChangeByName: flush and purge only 2020-10-17 22:06:49 -07:00
Bill Zissimopoulos 10c8c440f9 tst: winfsp-tests: notify_dirnotify_test 2020-10-16 14:27:51 -07:00
Bill Zissimopoulos f3375fc17f tst: winfsp-tests: disable notify_open_change_test
This test currently causes leaks on appveyor, but not locally.
Disabling before future investigation.
2020-10-11 10:12:17 -07:00
Bill Zissimopoulos c1e4b00aa7 tools: run-tests: notify tests 2020-10-10 18:24:32 -07:00
Bill Zissimopoulos 1bb0580a6a tst: winfsp-tests: add --notify option 2020-10-10 14:30:14 -07:00
Bill Zissimopoulos e54c2288f7 dll: fuse: fuse_notify 2020-10-10 10:15:36 -07:00
Bill Zissimopoulos 6b4b1dff6c sys: notify implementation 2020-10-09 15:19:51 -07:00
Bill Zissimopoulos 92b7989999 tst: winfsp-tests: notify testing 2020-10-09 15:05:31 -07:00
Bill Zissimopoulos f2e2d83b72 tst: winfsp-tests: notify testing 2020-10-09 14:45:14 -07:00
Bill Zissimopoulos 3687df53c6 sys: wait groups and notify implementation 2020-10-09 12:40:49 -07:00
Bill Zissimopoulos a004e4be10 sys: notify implementation 2020-10-08 20:49:24 -07:00
Bill Zissimopoulos 88edf5723e sys: notify implementation 2020-10-08 16:56:31 -07:00
Bill Zissimopoulos 7f360827f6 sys: notify implementation 2020-10-08 15:31:41 -07:00
Bill Zissimopoulos 01f91c771d sys: notify implementation 2020-10-07 17:07:35 -07:00
Bill Zissimopoulos 844fb7171e inc,dll,sys: notify implementation skeleton 2020-10-06 16:37:33 -07:00
Bill Zissimopoulos 489081b8c2 build: version: 2021 Beta1 2020-10-06 15:50:44 -07:00
Bill Zissimopoulos c77690e59d update changelog and version number 2020-10-01 17:13:43 -07:00
Bill Zissimopoulos 32a5b2bc64 tst: winfsp-tests: rename_backslash_test 2020-10-01 11:46:55 -07:00
Bill Zissimopoulos 5045403d85 sys: FspFsvolSetRenameInformation: tolerate trailing backslash on target name 2020-09-28 16:01:38 -07:00
Bill Zissimopoulos 13a52c4ab4 tools: parselog: parse winfsp logs 2020-08-26 18:30:30 -07:00
Bill Zissimopoulos c18d4f1508 tools: parselog: parse winfsp logs 2020-08-26 16:01:14 -07:00
Bill Zissimopoulos fcfebb968f tools: parselog: parse winfsp logs 2020-08-26 14:52:53 -07:00
Bill Zissimopoulos 10053bc759 tst: memfs-fuse3: Makefile: fix build under Cygwin gcc 2020-08-20 16:03:46 -07:00
Bill Zissimopoulos 7985827c73 build: update version number 2020-08-08 10:13:31 -07:00
Bill Zissimopoulos 13146e4854 update Changelog 2020-08-08 10:09:00 -07:00
Bill Zissimopoulos 84e0744c28 sys: FspVolumeTransact: FSP_FSCTL_TRANSACT_INTERNAL
Zero out OutputBuffer on error to avoid confusion for fsext providers.
2020-07-29 22:51:17 -07:00
Bill Zissimopoulos 20e19cb0fc update Changelog 2020-07-24 12:56:24 -07:00
Bill Zissimopoulos 2326521ef8 appveyor: disable cygfuse x86 build
This improves slow builds.
2020-07-22 15:45:04 -07:00
Bill Zissimopoulos 0296502f24 sys: FspFsvolReadNonCached: acquire FileNode shared
See GitHub issue #291 for discussion
2020-07-22 15:42:06 -07:00
Bill Zissimopoulos 5d0b10d0b6 Changelog: add missing changes for v1.7 2020-07-07 13:56:53 -07:00
Bill Zissimopoulos 5fac25d200 update Changelog 2020-07-04 15:43:34 -07:00
Bill Zissimopoulos b82aeeadbd tools: deploy.bat 2020-06-14 14:46:13 -07:00
Bill Zissimopoulos dcaa24bc52 tools: deploy.bat, debug.bat 2020-06-09 18:09:56 -07:00
Bill Zissimopoulos 7e37fc57f9 doc: container support doc: fix version typo 2020-06-08 23:04:55 -07:00