Date: Sun, 26 Dec 2021 23:48:41 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260708] Opening /dev/urandom fails with errno=31 (EMLINK) Message-ID: <bug-260708-227-wjBwY651lR@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-260708-227@https.bugs.freebsd.org/bugzilla/> References: <bug-260708-227@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=3D260708 --- 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 ELOOP. See https://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html. --=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-260708-227-wjBwY651lR>