Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2016 22:31:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-standards@FreeBSD.org
Subject:   [Bug 214633] Open symlink with O_NOFOLLOW should fail with ELOOP, not EMLINK
Message-ID:  <bug-214633-15-J8c9x4BJ46@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214633-15@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214633-15@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214633

--- Comment #3 from commit-hook@freebsd.org ---
A commit references this bug:

Author: jilles
Date: Tue Nov 22 22:30:55 UTC 2016
New revision: 309026
URL: https://svnweb.freebsd.org/changeset/base/309026

Log:
  open(2): Clarify non-POSIX error when opening a symlink with O_NOFOLLOW.

  We return [EMLINK] instead of [ELOOP] when trying to open a symlink with
  O_NOFOLLOW, so that the original case of [ELOOP] can be distinguished. Co=
de
  like cmp -h and xz takes advantage of this.

  PR:           214633
  Reviewed by:  kib, imp
  MFC after:    1 week
  Differential Revision:        https://reviews.freebsd.org/D8586

Changes:
  head/lib/libc/sys/open.2

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214633-15-J8c9x4BJ46>