mirror_zfs/lib/libspl/os/linux
наб 533527725b libzfs: get rid of libzfs_handle::libzfs_mnttab
All users did a freopen() on it. Even some non-users did!
This is point-less ‒ just open the mtab when needed

If I understand Solaris' getextmntent(3C) correctly, the non-user
freopen()s are very likely an odd, twisted vestigial tail of that ‒
but it's got a completely different calling convention and caching
semantics than any platform we support

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11868
2021-04-13 14:14:44 -07:00
..
getexecname.c Add include files for prototypes 2020-06-18 12:21:25 -07:00
gethostid.c lib/: set O_CLOEXEC on all fds 2021-04-11 15:45:59 -07:00
getmntany.c libzfs: get rid of libzfs_handle::libzfs_mnttab 2021-04-13 14:14:44 -07:00
zone.c libspl: Provide platform-specific zone implementations 2020-08-31 19:43:30 -07:00