[Libguestfs] [PATCH 3/12] Document that this flag is clear for default keys.
Richard W.M. Jones
rjones at redhat.com
Wed Feb 3 18:32:15 UTC 2010
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
-------------- next part --------------
>From 8210ca2e4acc7f0e9b7c2e56867210ef4f34faae Mon Sep 17 00:00:00 2001
From: Richard Jones <rjones at redhat.com>
Date: Wed, 3 Feb 2010 17:45:20 +0000
Subject: [PATCH 03/12] Document that this flag is clear for default keys.
---
hivex/hivex.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hivex/hivex.c b/hivex/hivex.c
index 4cf3ad9..e0118af 100644
--- a/hivex/hivex.c
+++ b/hivex/hivex.c
@@ -218,7 +218,8 @@ struct ntreg_vk_record {
uint32_t data_type; /* type of the data */
uint16_t flags; /* bit 0 set => key name ASCII,
bit 0 clr => key name UTF-16.
- Only seen ASCII here in the wild. */
+ Only seen ASCII here in the wild.
+ NB: this is CLEAR for default key. */
uint16_t unknown2;
char name[1]; /* key name follows here */
} __attribute__((__packed__));
--
1.6.5.2
More information about the Libguestfs
mailing list