diff options
author | Emilio Pozuelo Monfort <pochu27@gmail.com> | 2010-06-02 10:24:59 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2010-06-02 10:25:56 -0700 |
commit | 2a50c07836d2750baf70442f8f760bf6cd43b3af (patch) | |
tree | 264e42647d2bdbb9ff059ef92cea24f8dd77b42b /hurd/hurd | |
parent | eb5ad2eb0d06326846ed37addebe187a0f67c7c7 (diff) |
Hurd: Fix linkat symlink handling.
Diffstat (limited to 'hurd/hurd')
-rw-r--r-- | hurd/hurd/fd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hurd/hurd/fd.h b/hurd/hurd/fd.h index d1aa867cbf..2473476084 100644 --- a/hurd/hurd/fd.h +++ b/hurd/hurd/fd.h @@ -254,8 +254,9 @@ extern int _hurd_select (int nfds, struct pollfd *pollfds, const sigset_t *sigmask); /* Variant of file_name_lookup used in *at function implementations. - AT_FLAGS should contain only AT_SYMLINK_NOFOLLOW; other bits - cause EINVAL. */ + AT_FLAGS may only contain AT_SYMLINK_FOLLOW or AT_SYMLINK_NOFOLLOW, + which will remove and add O_NOLINK from FLAGS respectively. + Other bits cause EINVAL. */ extern file_t __file_name_lookup_at (int fd, int at_flags, const char *file_name, int flags, mode_t mode); |