Giter Club home page Giter Club logo

Comments (3)

Liryna avatar Liryna commented on July 18, 2024

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.

Lucasq11 avatar Lucasq11 commented on July 18, 2024

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.

LTRData avatar LTRData commented on July 18, 2024

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?

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.