From aa56704a72cd2b7e2ea727530993356d12782bac Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 22 Jan 2014 03:55:20 +0100 Subject: [PATCH] linkat.2: Add ENOENT for O_TMPFILE created with O_EXCL Signed-off-by: Michael Kerrisk --- man2/linkat.2 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/man2/linkat.2 b/man2/linkat.2 index 4af57e5d4..ed8a9b931 100644 --- a/man2/linkat.2 +++ b/man2/linkat.2 @@ -172,6 +172,16 @@ but the caller did not have the .B CAP_DAC_READ_SEARCH capability. .TP +.B ENOENT +An attempt was made to link to the +.I /proc/self/fd/NN +file corresponding to a file descriptor created with + + open(path, O_TMPFILE | O_EXCL, mode); + +See +.BR open (2). +.TP .B ENOTDIR .I oldpath is relative and