mirror_zfs/lib
Darik Horn 492b8e9e7b Use gethostid in the Linux convention.
Disable the gethostid() override for Solaris behavior because Linux systems
implement the POSIX standard in a way that allows a negative result.

Mask the gethostid() result to the lower four bytes, like coreutils does in
/usr/bin/hostid, to prevent junk bits or sign-extension on systems that have an
eight byte long type. This can cause a spurious hostid mismatch that prevents
zpool import on 64-bit systems.
2011-04-25 10:36:17 -05:00
..
libavl Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
libefi Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
libnvpair Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
libspl Use gethostid in the Linux convention. 2011-04-25 10:36:17 -05:00
libunicode Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
libuutil Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
libzfs Use gethostid in the Linux convention. 2011-04-25 10:36:17 -05:00
libzpool Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
Makefile.am Add missing libspl+libzpool libs to libzfs 2011-03-03 15:48:57 -08:00
Makefile.in Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00