Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2023 17:27:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 273405] wc /dev/wmistat0 fails with EBADF
Message-ID:  <bug-273405-227-N9ErYpWbOv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273405-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273405-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=3D273405

--- Comment #1 from John F. Carr <jfc@mit.edu> ---
Driver function acpi_wmi_wmistat_read prohibits reads except by the same
process ID that opened the device.  The PID check was in the first version =
of
the driver in 2009.  This is a very odd restriction.  It is stricter than
allowing only one file descriptor to attach to the device or only allowing =
the
generated data to be read once.

--=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-273405-227-N9ErYpWbOv>