mirror_zfs/lib/libspl
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
..
asm-generic Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
asm-i386 Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00
asm-x86_64 Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00
include Use gethostid in the Linux convention. 2011-04-25 10:36:17 -05:00
getexecname.c Add linux libspl support 2010-08-31 13:41:59 -07:00
gethrestime.c Add linux libspl support 2010-08-31 13:41:59 -07:00
gethrtime.c Add linux libspl support 2010-08-31 13:41:59 -07:00
getmntany.c Add linux libspl support 2010-08-31 13:41:59 -07:00
list.c Add linux libspl support 2010-08-31 13:41:59 -07:00
Makefile.am Support custom build directories and move includes 2010-09-08 12:38:56 -07:00
Makefile.in Set -Wno-unused-but-set-variable globally 2011-04-19 10:44:10 -07:00
mkdirp.c Add linux libspl support 2010-08-31 13:41:59 -07:00
strlcat.c Add linux libspl support 2010-08-31 13:41:59 -07:00
strlcpy.c Add linux libspl support 2010-08-31 13:41:59 -07:00
strnlen.c Add linux libspl support 2010-08-31 13:41:59 -07:00
timestamp.c Add linux libspl support 2010-08-31 13:41:59 -07:00
xdr.c Add linux libspl support 2010-08-31 13:41:59 -07:00
zone.c Add linux libspl support 2010-08-31 13:41:59 -07:00