- From 1104e1f508389626c14143bfcdf2dccb2b3d113f Mon Sep 17 00:00:00 2001
- From: Roland Mainz <roland.mainz@nrubsig.org>
- Date: Sat, 12 Oct 2024 18:20:53 +0200
- Subject: [PATCH 1/2] build.vc19: Set DriverSign algorithm explicitly to "sha1"
- Set DriverSign algorithm explicitly to "sha1" for Visual Studio 2022
- compatibility.
- Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
- ---
- build.vc19/nfs41_driver/nfs41_driver.vcxproj | 3 +++
- 1 file changed, 3 insertions(+)
- diff --git a/build.vc19/nfs41_driver/nfs41_driver.vcxproj b/build.vc19/nfs41_driver/nfs41_driver.vcxproj
- index 56e4026..538d5ac 100644
- --- a/build.vc19/nfs41_driver/nfs41_driver.vcxproj
- +++ b/build.vc19/nfs41_driver/nfs41_driver.vcxproj
- @@ -230,6 +230,9 @@
- <Link>
- <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>
- </Link>
- + <DriverSign>
- + <FileDigestAlgorithm>sha1</FileDigestAlgorithm>
- + </DriverSign>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- --
- 2.45.1
- From cbf5e602bd8954627fb21c0acd4c7ddbd73324d6 Mon Sep 17 00:00:00 2001
- From: Roland Mainz <roland.mainz@nrubsig.org>
- Date: Sat, 12 Oct 2024 18:22:40 +0200
- Subject: [PATCH 2/2] build.vc19: Split nfs41_driver.c into smaller source
- files, fix nfs41_driver.vcxproj.filters
- Fix nfs41_driver.vcxproj.filters to include the new source files in
- sys/ after the "Split nfs41_driver.c into smaller source files" commit.
- Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
- ---
- .../nfs41_driver/nfs41_driver.vcxproj.filters | 48 +++++++++++++++++--
- 1 file changed, 45 insertions(+), 3 deletions(-)
- diff --git a/build.vc19/nfs41_driver/nfs41_driver.vcxproj.filters b/build.vc19/nfs41_driver/nfs41_driver.vcxproj.filters
- index 2f0e318..eb30982 100644
- --- a/build.vc19/nfs41_driver/nfs41_driver.vcxproj.filters
- +++ b/build.vc19/nfs41_driver/nfs41_driver.vcxproj.filters
- @@ -22,13 +22,55 @@
- <ClCompile Include="..\..\sys\copysup.c">
- <Filter>Source Files</Filter>
- </ClCompile>
- - <ClCompile Include="..\..\sys\nfs41_debug.c">
- + <ClCompile Include="..\..\sys\wmlkm.c">
- <Filter>Source Files</Filter>
- </ClCompile>
- - <ClCompile Include="..\..\sys\nfs41_driver.c">
- + <ClCompile Include="..\..\sys\nfs41sys_acl.c">
- <Filter>Source Files</Filter>
- </ClCompile>
- - <ClCompile Include="..\..\sys\wmlkm.c">
- + <ClCompile Include="..\..\sys\nfs41sys_debug.c">
- + <Filter>Source Files</Filter>
- + </ClCompile>
- + <ClCompile Include="..\..\sys\nfs41sys_dir.c">
- + <Filter>Source Files</Filter>
- + </ClCompile>
- + <ClCompile Include="..\..\sys\nfs41sys_driver.c">
- + <Filter>Source Files</Filter>
- + </ClCompile>
- + <ClCompile Include="..\..\sys\nfs41sys_ea.c">
- + <Filter>Source Files</Filter>
- + </ClCompile>
- + <ClCompile Include="..\..\sys\nfs41sys_fileinfo.c">
- + <Filter>Source Files</Filter>
- + </ClCompile>
- + <ClCompile Include="..\..\sys\nfs41sys_fsctl.c">
- + <Filter>Source Files</Filter>
- + </ClCompile>
- + <ClCompile Include="..\..\sys\nfs41sys_ioctl.c">
- + <Filter>Source Files</Filter>
- + </ClCompile>
- + <ClCompile Include="..\..\sys\nfs41sys_lock.c">
- + <Filter>Source Files</Filter>
- + </ClCompile>
- + <ClCompile Include="..\..\sys\nfs41sys_mount.c">
- + <Filter>Source Files</Filter>
- + </ClCompile>
- + <ClCompile Include="..\..\sys\nfs41sys_openclose.c">
- + <Filter>Source Files</Filter>
- + </ClCompile>
- + <ClCompile Include="..\..\sys\nfs41sys_readwrite.c">
- + <Filter>Source Files</Filter>
- + </ClCompile>
- + <ClCompile Include="..\..\sys\nfs41sys_symlink.c">
- + <Filter>Source Files</Filter>
- + </ClCompile>
- + <ClCompile Include="..\..\sys\nfs41sys_util.c">
- + <Filter>Source Files</Filter>
- + </ClCompile>
- + <ClCompile Include="..\..\sys\nfs41sys_updowncall.c">
- + <Filter>Source Files</Filter>
- + </ClCompile>
- + <ClCompile Include="..\..\sys\nfs41sys_volinfo.c">
- <Filter>Source Files</Filter>
- </ClCompile>
- </ItemGroup>
- --
- 2.45.1
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
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.