[Bug 217649] cam_open_device requires mode = O_RDWR in order to access pass(4) devices; it's explicitly called out in manpage
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Mar 9 00:11:24 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217649
Ngie Cooper <ngie at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|cam_open_device is |cam_open_device requires
|potentially broken; errors |mode = 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 at 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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list