Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144097083
D24168.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
28 KB
Referenced Files
None
Subscribers
None
D24168.diff
View Options
Index: head/lib/libc/sys/access.2
===================================================================
--- head/lib/libc/sys/access.2
+++ head/lib/libc/sys/access.2
@@ -28,7 +28,7 @@
.\" @(#)access.2 8.2 (Berkeley) 4/1/94
.\" $FreeBSD$
.\"
-.Dd November 11, 2018
+.Dd March 30, 2020
.Dt ACCESS 2
.Os
.Sh NAME
@@ -175,6 +175,8 @@
points outside the process's allocated address space.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Pp
Also, the
Index: head/lib/libc/sys/acct.2
===================================================================
--- head/lib/libc/sys/acct.2
+++ head/lib/libc/sys/acct.2
@@ -28,7 +28,7 @@
.\" @(#)acct.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd April 17, 2004
+.Dd March 30, 2020
.Dt ACCT 2
.Os
.Sh NAME
@@ -119,6 +119,8 @@
points outside the process's allocated address space.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Sh SEE ALSO
.Xr acct 5 ,
Index: head/lib/libc/sys/bind.2
===================================================================
--- head/lib/libc/sys/bind.2
+++ head/lib/libc/sys/bind.2
@@ -28,7 +28,7 @@
.\" @(#)bind.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd August 18, 2016
+.Dd March 30, 2020
.Dt BIND 2
.Os
.Sh NAME
@@ -122,6 +122,8 @@
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EIO
An I/O error occurred while making the directory entry or allocating the inode.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EROFS
The name would reside on a read-only file system.
.It Bq Er EISDIR
Index: head/lib/libc/sys/chdir.2
===================================================================
--- head/lib/libc/sys/chdir.2
+++ head/lib/libc/sys/chdir.2
@@ -28,7 +28,7 @@
.\" @(#)chdir.2 8.2 (Berkeley) 12/11/93
.\" $FreeBSD$
.\"
-.Dd December 1, 2017
+.Dd March 30, 2020
.Dt CHDIR 2
.Os
.Sh NAME
@@ -96,6 +96,8 @@
points outside the process's allocated address space.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Pp
The
Index: head/lib/libc/sys/chflags.2
===================================================================
--- head/lib/libc/sys/chflags.2
+++ head/lib/libc/sys/chflags.2
@@ -28,7 +28,7 @@
.\" @(#)chflags.2 8.3 (Berkeley) 5/2/95
.\" $FreeBSD$
.\"
-.Dd November 11, 2018
+.Dd March 30, 2020
.Dt CHFLAGS 2
.Os
.Sh NAME
@@ -264,6 +264,8 @@
An
.Tn I/O
error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EOPNOTSUPP
The underlying file system does not support file flags, or
does not support all of the flags set in
@@ -306,6 +308,8 @@
An
.Tn I/O
error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EOPNOTSUPP
The underlying file system does not support file flags, or
does not support all of the flags set in
Index: head/lib/libc/sys/chmod.2
===================================================================
--- head/lib/libc/sys/chmod.2
+++ head/lib/libc/sys/chmod.2
@@ -28,7 +28,7 @@
.\" @(#)chmod.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd November 11, 2018
+.Dd March 30, 2020
.Dt CHMOD 2
.Os
.Sh NAME
@@ -244,6 +244,8 @@
points outside the process's allocated address space.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EFTYPE
The effective user ID is not the super-user, the mode includes the sticky bit
.Dv ( S_ISVTX ) ,
@@ -265,6 +267,8 @@
The file resides on a read-only file system.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Pp
In addition to the
Index: head/lib/libc/sys/chown.2
===================================================================
--- head/lib/libc/sys/chown.2
+++ head/lib/libc/sys/chown.2
@@ -28,7 +28,7 @@
.\" @(#)chown.2 8.4 (Berkeley) 4/19/94
.\" $FreeBSD$
.\"
-.Dd November 11, 2018
+.Dd March 30, 2020
.Dt CHOWN 2
.Os
.Sh NAME
@@ -183,6 +183,8 @@
points outside the process's allocated address space.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Pp
The
@@ -205,6 +207,8 @@
The named file resides on a read-only file system.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Pp
In addition to the errors specified for
Index: head/lib/libc/sys/chroot.2
===================================================================
--- head/lib/libc/sys/chroot.2
+++ head/lib/libc/sys/chroot.2
@@ -28,7 +28,7 @@
.\" @(#)chroot.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd January 3, 2012
+.Dd March 30, 2020
.Dt CHROOT 2
.Os
.Sh NAME
@@ -121,6 +121,8 @@
points outside the process's allocated address space.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Sh SEE ALSO
.Xr chdir 2 ,
Index: head/lib/libc/sys/copy_file_range.2
===================================================================
--- head/lib/libc/sys/copy_file_range.2
+++ head/lib/libc/sys/copy_file_range.2
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 9, 2019
+.Dd March 30, 2020
.Dt COPY_FILE_RANGE 2
.Os
.Sh NAME
@@ -180,6 +180,8 @@
is not zero.
.It Bq Er EIO
An I/O error occurred while reading/writing the files.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from a file system.
.It Bq Er EISDIR
If either
.Fa infd
Index: head/lib/libc/sys/execve.2
===================================================================
--- head/lib/libc/sys/execve.2
+++ head/lib/libc/sys/execve.2
@@ -28,7 +28,7 @@
.\" @(#)execve.2 8.5 (Berkeley) 6/1/94
.\" $FreeBSD$
.\"
-.Dd September 21, 2010
+.Dd March 30, 2020
.Dt EXECVE 2
.Os
.Sh NAME
@@ -304,6 +304,8 @@
to an illegal address.
.It Bq Er EIO
An I/O error occurred while reading from the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Pp
In addition, the
Index: head/lib/libc/sys/fhlink.2
===================================================================
--- head/lib/libc/sys/fhlink.2
+++ head/lib/libc/sys/fhlink.2
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 29, 2018
+.Dd March 30, 2020
.Dt FHLINK 2
.Os
.Sh NAME
@@ -219,6 +219,8 @@
.It Bq Er EIO
An I/O error occurred while reading from or writing to
the file system to make the directory entry.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EROFS
The requested link requires writing in a directory on a read-only file
system.
Index: head/lib/libc/sys/fhreadlink.2
===================================================================
--- head/lib/libc/sys/fhreadlink.2
+++ head/lib/libc/sys/fhreadlink.2
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 29, 2018
+.Dd March 30, 2020
.Dt FHREADLINK 2
.Os
.Sh NAME
@@ -76,6 +76,8 @@
The named file is not a symbolic link.
.It Bq Er EIO
An I/O error occurred while reading from the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EFAULT
The
.Fa buf
Index: head/lib/libc/sys/fsync.2
===================================================================
--- head/lib/libc/sys/fsync.2
+++ head/lib/libc/sys/fsync.2
@@ -34,7 +34,7 @@
.\" @(#)fsync.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd February 6, 2018
+.Dd March 30, 2020
.Dt FSYNC 2
.Os
.Sh NAME
@@ -107,6 +107,8 @@
refers to a socket, not to a file.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Sh SEE ALSO
.Xr fsync 1 ,
Index: head/lib/libc/sys/getdirentries.2
===================================================================
--- head/lib/libc/sys/getdirentries.2
+++ head/lib/libc/sys/getdirentries.2
@@ -28,7 +28,7 @@
.\" @(#)getdirentries.2 8.2 (Berkeley) 5/3/95
.\" $FreeBSD$
.\"
-.Dd Nov 14, 2018
+.Dd March 30, 2020
.Dt GETDIRENTRIES 2
.Os
.Sh NAME
@@ -189,6 +189,8 @@
An
.Tn I/O
error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Sh SEE ALSO
.Xr lseek 2 ,
Index: head/lib/libc/sys/getfh.2
===================================================================
--- head/lib/libc/sys/getfh.2
+++ head/lib/libc/sys/getfh.2
@@ -29,7 +29,7 @@
.\" @(#)getfh.2 8.1 (Berkeley) 6/9/93
.\" $FreeBSD$
.\"
-.Dd December 11, 2018
+.Dd March 30, 2020
.Dt GETFH 2
.Os
.Sh NAME
@@ -192,6 +192,8 @@
An
.Tn I/O
error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er ESTALE
The file handle
.Fa fhp
Index: head/lib/libc/sys/getfsstat.2
===================================================================
--- head/lib/libc/sys/getfsstat.2
+++ head/lib/libc/sys/getfsstat.2
@@ -28,7 +28,7 @@
.\" @(#)getfsstat.2 8.3 (Berkeley) 5/25/95
.\" $FreeBSD$
.\"
-.Dd December 27, 2016
+.Dd March 30, 2020
.Dt GETFSSTAT 2
.Os
.Sh NAME
@@ -118,6 +118,8 @@
An
.Tn I/O
error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Sh SEE ALSO
.Xr statfs 2 ,
Index: head/lib/libc/sys/ktrace.2
===================================================================
--- head/lib/libc/sys/ktrace.2
+++ head/lib/libc/sys/ktrace.2
@@ -28,7 +28,7 @@
.\" @(#)ktrace.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd March 31, 2016
+.Dd March 30, 2020
.Dt KTRACE 2
.Os
.Sh NAME
@@ -177,6 +177,8 @@
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er ENOSYS
The kernel was not compiled with
.Nm
Index: head/lib/libc/sys/link.2
===================================================================
--- head/lib/libc/sys/link.2
+++ head/lib/libc/sys/link.2
@@ -28,7 +28,7 @@
.\" @(#)link.2 8.3 (Berkeley) 1/12/94
.\" $FreeBSD$
.\"
-.Dd November 11, 2018
+.Dd March 30, 2020
.Dt LINK 2
.Os
.Sh NAME
@@ -222,6 +222,8 @@
.It Bq Er EIO
An I/O error occurred while reading from or writing to
the file system to make the directory entry.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EROFS
The requested link requires writing in a directory on a read-only file
system.
Index: head/lib/libc/sys/mkdir.2
===================================================================
--- head/lib/libc/sys/mkdir.2
+++ head/lib/libc/sys/mkdir.2
@@ -28,7 +28,7 @@
.\" @(#)mkdir.2 8.2 (Berkeley) 12/11/93
.\" $FreeBSD$
.\"
-.Dd June 26, 2008
+.Dd March 30, 2020
.Dt MKDIR 2
.Os
.Sh NAME
@@ -126,6 +126,8 @@
An I/O error occurred while making the directory entry or allocating the inode.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EFAULT
The
.Fa path
Index: head/lib/libc/sys/mkfifo.2
===================================================================
--- head/lib/libc/sys/mkfifo.2
+++ head/lib/libc/sys/mkfifo.2
@@ -28,7 +28,7 @@
.\" @(#)mkfifo.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd April 10, 2008
+.Dd March 30, 2020
.Dt MKFIFO 2
.Os
.Sh NAME
@@ -134,6 +134,8 @@
An
.Tn I/O
error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EFAULT
The
.Fa path
Index: head/lib/libc/sys/mknod.2
===================================================================
--- head/lib/libc/sys/mknod.2
+++ head/lib/libc/sys/mknod.2
@@ -28,7 +28,7 @@
.\" @(#)mknod.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd December 1, 2017
+.Dd March 30, 2020
.Dt MKNOD 2
.Os
.Sh NAME
@@ -108,6 +108,8 @@
The process's effective user ID is not super-user.
.It Bq Er EIO
An I/O error occurred while making the directory entry or allocating the inode.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er ENOSPC
The directory in which the entry for the new node is being placed
cannot be extended because there is no space left on the file
Index: head/lib/libc/sys/mount.2
===================================================================
--- head/lib/libc/sys/mount.2
+++ head/lib/libc/sys/mount.2
@@ -28,7 +28,7 @@
.\" @(#)mount.2 8.3 (Berkeley) 5/24/95
.\" $FreeBSD$
.\"
-.Dd August 28, 2019
+.Dd March 30, 2020
.Dt MOUNT 2
.Os
.Sh NAME
@@ -274,6 +274,13 @@
.Fa dir
argument
points outside the process's allocated address space.
+.It Bq Er EIO
+An I/O error occurred while reading data from
+.Fa special .
+.It Bq Er EINTEGRITY
+The backing store for
+.Fa special
+detected corrupted data while reading.
.El
.Pp
The following errors can occur for a
Index: head/lib/libc/sys/open.2
===================================================================
--- head/lib/libc/sys/open.2
+++ head/lib/libc/sys/open.2
@@ -28,7 +28,7 @@
.\" @(#)open.2 8.2 (Berkeley) 11/16/93
.\" $FreeBSD$
.\"
-.Dd January 31, 2020
+.Dd March 30, 2020
.Dt OPEN 2
.Os
.Sh NAME
@@ -510,6 +510,8 @@
An I/O error occurred while making the directory entry or
allocating the inode for
.Dv O_CREAT .
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er ETXTBSY
The file is a pure procedure (shared text) file that is being
executed and the
Index: head/lib/libc/sys/pathconf.2
===================================================================
--- head/lib/libc/sys/pathconf.2
+++ head/lib/libc/sys/pathconf.2
@@ -28,7 +28,7 @@
.\" @(#)pathconf.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd July 7, 2009
+.Dd March 30, 2020
.Dt PATHCONF 2
.Os
.Sh NAME
@@ -230,6 +230,8 @@
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Pp
The
@@ -244,6 +246,8 @@
is not a valid open file descriptor.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Sh SEE ALSO
.Xr lseek 2 ,
Index: head/lib/libc/sys/posix_fadvise.2
===================================================================
--- head/lib/libc/sys/posix_fadvise.2
+++ head/lib/libc/sys/posix_fadvise.2
@@ -28,7 +28,7 @@
.\" @(#)madvise.2 8.1 (Berkeley) 6/9/93
.\" $FreeBSD$
.\"
-.Dd October 3, 2015
+.Dd March 30, 2020
.Dt POSIX_FADVISE 2
.Os
.Sh NAME
@@ -124,6 +124,10 @@
The
.Fa fd
argument is associated with a pipe or FIFO.
+.It Bq Er EIO
+An I/O error occurred while reading from or writing to a file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Sh SEE ALSO
.Xr madvise 2
Index: head/lib/libc/sys/posix_fallocate.2
===================================================================
--- head/lib/libc/sys/posix_fallocate.2
+++ head/lib/libc/sys/posix_fallocate.2
@@ -28,7 +28,7 @@
.\" @(#)open.2 8.2 (Berkeley) 11/16/93
.\" $FreeBSD$
.\"
-.Dd January 5, 2020
+.Dd March 30, 2020
.Dt POSIX_FALLOCATE 2
.Os
.Sh NAME
@@ -112,6 +112,8 @@
or the operation is not supported by the file system.
.It Bq Er EIO
An I/O error occurred while reading from or writing to a file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er ENODEV
The
.Fa fd
Index: head/lib/libc/sys/quotactl.2
===================================================================
--- head/lib/libc/sys/quotactl.2
+++ head/lib/libc/sys/quotactl.2
@@ -31,7 +31,7 @@
.\" @(#)quotactl.2 8.2 (Berkeley) 3/10/95
.\" $FreeBSD$
.\"
-.Dd March 5, 1999
+.Dd March 30, 2020
.Dt QUOTACTL 2
.Os
.Sh NAME
@@ -228,6 +228,8 @@
.Tn I/O
error occurred while reading from or writing
to a file containing quotas.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EFAULT
An invalid
.Fa addr
Index: head/lib/libc/sys/read.2
===================================================================
--- head/lib/libc/sys/read.2
+++ head/lib/libc/sys/read.2
@@ -28,7 +28,7 @@
.\" @(#)read.2 8.4 (Berkeley) 2/26/94
.\" $FreeBSD$
.\"
-.Dd July 6, 2019
+.Dd March 30, 2020
.Dt READ 2
.Os
.Sh NAME
@@ -182,6 +182,8 @@
points outside the allocated address space.
.It Bq Er EIO
An I/O error occurred while reading from the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EBUSY
Failed to read from a file, e.g. /proc/<pid>/regs while <pid> is not stopped
.It Bq Er EINTR
Index: head/lib/libc/sys/readlink.2
===================================================================
--- head/lib/libc/sys/readlink.2
+++ head/lib/libc/sys/readlink.2
@@ -28,7 +28,7 @@
.\" @(#)readlink.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd April 10, 2008
+.Dd March 30, 2020
.Dt READLINK 2
.Os
.Sh NAME
@@ -108,6 +108,8 @@
The named file is not a symbolic link.
.It Bq Er EIO
An I/O error occurred while reading from the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EFAULT
The
.Fa buf
Index: head/lib/libc/sys/rename.2
===================================================================
--- head/lib/libc/sys/rename.2
+++ head/lib/libc/sys/rename.2
@@ -28,7 +28,7 @@
.\" @(#)rename.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 21, 2018
+.Dd March 30, 2020
.Dt RENAME 2
.Os
.Sh NAME
@@ -240,6 +240,8 @@
containing the directory has been exhausted.
.It Bq Er EIO
An I/O error occurred while making or updating a directory entry.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EROFS
The requested link requires writing in a directory on a read-only file
system.
Index: head/lib/libc/sys/rmdir.2
===================================================================
--- head/lib/libc/sys/rmdir.2
+++ head/lib/libc/sys/rmdir.2
@@ -28,7 +28,7 @@
.\" @(#)rmdir.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd December 9, 2006
+.Dd March 30, 2020
.Dt RMDIR 2
.Os
.Sh NAME
@@ -100,6 +100,8 @@
.It Bq Er EIO
An I/O error occurred while deleting the directory entry
or deallocating the inode.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EROFS
The directory entry to be removed resides on a read-only file system.
.It Bq Er EFAULT
Index: head/lib/libc/sys/sendfile.2
===================================================================
--- head/lib/libc/sys/sendfile.2
+++ head/lib/libc/sys/sendfile.2
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 15, 2019
+.Dd March 30, 2020
.Dt SENDFILE 2
.Os
.Sh NAME
@@ -350,6 +350,9 @@
is negative.
.It Bq Er EIO
An error occurred while reading from
+.Fa fd .
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from
.Fa fd .
.It Bq Er ENOTCAPABLE
The
Index: head/lib/libc/sys/stat.2
===================================================================
--- head/lib/libc/sys/stat.2
+++ head/lib/libc/sys/stat.2
@@ -28,7 +28,7 @@
.\" @(#)stat.2 8.4 (Berkeley) 5/1/95
.\" $FreeBSD$
.\"
-.Dd December 5, 2018
+.Dd March 30, 2020
.Dt STAT 2
.Os
.Sh NAME
@@ -379,6 +379,8 @@
points to an invalid address.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er ENAMETOOLONG
@@ -410,6 +412,8 @@
points to an invalid address.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EOVERFLOW
The file size in bytes cannot be
represented correctly in the structure pointed to by
Index: head/lib/libc/sys/statfs.2
===================================================================
--- head/lib/libc/sys/statfs.2
+++ head/lib/libc/sys/statfs.2
@@ -28,7 +28,7 @@
.\" @(#)statfs.2 8.5 (Berkeley) 5/24/95
.\" $FreeBSD$
.\"
-.Dd February 13, 2017
+.Dd March 30, 2020
.Dt STATFS 2
.Os
.Sh NAME
@@ -204,6 +204,8 @@
An
.Tn I/O
error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Pp
The
@@ -225,6 +227,8 @@
An
.Tn I/O
error occurred while reading from or writing to the file system.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.El
.Sh SEE ALSO
.Xr fhstatfs 2 ,
Index: head/lib/libc/sys/swapon.2
===================================================================
--- head/lib/libc/sys/swapon.2
+++ head/lib/libc/sys/swapon.2
@@ -28,7 +28,7 @@
.\" @(#)swapon.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd October 4, 2013
+.Dd March 30, 2020
.Dt SWAPON 2
.Os
.Sh NAME
@@ -115,6 +115,9 @@
for the associated hardware).
.It Bq Er EIO
An I/O error occurred while opening the swap device.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system to open the
+swap device.
.El
.Pp
Lastly,
Index: head/lib/libc/sys/symlink.2
===================================================================
--- head/lib/libc/sys/symlink.2
+++ head/lib/libc/sys/symlink.2
@@ -28,7 +28,7 @@
.\" @(#)symlink.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd April 10, 2008
+.Dd March 30, 2020
.Dt SYMLINK 2
.Os
.Sh NAME
@@ -151,6 +151,8 @@
which the symbolic link is being created has been exhausted.
.It Bq Er EIO
An I/O error occurred while making the directory entry or allocating the inode.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EFAULT
The
.Fa name1
Index: head/lib/libc/sys/truncate.2
===================================================================
--- head/lib/libc/sys/truncate.2
+++ head/lib/libc/sys/truncate.2
@@ -28,7 +28,7 @@
.\" @(#)truncate.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd January 24, 2020
+.Dd March 30, 2020
.Dt TRUNCATE 2
.Os
.Sh NAME
@@ -117,6 +117,8 @@
argument was less than 0.
.It Bq Er EIO
An I/O error occurred updating the inode.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EFAULT
The
.Fa path
Index: head/lib/libc/sys/undelete.2
===================================================================
--- head/lib/libc/sys/undelete.2
+++ head/lib/libc/sys/undelete.2
@@ -29,7 +29,7 @@
.\" @(#)undelete.2 8.4 (Berkeley) 10/18/94
.\" $FreeBSD$
.\"
-.Dd January 22, 2006
+.Dd March 30, 2020
.Dt UNDELETE 2
.Os
.Sh NAME
@@ -87,6 +87,8 @@
.Ql .. .
.It Bq Er EIO
An I/O error occurred while updating the directory entry.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EROFS
The name resides on a read-only file system.
.It Bq Er EFAULT
Index: head/lib/libc/sys/unlink.2
===================================================================
--- head/lib/libc/sys/unlink.2
+++ head/lib/libc/sys/unlink.2
@@ -28,7 +28,7 @@
.\" @(#)unlink.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 6, 2019
+.Dd March 30, 2020
.Dt UNLINK 2
.Os
.Sh NAME
@@ -175,6 +175,8 @@
.It Bq Er EIO
An I/O error occurred while deleting the directory entry
or deallocating the inode.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EROFS
The named file resides on a read-only file system.
.It Bq Er EFAULT
Index: head/lib/libc/sys/utimensat.2
===================================================================
--- head/lib/libc/sys/utimensat.2
+++ head/lib/libc/sys/utimensat.2
@@ -31,7 +31,7 @@
.\" @(#)utimes.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd November 11, 2018
+.Dd March 30, 2020
.Dt UTIMENSAT 2
.Os
.Sh NAME
@@ -200,6 +200,8 @@
.Dv UTIME_OMIT .
.It Bq Er EIO
An I/O error occurred while reading or writing the affected inode.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er EPERM
The
.Fa times
Index: head/lib/libc/sys/utimes.2
===================================================================
--- head/lib/libc/sys/utimes.2
+++ head/lib/libc/sys/utimes.2
@@ -30,7 +30,7 @@
.\" @(#)utimes.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 9, 2016
+.Dd March 30, 2020
.Dt UTIMES 2
.Os
.Sh NAME
@@ -165,6 +165,8 @@
argument has a value less than 0 or greater than 999999.
.It Bq Er EIO
An I/O error occurred while reading or writing the affected inode.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the file system.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er ENAMETOOLONG
Index: head/lib/libc/sys/write.2
===================================================================
--- head/lib/libc/sys/write.2
+++ head/lib/libc/sys/write.2
@@ -28,7 +28,7 @@
.\" @(#)write.2 8.5 (Berkeley) 4/2/94
.\" $FreeBSD$
.\"
-.Dd December 1, 2017
+.Dd March 30, 2020
.Dt WRITE 2
.Os
.Sh NAME
@@ -205,6 +205,12 @@
if the sysctl
.Va debug.iosize_max_clamp
is non-zero).
+.It Bq Er EINTEGRITY
+The backing store for
+.Fa fd
+detected corrupted data while reading.
+(For example, writing a partial filesystem block may require first reading
+the existing block which may trigger this error.)
.El
.Pp
In addition,
Index: head/share/man/man9/VOP_COPY_FILE_RANGE.9
===================================================================
--- head/share/man/man9/VOP_COPY_FILE_RANGE.9
+++ head/share/man/man9/VOP_COPY_FILE_RANGE.9
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 9, 2019
+.Dd March 30, 2020
.Dt VOP_COPY_FILE_RANGE 9
.Os
.Sh NAME
@@ -133,6 +133,8 @@
A signal interrupted the VOP call before it could be completed.
.It Bq Er EIO
An I/O error occurred while reading/writing the files.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading/writing the files.
.It Bq Er ENOSPC
The file system is full.
.El
Index: head/share/man/man9/VOP_READDIR.9
===================================================================
--- head/share/man/man9/VOP_READDIR.9
+++ head/share/man/man9/VOP_READDIR.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 24, 1996
+.Dd March 30, 2020
.Dt VOP_READDIR 9
.Os
.Sh NAME
@@ -100,6 +100,8 @@
An attempt was made to read from an illegal offset in the directory.
.It Bq Er EIO
A read error occurred while reading the directory.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading the directory.
.El
.Sh SEE ALSO
.Xr vnode 9
Index: head/share/man/man9/VOP_READLINK.9
===================================================================
--- head/share/man/man9/VOP_READLINK.9
+++ head/share/man/man9/VOP_READLINK.9
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 24, 1996
+.Dd March 30, 2020
.Dt VOP_READLINK 9
.Os
.Sh NAME
@@ -58,6 +58,8 @@
.Bl -tag -width Er
.It Bq Er EIO
A read error occurred while reading the contents of the symlink.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading the contents of the symlink.
.El
.Sh SEE ALSO
.Xr uiomove 9 ,
Index: head/share/man/man9/g_data.9
===================================================================
--- head/share/man/man9/g_data.9
+++ head/share/man/man9/g_data.9
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 16, 2004
+.Dd March 30, 2020
.Dt G_DATA 9
.Os
.Sh NAME
@@ -103,6 +103,8 @@
.Bl -tag -width Er
.It Bq Er EIO
An I/O error occurred while reading from or writing to the consumer.
+.It Bq Er EINTEGRITY
+Corrupted data was detected while reading from the consumer.
.El
.Sh SEE ALSO
.Xr geom 4 ,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 5, 5:03 PM (4 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28443181
Default Alt Text
D24168.diff (28 KB)
Attached To
Mode
D24168: Document EINTEGRITY errors for many system calls.
Attached
Detach File
Event Timeline
Log In to Comment