public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/maskray/lld] posix: Correct attribute access mode on readlinkat [BZ #27024].
@ 2021-01-18 21:40 Fangrui Song
0 siblings, 0 replies; only message in thread
From: Fangrui Song @ 2021-01-18 21:40 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2cd361b5114ff3f2f55684458d8bf9836c624b90
commit 2cd361b5114ff3f2f55684458d8bf9836c624b90
Author: Martin Sebor <msebor@redhat.com>
Date: Sun Jan 10 13:45:39 2021 -0700
posix: Correct attribute access mode on readlinkat [BZ #27024].
Diff:
---
posix/unistd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/posix/unistd.h b/posix/unistd.h
index 1306aded46..3f22763379 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -831,7 +831,7 @@ extern int symlinkat (const char *__from, int __tofd,
/* Like readlink but a relative PATH is interpreted relative to FD. */
extern ssize_t readlinkat (int __fd, const char *__restrict __path,
char *__restrict __buf, size_t __len)
- __THROW __nonnull ((2, 3)) __wur __attr_access ((__read_only__, 3, 4));
+ __THROW __nonnull ((2, 3)) __wur __attr_access ((__write_only__, 3, 4));
#endif
/* Remove the link NAME. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-18 21:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-18 21:40 [glibc/maskray/lld] posix: Correct attribute access mode on readlinkat [BZ #27024] Fangrui Song
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).