freebsd-skq/cddl
mckusick 72a21ba0f6 Create new EINTEGRITY error with message "Integrity check failed".
An integrity check such as a check-hash or a cross-correlation failed.
The integrity error falls between EINVAL that identifies errors in
parameters to a system call and EIO that identifies errors with the
underlying storage media. EINTEGRITY is typically raised by intermediate
kernel layers such as a filesystem or an in-kernel GEOM subsystem when
they detect inconsistencies. Uses include allowing the mount(8) command
to return a different exit value to automate the running of fsck(8)
during a system boot.

These changes make no use of the new error, they just add it. Later
commits will be made for the use of the new error number and it will
be added to additional manual pages as appropriate.

Reviewed by:    gnn, dim, brueffer, imp
Discussed with: kib, cem, emaste, ed, jilles
Differential Revision: https://reviews.freebsd.org/D18765
2019-01-17 06:35:45 +00:00
..
compat/opensolaris
contrib/opensolaris MFV r342532: 5882 Temporary pool names 2018-12-26 11:03:14 +00:00
lib Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
sbin Do not blindly include illumos kernel headers instead of user-space. 2018-08-02 18:55:55 +00:00
tests
usr.bin Make dnode definition uniform on !x86 2018-08-21 03:45:09 +00:00
usr.sbin Add support for send, receive and state-change DTrace providers for 2018-08-22 21:23:32 +00:00
Makefile
Makefile.inc