diff options
author | Kirk McKusick <mckusick@FreeBSD.org> | 2019-01-17 06:35:45 +0000 |
---|---|---|
committer | Kirk McKusick <mckusick@FreeBSD.org> | 2019-01-17 06:35:45 +0000 |
commit | 88640c0e8b6f503426cce9ea1337098c241d3801 (patch) | |
tree | f2ee08193db32edc9d3c8929e21ec8dceea54e32 /contrib/libxo/tests | |
parent | 0a34fc885b57ead048ff45433be268dc2ca48f8c (diff) |
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
Notes
Notes:
svn path=/head/; revision=343111
Diffstat (limited to 'contrib/libxo/tests')
-rw-r--r-- | contrib/libxo/tests/gettext/po/pig_latin/strerror.po | 4 | ||||
-rw-r--r-- | contrib/libxo/tests/gettext/strerror.pot | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/contrib/libxo/tests/gettext/po/pig_latin/strerror.po b/contrib/libxo/tests/gettext/po/pig_latin/strerror.po index 9b62dd71245d..9b3dcfbdfdee 100644 --- a/contrib/libxo/tests/gettext/po/pig_latin/strerror.po +++ b/contrib/libxo/tests/gettext/po/pig_latin/strerror.po @@ -457,3 +457,7 @@ msgstr "Atestay otnay ecoverableray" # 96 - EOWNERDEAD msgid "Previous owner died" msgstr "Eviouspray ownerway iedday" + +# 97 - EINTEGRITY +msgid "Integrity check failed" +msgstr "integrityyay eckchay ailedfay" diff --git a/contrib/libxo/tests/gettext/strerror.pot b/contrib/libxo/tests/gettext/strerror.pot index 475162d5413d..63da80d14325 100644 --- a/contrib/libxo/tests/gettext/strerror.pot +++ b/contrib/libxo/tests/gettext/strerror.pot @@ -466,3 +466,7 @@ msgstr "" # 96 - EOWNERDEAD msgid "Previous owner died" msgstr "" + +# 97 - EINTEGRITY +msgid "Integrity check failed" +msgstr "" |