[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/4] Add /CETCOMPAT to linker options
- To: <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Owen Smith <owen.smith@xxxxxxxxxx>
- Date: Tue, 26 Oct 2021 08:12:08 +0100
- Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
- Cc: Owen Smith <owen.smith@xxxxxxxxxx>
- Delivery-date: Tue, 26 Oct 2021 07:12:25 +0000
- Ironport-data: A9a23:XmjIyqo0hR9XBYoLnB7dwslFxJ9eBmI8YhIvgKrLsJaIsI4StFCzt garIBnSOfqLMGukedx1a4W28BgGup/dyIc3SFRvqCFjEX9B+JuZCYyVIHmrMnLJJKUvbq7GA +byyDXkBJppJpMJjk71atANlZT4vE2xbuKU5NTsY0idfic5Dnd+4f5fs7Rh2Ncx2YLnW1nlV e7a+KUzBnf0g1aYDUpMg06zgEsHUCPa4W5wUvQWPJinjXeG/5UnJMt3yZKZdhMUdrJ8DO+iL 9sv+Znilo/vE7XBPfv++lrzWhVirrc/pmFigFIOM0SpqkAqSiDfTs/XnRfTAKtao2zhojx/9 DlCna2PSjYLJ5zQo8ReDhxBNC5XZosB14aSdBBTseTLp6HHW37lwvEoB0AqJ4wIvO1wBAmi9 9RBdmpLNErawbvrnvTrEYGAhex6RCXvFIQAt3cm1jTYEfYOSpHfWaTao9Rf2V/cg+gTQ66BO ZBHMVKDajzFfzlCOFA7GKg/v73v2lDWURZWrlCs8P9fD2/7k1UqjemF3MDuUsOLQ4BNgAOUq 3zL+0z9AwoGL5qPxDyd6HWui+TT2yThV+ov+KaQr6AwxgfJnypKVUNQBQDTTeSFZlCWau1cG m4NyzYVjetv8VWMQfCmeVqXmSvR1vIDYOZ4H+o/4QCL76Pb5QeFG2QJJgJ8hMwaWNweHmNyi AfY9z/9LXk26ufNECPCnluBhWrqYXB9EIMUWcMToeLpCfHYq4YvkgmHcN9nFKOk5jEeMWCtm 27UxMTSarN6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Resci0FeOzohkbGrzIya+SO1dpDRAM4f6oAy9fvu1ZrLtLqSHOmX eDTa0PnaPYu3dM5nxWWqFPBB0uPy9fmrecHimldI8UoQoQdY1s8kkaxFgHai5t6y6qDfAkhl8W jonWs75EZlxU/6H8gPhZ+LJK
- List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>
The "Hardware Enforced Stack Protection Compatability" test introduced with the
Server 2022 HLK requires drivers to be linked with /CETCOMPAT
Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>
---
vs2019/xennet/xennet.vcxproj | 1 +
1 file changed, 1 insertion(+)
diff --git a/vs2019/xennet/xennet.vcxproj b/vs2019/xennet/xennet.vcxproj
index ca89610..d79a691 100644
--- a/vs2019/xennet/xennet.vcxproj
+++ b/vs2019/xennet/xennet.vcxproj
@@ -35,6 +35,7 @@
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
<AdditionalDependencies>$(DDK_LIB_PATH)\ndis.lib;$(DDK_LIB_PATH)/libcntpr.lib;$(DDK_LIB_PATH)/aux_klib.lib;$(DDK_LIB_PATH)/procgrp.lib;%(AdditionalDependencies)</AdditionalDependencies>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
+ <CETCompat>true</CETCompat>
</Link>
<DriverSign>
<FileDigestAlgorithm>sha256</FileDigestAlgorithm>
--
2.33.0.windows.2
|