-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Enable control flow guard for IIS dlls #22480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugly but 👍
I did the changes through the VS properties pages, so blame it for not simplifying these settings XD |
@wtgodbe I think https://github.com/dotnet/aspnetcore/pull/22480/checks?check_run_id=732123555,
may be failing due to bcd4fc0. I don't think PR should affect that file. |
@jkotalik where are you seeing that failure? I couldn't find it in the linked build. I'm not sure how bcd4fc0 could've caused that failure - it just changed the SiteExtension package to not copy files that start with a |
First attempt here: https://dev.azure.com/dnceng/public/_build/results?buildId=668624&view=logs&j=5bc15395-7127-5cfd-df04-3bb55bc6c62d. I'm just as confused as you, it just seems potentially related. |
Appears that the failure was transient. Are there multiple version of the module that could be trying to write that file at the same time? We could file a follow-up issue to investigate |
I'm guessing we should probably take this for July servicing of 3.1, right @blowdart? |
That would be appreciated |
src/Servers/IIS/AspNetCoreModuleV2/AspNetCore/AspNetCore.vcxproj
Outdated
Show resolved
Hide resolved
My comment would make this much prettier 😺 |
Thanks @jkotalik❕ |
The hosting package isn't part of servicing per se, it's a separate install, so the VS auto upgrader wouldn't get it. @dougbu When would this take effect? Should we be upping the version number on the IIS plugins to make it clear? |
The Windows Hosting Bundle is part of servicing. The next hosting bundle that is released will have this fix it in. However, we would also need to insert ANCM into VS s.t. the next version of VS has this change in it. What do you mean by IIS plugins? ANCM doesn't have IIS plugins directly if I'm understanding you correctly. |
@blowdart to decide as I'm uncertain. |
I meant ANCM. I was without coffee :) Will ANCM's version change? Because I believe it should. And yea, I'd do it everywhere, including preview 6, so it doesn't get lost. |
Yes, ANCM's version will change. |
PR for 5.0-preview6 here: #22480 |
Thank you |
@davidni - yes, that's our plan unless something goes wrong somehow... |
Enables control flow guards for IIS native dlls.
Will backport to 2.1 and 3.1 if this succeeds in master.