mirror_zfs/lib/libspl/include
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
..
ia32 Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00
rpc Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00
sys Fix 32-bit MAXOFFSET_T definition 2011-04-22 16:21:26 -07:00
util Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00
assert.h Add linux libspl support 2010-08-31 13:41:59 -07:00
atomic.h Add linux libspl support 2010-08-31 13:41:59 -07:00
attr.h Add linux libspl support 2010-08-31 13:41:59 -07:00
devid.h Add linux libspl support 2010-08-31 13:41:59 -07:00
libdevinfo.h Add linux libspl support 2010-08-31 13:41:59 -07:00
libgen.h Add missing mkdirp prototype 2010-12-14 10:06:44 -08:00
libshare.h Minimal libshare infrastructure 2011-02-04 16:14:29 -08:00
limits.h Add linux libspl support 2010-08-31 13:41:59 -07:00
locale.h 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 Linux 2.6.28 compat, insert_inode_locked() 2011-03-22 12:15:54 -07:00
note.h Add linux libspl support 2010-08-31 13:41:59 -07:00
priv.h Add linux libspl support 2010-08-31 13:41:59 -07:00
statcommon.h Add linux libspl support 2010-08-31 13:41:59 -07:00
stdio.h Add linux libspl support 2010-08-31 13:41:59 -07:00
stdlib.h Add linux libspl support 2010-08-31 13:41:59 -07:00
string.h Add linux libspl support 2010-08-31 13:41:59 -07:00
strings.h Add linux libspl support 2010-08-31 13:41:59 -07:00
stropts.h Add linux libspl support 2010-08-31 13:41:59 -07:00
synch.h Add linux libspl support 2010-08-31 13:41:59 -07:00
thread.h Add linux libspl support 2010-08-31 13:41:59 -07:00
tzfile.h Add linux libspl support 2010-08-31 13:41:59 -07:00
ucred.h Add linux libspl support 2010-08-31 13:41:59 -07:00
umem.h Add linux libspl support 2010-08-31 13:41:59 -07:00
unistd.h Use gethostid in the Linux convention. 2011-04-25 10:36:17 -05:00
zone.h Add linux libspl support 2010-08-31 13:41:59 -07:00