mirror_zfs/lib/libspl/os
наб a0978d15aa linux/libspl: gethostid: read from /proc/sys/kernel/spl/hostid, simplify
Fixes get_system_hostid() if it was set via the aforementioned sysctl
and simplifies the code a bit.  The kernel and user-space must agree,
after all.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11879
2021-04-15 14:55:47 -07:00
..
freebsd libspl: lift common bits of getexecname() 2021-04-15 14:55:40 -07:00
linux linux/libspl: gethostid: read from /proc/sys/kernel/spl/hostid, simplify 2021-04-15 14:55:47 -07:00