zfs/lib/libspl/os/linux
наб 7be4669a65 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-19 15:22:57 -07:00
..
getexecname.c Add include files for prototypes 2020-06-18 12:21:25 -07:00
gethostid.c linux/libspl: gethostid: read from /proc/sys/kernel/spl/hostid, simplify 2021-04-19 15:22:57 -07:00
getmntany.c linux/libspl: getextmntent(): don't leak mnttab FILE* 2021-04-14 13:23:08 -07:00
zone.c libspl: Provide platform-specific zone implementations 2020-08-31 19:43:30 -07:00