mirror_zfs/lib/libzutil/os
наб 64dfdaba37 libzutil: import: filter out unsuitable files earlier
Only accept the right type of file, if available, and reject too-small
files before opening them on Linux

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12105
2021-06-11 09:10:13 -07:00
..
freebsd linux/libzutil: use ARRAY_SIZE instead of constant for search paths 2021-06-11 09:10:00 -07:00
linux libzutil: import: filter out unsuitable files earlier 2021-06-11 09:10:13 -07:00