pastebin - collaborative debugging tool
rovema.kpaste.net RSS


msnfs41client: Patch for VS2022 driver test signing+fix nfs41_driver.vcxproj.filters, 2024-10-12
Posted by Anonymous on Sat 12th Oct 2024 17:31
raw | new post

  1. From 1104e1f508389626c14143bfcdf2dccb2b3d113f Mon Sep 17 00:00:00 2001
  2. From: Roland Mainz <roland.mainz@nrubsig.org>
  3. Date: Sat, 12 Oct 2024 18:20:53 +0200
  4. Subject: [PATCH 1/2] build.vc19: Set DriverSign algorithm explicitly to "sha1"
  5.  
  6. Set DriverSign algorithm explicitly to "sha1" for Visual Studio 2022
  7. compatibility.
  8.  
  9. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  10. ---
  11. build.vc19/nfs41_driver/nfs41_driver.vcxproj | 3 +++
  12.  1 file changed, 3 insertions(+)
  13.  
  14. diff --git a/build.vc19/nfs41_driver/nfs41_driver.vcxproj b/build.vc19/nfs41_driver/nfs41_driver.vcxproj
  15. index 56e4026..538d5ac 100644
  16. --- a/build.vc19/nfs41_driver/nfs41_driver.vcxproj
  17. +++ b/build.vc19/nfs41_driver/nfs41_driver.vcxproj
  18. @@ -230,6 +230,9 @@
  19.      <Link>
  20.        <AdditionalDependencies>$(WindowsSdkDir)lib\10.0.19041.0\km\$(DDKPlatform)\ntoskrnl.lib;$(WindowsSdkDir)lib\10.0.19041.0\km\$(DDKPlatform)\hal.lib;$(WindowsSdkDir)lib\10.0.19041.0\km\$(DDKPlatform)\BufferOverflowfastfailK.lib;$(WindowsSdkDir)lib\10.0.19041.0\km\$(DDKPlatform)\ksecdd.lib;$(WindowsSdkDir)lib\10.0.19041.0\km\$(DDKPlatform)\rxce.lib;$(WindowsSdkDir)lib\10.0.19041.0\km\$(DDKPlatform)\rdbsslib.lib</AdditionalDependencies>
  21.      </Link>
  22. +    <DriverSign>
  23. +      <FileDigestAlgorithm>sha1</FileDigestAlgorithm>
  24. +    </DriverSign>
  25.    </ItemDefinitionGroup>
  26.    <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  27.      <ClCompile>
  28. --
  29. 2.45.1
  30.  
  31. From cbf5e602bd8954627fb21c0acd4c7ddbd73324d6 Mon Sep 17 00:00:00 2001
  32. From: Roland Mainz <roland.mainz@nrubsig.org>
  33. Date: Sat, 12 Oct 2024 18:22:40 +0200
  34. Subject: [PATCH 2/2] build.vc19: Split nfs41_driver.c into smaller source
  35.  files, fix nfs41_driver.vcxproj.filters
  36.  
  37. Fix nfs41_driver.vcxproj.filters to include the new source files in
  38. sys/ after the "Split nfs41_driver.c into smaller source files" commit.
  39.  
  40. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  41. ---
  42. .../nfs41_driver/nfs41_driver.vcxproj.filters | 48 +++++++++++++++++--
  43.  1 file changed, 45 insertions(+), 3 deletions(-)
  44.  
  45. diff --git a/build.vc19/nfs41_driver/nfs41_driver.vcxproj.filters b/build.vc19/nfs41_driver/nfs41_driver.vcxproj.filters
  46. index 2f0e318..eb30982 100644
  47. --- a/build.vc19/nfs41_driver/nfs41_driver.vcxproj.filters
  48. +++ b/build.vc19/nfs41_driver/nfs41_driver.vcxproj.filters
  49. @@ -22,13 +22,55 @@
  50.      <ClCompile Include="..\..\sys\copysup.c">
  51.        <Filter>Source Files</Filter>
  52.      </ClCompile>
  53. -    <ClCompile Include="..\..\sys\nfs41_debug.c">
  54. +    <ClCompile Include="..\..\sys\wmlkm.c">
  55.        <Filter>Source Files</Filter>
  56.      </ClCompile>
  57. -    <ClCompile Include="..\..\sys\nfs41_driver.c">
  58. +    <ClCompile Include="..\..\sys\nfs41sys_acl.c">
  59.        <Filter>Source Files</Filter>
  60.      </ClCompile>
  61. -    <ClCompile Include="..\..\sys\wmlkm.c">
  62. +    <ClCompile Include="..\..\sys\nfs41sys_debug.c">
  63. +      <Filter>Source Files</Filter>
  64. +    </ClCompile>
  65. +    <ClCompile Include="..\..\sys\nfs41sys_dir.c">
  66. +      <Filter>Source Files</Filter>
  67. +    </ClCompile>
  68. +    <ClCompile Include="..\..\sys\nfs41sys_driver.c">
  69. +      <Filter>Source Files</Filter>
  70. +    </ClCompile>
  71. +    <ClCompile Include="..\..\sys\nfs41sys_ea.c">
  72. +      <Filter>Source Files</Filter>
  73. +    </ClCompile>
  74. +    <ClCompile Include="..\..\sys\nfs41sys_fileinfo.c">
  75. +      <Filter>Source Files</Filter>
  76. +    </ClCompile>
  77. +    <ClCompile Include="..\..\sys\nfs41sys_fsctl.c">
  78. +      <Filter>Source Files</Filter>
  79. +    </ClCompile>
  80. +    <ClCompile Include="..\..\sys\nfs41sys_ioctl.c">
  81. +      <Filter>Source Files</Filter>
  82. +    </ClCompile>
  83. +    <ClCompile Include="..\..\sys\nfs41sys_lock.c">
  84. +      <Filter>Source Files</Filter>
  85. +    </ClCompile>
  86. +    <ClCompile Include="..\..\sys\nfs41sys_mount.c">
  87. +      <Filter>Source Files</Filter>
  88. +    </ClCompile>
  89. +    <ClCompile Include="..\..\sys\nfs41sys_openclose.c">
  90. +      <Filter>Source Files</Filter>
  91. +    </ClCompile>
  92. +    <ClCompile Include="..\..\sys\nfs41sys_readwrite.c">
  93. +      <Filter>Source Files</Filter>
  94. +    </ClCompile>
  95. +    <ClCompile Include="..\..\sys\nfs41sys_symlink.c">
  96. +      <Filter>Source Files</Filter>
  97. +    </ClCompile>
  98. +    <ClCompile Include="..\..\sys\nfs41sys_util.c">
  99. +      <Filter>Source Files</Filter>
  100. +    </ClCompile>
  101. +    <ClCompile Include="..\..\sys\nfs41sys_updowncall.c">
  102. +      <Filter>Source Files</Filter>
  103. +    </ClCompile>
  104. +    <ClCompile Include="..\..\sys\nfs41sys_volinfo.c">
  105.        <Filter>Source Files</Filter>
  106.      </ClCompile>
  107.    </ItemGroup>
  108. --
  109. 2.45.1

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at