summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/chown.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/chown.2')
-rw-r--r--lib/libc/sys/chown.28
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2
index d663776..555ee38 100644
--- a/lib/libc/sys/chown.2
+++ b/lib/libc/sys/chown.2
@@ -122,7 +122,9 @@ The effective user ID is not the super-user.
.It Bq Er EROFS
The named file resides on a read-only file system.
.It Bq Er EFAULT
-.Fa Path
+The
+.Fa path
+argument
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.
@@ -133,10 +135,14 @@ The
system call will fail if:
.Bl -tag -width Er
.It Bq Er EBADF
+The
.Fa fd
+argument
does not refer to a valid descriptor.
.It Bq Er EINVAL
+The
.Fa fd
+argument
refers to a socket, not a file.
.It Bq Er EPERM
The effective user ID is not the super-user.
OpenPOWER on IntegriCloud