public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug stdio/27024] New: Wrong access (read_only, 3, 4) attribute for readlinkat
@ 2020-12-06 14:45 mliska at suse dot cz
  2021-01-06  3:53 ` [Bug stdio/27024] " richardpku at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: mliska at suse dot cz @ 2020-12-06 14:45 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=27024

            Bug ID: 27024
           Summary: Wrong access (read_only, 3, 4) attribute for
                    readlinkat
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: stdio
          Assignee: unassigned at sourceware dot org
          Reporter: mliska at suse dot cz
                CC: msebor at redhat dot com
  Target Milestone: ---

Since g:06febd8c670, there's a bad access attribute:

posix/unistd.h:

/* 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));
#endif

it guess it should be write_only.

@Martin: Can you please take a look?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-02-07 15:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06 14:45 [Bug stdio/27024] New: Wrong access (read_only, 3, 4) attribute for readlinkat mliska at suse dot cz
2021-01-06  3:53 ` [Bug stdio/27024] " richardpku at gmail dot com
2021-01-06  5:21 ` mliska at suse dot cz
2021-01-06 15:53 ` msebor at gmail dot com
2021-01-06 16:07 ` mliska at suse dot cz
2021-01-08  0:49 ` msebor at gmail dot com
2021-01-10 20:52 ` msebor at redhat dot com
2021-02-07 15:24 ` fweimer at redhat dot com

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).