Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Mar 2017 00:11:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217649] cam_open_device requires mode = O_RDWR in order to access pass(4) devices; it's explicitly called out in manpage
Message-ID:  <bug-217649-8-vAuePBhJEA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-217649-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-217649-8@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=3D217649

Ngie Cooper <ngie@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|cam_open_device is          |cam_open_device requires
                   |potentially broken; errors  |mode =3D O_RDWR in order to
                   |with pass(4) from           |access pass(4) devices;
                   |cam_real_open_device helper |it's explicitly called out
                   |function                    |in manpage

--- Comment #3 from Ngie Cooper <ngie@FreeBSD.org> ---
(In reply to Mark Johnston from comment #2)

Confirmed (after changing mode to O_RDWR):

# ./cam_open_device /dev/da0
cam_open_device succeeded!

Hm... it seems either the requirement should be more explicit in either the
manpage or the library.

--=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-217649-8-vAuePBhJEA>