Fix build errors for list mode

This commit is contained in:
pokamest
2025-06-07 16:52:34 +03:00
parent 003375afca
commit d25185ab2b
3 changed files with 6 additions and 2 deletions

View File

@@ -75,7 +75,10 @@ A single process registry instance is shared between most parts of the driver.
The registered image data structure is used to maintain a set of device paths.
A single instance identifies all executable images that should be excluded from the tunnel. Said instance is shared between IOCTL handlers and the process management subsystem.
A single instance identifies all executable images that should either be
excluded from or explicitly included in the tunnel, depending on the configured
mode. Said instance is shared between IOCTL handlers and the process management
subsystem.
## Driver states

View File

@@ -701,7 +701,6 @@ RegisterConfigurationAtReady
Context->RegisteredImage.Instance = Imageset;
Context->RegisteredImage.Mode = Mode;
Context->RegisteredImage.Mode = Mode;
auto status = EnterEngagedState(Context, &Context->IpAddresses);
@@ -732,6 +731,7 @@ RegisterConfigurationAtEngaged
auto oldConfiguration = Context->RegisteredImage.Instance;
Context->RegisteredImage.Instance = Imageset;
Context->RegisteredImage.Mode = Mode;
//
// Update process registry to reflect new configuration.

View File

@@ -3,6 +3,7 @@
#include <ntddk.h>
#include <wdf.h>
#include "containers/registeredimage.h"
#include "defs/config.h"
namespace ioctl
{