From 6e5a73091397d38faef311095c914dbe6d2968dc Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 18 May 2005 09:39:52 +0000 Subject: [PATCH] Added comment: .\" For Unix domain sockets and regular files, EPERM is only returned in .\" Linux 2.2 and earlier; in Linux 2.4 and later, unprivileged can .\" use mknod() to make these files. --- man2/mknod.2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/man2/mknod.2 b/man2/mknod.2 index 06ee69f2f..8d48095d1 100644 --- a/man2/mknod.2 +++ b/man2/mknod.2 @@ -132,7 +132,11 @@ requested creation of something other than a regular file, FIFO (named pipe), or Unix domain socket, and the caller is not privileged (Linux: does not have the .B CAP_MKNOD -capability); also returned if the filesystem containing +capability); +.\" For Unix domain sockets and regular files, EPERM is only returned in +.\" Linux 2.2 and earlier; in Linux 2.4 and later, unprivileged can +.\" use mknod() to make these files. +also returned if the filesystem containing .I pathname does not support the type of node requested. .TP