summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-12-09 23:06:01 +0000
committerpjd <pjd@FreeBSD.org>2006-12-09 23:06:01 +0000
commit516c13f08d06fc735cb873bac1b6c15a75b91407 (patch)
treefdca76463e55cac712bc383e1f8566628c78738c /lib/libc/sys
parent827d52e62286c037370df2fdeb1a9a6dd70f5d05 (diff)
downloadFreeBSD-src-516c13f08d06fc735cb873bac1b6c15a75b91407.zip
FreeBSD-src-516c13f08d06fc735cb873bac1b6c15a75b91407.tar.gz
If the parent directory of the named file has its immutable flag set,
mkfifo(2) returns EPERM.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/mkfifo.27
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/sys/mkfifo.2 b/lib/libc/sys/mkfifo.2
index 329c26b..b4fcd91 100644
--- a/lib/libc/sys/mkfifo.2
+++ b/lib/libc/sys/mkfifo.2
@@ -32,7 +32,7 @@
.\" @(#)mkfifo.2 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 4, 1993
+.Dd December 10, 2006
.Dt MKFIFO 2
.Os
.Sh NAME
@@ -86,6 +86,10 @@ Too many symbolic links were encountered in translating the pathname.
The named file resides on a read-only file system.
.It Bq Er EEXIST
The named file exists.
+.It Bq Er EPERM
+The parent directory of the named file has its immutable flag set, see the
+.Xr chflags 2
+manual page for more information.
.It Bq Er ENOSPC
The directory in which the entry for the new fifo is being placed
cannot be extended because there is no space left on the file
@@ -116,6 +120,7 @@ argument
points outside the process's allocated address space.
.El
.Sh SEE ALSO
+.Xr chflags 2 ,
.Xr chmod 2 ,
.Xr mknod 2 ,
.Xr stat 2 ,
OpenPOWER on IntegriCloud