[Bug 73301] Documentation misses case of link, linkat, symlink, symlinkat giving ENOENT for a directory with a reference only held by a process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=73301

Michael Kerrisk <mtk.manpages@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

--- Comment #4 from Michael Kerrisk <mtk.manpages@xxxxxxxxx> ---
I've applied the patches below.

diff --git a/man2/link.2 b/man2/link.2
index d5a697d..df2b9e2 100644
--- a/man2/link.2
+++ b/man2/link.2
@@ -291,6 +291,17 @@ file corresponding to a file descriptor created with
 See
 .BR open (2).
 .TP
+.B ENOENT
+.I oldpath
+is a relative pathname and
+.I olddirfd
+refers to a directory that has been deleted,
+or
+.I newpath
+is a relative pathname and
+.I newdirfd
+refers to a directory that has been deleted.
+.TP
 .B ENOTDIR
 .I oldpath
 is relative and

diff --git a/man2/symlink.2 b/man2/symlink.2
index a6cf6a7..8bd067f 100644
--- a/man2/symlink.2
+++ b/man2/symlink.2
@@ -210,6 +210,12 @@ The following additional errors can occur for
 .I newdirfd
 is not a valid file descriptor.
 .TP
+.B ENOENT
+.I linkpath
+is a relative pathname and
+.IR newdirfd
+refers to a directory that has been deleted.
+.TP
 .B ENOTDIR
 .I linkpath
 is relative and

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux