freebsd-dev/lib
Brian Behlendorf f03e41e8da Improve 'zpool import' safety
There are three improvements here to 'zpool import' proposed by Fajar
in Github issue #98.  They are all good so I'm commiting all three.

1) Add descriptions for "hpet" and "core" blacklist entries.

2) Add "core" to the blacklist, as described in the issue accessing
this device will crash Xen dom0.

3) Refine probing behavior to use fstatat64().  This allows us to
determine if a device is a block device or a regular file without
having to open it.  This is the safest appraoch when probing /dev/
because the simple act of opening a device may have unexpected
consequences.

Closes #98
2011-02-17 09:35:43 -08:00
..
libavl Linux 2.6.36 compat, sops->evict_inode() 2011-02-11 13:47:51 -08:00
libefi Linux 2.6.36 compat, sops->evict_inode() 2011-02-11 13:47:51 -08:00
libnvpair Linux 2.6.36 compat, sops->evict_inode() 2011-02-11 13:47:51 -08:00
libspl Linux 2.6.36 compat, sops->evict_inode() 2011-02-11 13:47:51 -08:00
libunicode Linux 2.6.36 compat, sops->evict_inode() 2011-02-11 13:47:51 -08:00
libuutil Linux 2.6.36 compat, sops->evict_inode() 2011-02-11 13:47:51 -08:00
libzfs Improve 'zpool import' safety 2011-02-17 09:35:43 -08:00
libzpool Linux 2.6.36 compat, sops->evict_inode() 2011-02-11 13:47:51 -08:00
Makefile.am Add linux libspl support 2010-08-31 13:41:59 -07:00
Makefile.in Linux 2.6.36 compat, sops->evict_inode() 2011-02-11 13:47:51 -08:00