[Bug 260708] Opening /dev/urandom fails with errno=31 (EMLINK)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 26 Dec 2021 23:48:41 UTC

--- Comment #2 from Jeffrey Walton <noloader@gmail.com> ---
(In reply to Benjamin Takacs from comment #1)

> I don't see why you would set O_NOFOLLOW here.

Some basic hardening.

> As man open states: "[EMLINK] O_NOFOLLOW was specified and the target is a symbolic link."

I believe this is incorrect. I believe the correct error code in this case is

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