summaryrefslogtreecommitdiffstats
path: root/sandbox/src/registry_interception.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/src/registry_interception.cc')
-rw-r--r--sandbox/src/registry_interception.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sandbox/src/registry_interception.cc b/sandbox/src/registry_interception.cc
index aaeab92..e7421ce 100644
--- a/sandbox/src/registry_interception.cc
+++ b/sandbox/src/registry_interception.cc
@@ -40,6 +40,10 @@ NTSTATUS WINAPI TargetNtCreateKey(NtCreateKeyFunction orig_CreateKey,
if (class_name && class_name->Buffer && class_name->Length)
break;
+ // We don't support creating link keys, volatile keys and backup/restore.
+ if (create_options)
+ break;
+
void* memory = GetGlobalIPCMemory();
if (NULL == memory)
break;