diff options
author | Rich Ercolani <[email protected]> | 2021-06-09 20:57:57 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-09 18:57:57 -0600 |
commit | 860051f1d1ef7ee995188b852d8da36bce85b1dc (patch) | |
tree | a351cbf5a0eae570e0afbe8e393cf93b30e09944 /include/sys | |
parent | 327c904615db9cfcd8c9e07cb56b8e36050a4048 (diff) |
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 <[email protected]>
Reviewed-by: Ahelenia ZiemiaĆska <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: John Kennedy <[email protected]>
Signed-off-by: Rich Ercolani <[email protected]>
Closes: #11991
Diffstat (limited to 'include/sys')
0 files changed, 0 insertions, 0 deletions