zfs/lib/libzfs
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
..
Makefile.am Fix 'LDFLAGS=-Wl,--as-needed' build error 2011-03-18 14:47:19 -07:00
Makefile.in Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
libzfs_changelist.c Remove HAVE_ZPL from commands and libraries 2011-02-04 16:14:34 -08:00
libzfs_config.c Fix gcc missing braces warnings 2010-08-27 15:34:03 -07:00
libzfs_dataset.c Remove HAVE_ZPL from commands and libraries 2011-02-04 16:14:34 -08:00
libzfs_diff.c Add linux compatibility 2010-08-31 13:41:59 -07:00
libzfs_fru.c Add linux topology support 2010-08-31 13:42:00 -07:00
libzfs_graph.c Fix gcc missing braces warnings 2010-08-27 15:34:03 -07:00
libzfs_import.c Improve 'zpool import' safety 2011-02-17 09:35:43 -08:00
libzfs_mount.c Print mount/umount errors 2011-03-09 15:26:48 -08:00
libzfs_pool.c Support shorthand names with zpool remove 2010-10-22 12:25:46 -07:00
libzfs_sendrecv.c Add linux user util support 2010-08-31 13:42:01 -07:00
libzfs_status.c Use gethostid in the Linux convention. 2011-04-25 10:36:17 -05:00
libzfs_util.c Support IEC base-2 prefixes 2011-04-19 12:56:21 -07:00