Comments (3)
Hi @Lucasq11 ,
Thanks for the report and the analysis. Agree we should not notify if nothing has changed.
If we had the item cache in the Kernel, we could know whether a value changed or not.
The other option would be to have userland return a specific STATUS
that informs that nothing changed and therefore no notification should be sent. The status should still be a success since the change was applied but just a NO_OP.
https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/596a1078-e883-4972-9bbc-49e60bebca55
On top of my head, I don't know if there is an existing no op status.
from dokany.
Hi @Lucasq11 ,
Thanks for the report and the analysis. Agree we should not notify if nothing has changed.
If we had the item cache in the Kernel, we could know whether a value changed or not. The other option would be to have userland return a specific
STATUS
that informs that nothing changed and therefore no notification should be sent. The status should still be a success since the change was applied but just a NO_OP. https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/596a1078-e883-4972-9bbc-49e60bebca55 On top of my head, I don't know if there is an existing no op status.
I'm trying to modify the driver to avoid this issue, there's problem about signing. How can I acquire an avaliable cert to sign dokan1.sys when testsigning is off?
from dokany.
Hi @Lucasq11 ,
Thanks for the report and the analysis. Agree we should not notify if nothing has changed.
If we had the item cache in the Kernel, we could know whether a value changed or not. The other option would be to have userland return a specificSTATUS
that informs that nothing changed and therefore no notification should be sent. The status should still be a success since the change was applied but just a NO_OP. https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/596a1078-e883-4972-9bbc-49e60bebca55 On top of my head, I don't know if there is an existing no op status.I'm trying to modify the driver to avoid this issue, there's problem about signing. How can I acquire an avaliable cert to sign dokan1.sys when testsigning is off?
You can order an EV signing certificate for your company. I have used GlobalSign for that for example. You get a USB token that you download the certificate to, use that to sign a cab file with a .inf and the driver, upload to Microsoft's attestant signing portal and after a few hours you get a zip file back with the signed driver.
from dokany.
Related Issues (20)
- Fuse3 support HOT 1
- Volume Security Descriptor and Length setting HOT 1
- How to disable virtual disk renaming? HOT 23
- BSOD in DokanDeleteFcb HOT 2
- win11 "Photo" app would black screen when using mirror.exe in the mode of network drive HOT 1
- dokan.sys unable to start HOT 8
- It cannot be mounted in the current directory, but the documentation indicates that it is possible. HOT 3
- Async call BroadcastSystemMessage to avoid externel hang
- Race condition with io cancel HOT 5
- AndroidDrive fails with dokan and unable to zip 2GB+ file HOT 1
- Kernel - DokanGlobal->MountPointList items access isn't safe
- [Question] Too many Guid keys in MountPoint2
- [QUESTION] cannot access the network mapped drive remotely.
- Kernel - Allow passing the session information for the targeted mount
- How to safely remove ISO mount? HOT 4
- There is no certificate in dokan2.sys for version 2.1.0.1000. HOT 2
- Error Installing version 2.1.0.1000 HOT 17
- Error Uninstalling Dokan Library 1.5.1.1000 Bundle (0x80070643) HOT 3
- Possibility to increase thread count & change DOKAN_OPTION_ALLOW_IPC_BATCHING? (FUSE) HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokany.