mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-28 15:51:07 +00:00
posix: Correct attribute access mode on readlinkat [BZ #27024].
This commit is contained in:
parent
7a72265436
commit
2cd361b511
@ -831,7 +831,7 @@ extern int symlinkat (const char *__from, int __tofd,
|
|||||||
/* Like readlink but a relative PATH is interpreted relative to FD. */
|
/* Like readlink but a relative PATH is interpreted relative to FD. */
|
||||||
extern ssize_t readlinkat (int __fd, const char *__restrict __path,
|
extern ssize_t readlinkat (int __fd, const char *__restrict __path,
|
||||||
char *__restrict __buf, size_t __len)
|
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
|
#endif
|
||||||
|
|
||||||
/* Remove the link NAME. */
|
/* Remove the link NAME. */
|
||||||
|
Loading…
Reference in New Issue
Block a user