Created attachment 228472 [details] patch In the part about AT_EMPTY_PATH in link(2) and the error section in shm_open(2) about ENOENT.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=8d3cd7767a2ea1816c31e1dbe7957253e723e559 commit 8d3cd7767a2ea1816c31e1dbe7957253e723e559 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-10-06 03:38:26 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-10-06 03:38:26 +0000 Fix mistakes in link(2) and shm_open(2) PR: 258957 Submitted by: sigsys@gmail.com MFC after: 1 week lib/libc/sys/link.2 | 4 ++-- lib/libc/sys/shm_open.2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=8c384596a83fc807f1ddb07bad6dffca6ad804ac commit 8c384596a83fc807f1ddb07bad6dffca6ad804ac Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-10-06 03:38:26 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-10-10 09:21:18 +0000 Fix mistakes in link(2) and shm_open(2) PR: 258957 (cherry picked from commit 8d3cd7767a2ea1816c31e1dbe7957253e723e559) lib/libc/sys/link.2 | 4 ++-- lib/libc/sys/shm_open.2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)