summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/chmod.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/chmod.2')
-rw-r--r--lib/libc/sys/chmod.26
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/chmod.2 b/lib/libc/sys/chmod.2
index 8c92be2..e703df1 100644
--- a/lib/libc/sys/chmod.2
+++ b/lib/libc/sys/chmod.2
@@ -181,7 +181,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.
@@ -196,7 +198,9 @@ system call will fail if:
.It Bq Er EBADF
The descriptor is not valid.
.It Bq Er EINVAL
+The
.Fa fd
+argument
refers to a socket, not to a file.
.It Bq Er EROFS
The file resides on a read-only file system.
OpenPOWER on IntegriCloud