zfs/lib
Rich Ercolani 47ada9e5ed Added error for writing to /dev/ on Linux
Starting in Linux 5.10, trying to write to /dev/{null,zero} errors out.
Prefer to inform people when this happens rather than hoping they guess
what's wrong.

Reviewed-by: Antonio Russo <aerusso@aerusso.net>
Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes:  #11991
2021-11-12 16:31:55 -08:00
..
libavl cppcheck: integrete cppcheck 2021-06-23 13:22:15 -07:00
libefi cppcheck: integrete cppcheck 2021-06-23 13:22:15 -07:00
libicp cppcheck: integrete cppcheck 2021-06-23 13:22:15 -07:00
libnvpair cppcheck: integrete cppcheck 2021-06-23 13:22:15 -07:00
libshare cppcheck: integrete cppcheck 2021-06-23 13:22:15 -07:00
libspl Use fallthrough macro 2021-11-12 15:24:36 -08:00
libtpool cppcheck: integrete cppcheck 2021-06-23 13:22:15 -07:00
libunicode cppcheck: integrete cppcheck 2021-06-23 13:22:15 -07:00
libuutil cppcheck: integrete cppcheck 2021-06-23 13:22:15 -07:00
libzfs Added error for writing to /dev/ on Linux 2021-11-12 16:31:55 -08:00
libzfs_core cppcheck: integrete cppcheck 2021-06-23 13:22:15 -07:00
libzfsbootenv Use fallthrough macro 2021-11-12 15:24:36 -08:00
libzpool file reference counts can get corrupted 2021-09-22 15:19:08 -07:00
libzstd cppcheck: integrete cppcheck 2021-06-23 13:22:15 -07:00
libzutil cppcheck: integrete cppcheck 2021-06-23 13:22:15 -07:00
Makefile.am cppcheck: integrete cppcheck 2021-06-23 13:22:15 -07:00