[Libguestfs] [PATCH 3/3] hivex: Replace non-portable ENOKEY constant

Hilko Bengen bengen at hilluzination.de
Fri May 13 11:33:17 UTC 2011


* Richard W.M. Jones:

> Unfortunately this is documented in the API and therefore can't
> be changed.

Do you mean that my patch was incomplete because I did not also change
the documentation? Or do you mean that it can't be changed at all?

> A bigger problem is that some platforms lack ENOKEY (it's not defined
> by POSIX).  I think Mac OS X was one.  However that's a separate
> problem for those platforms.

Apparently, ENOKEY is not defined on FreeBSD either. Debian's
kfreebsd-*[1][2] and hurd-i386[3] autobuilders refused to build because
of this. And it was mentioned on this list that Cygwin doesn't define
ENOKEY, either.

If hivex can't be used on MacOSX and Cygwin without patches, this is
going to be a pity for those users who want to use it for computer
forensics purposes.

-Hilko

[1] https://buildd.debian.org/status/fetch.php?pkg=hivex&arch=kfreebsd-amd64&ver=1.2.6-2&stamp=1305242321
[2] https://buildd.debian.org/status/fetch.php?pkg=hivex&arch=kfreebsd-i386&ver=1.2.6-2&stamp=1305245507
[3] https://buildd.debian.org/status/fetch.php?pkg=hivex&arch=hurd-i386&ver=1.2.2%2Bgit20100712-2&stamp=1279541335




More information about the Libguestfs mailing list