Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115912916
D41621.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
386 B
Referenced Files
None
Subscribers
None
D41621.diff
View Options
diff --git a/sys/dev/acpi_support/acpi_wmi.c b/sys/dev/acpi_support/acpi_wmi.c
--- a/sys/dev/acpi_support/acpi_wmi.c
+++ b/sys/dev/acpi_support/acpi_wmi.c
@@ -976,8 +976,7 @@
sc = dev->si_drv1;
ACPI_SERIAL_BEGIN(acpi_wmi);
- if (sc->wmistat_open_pid != buf->uio_td->td_proc->p_pid ||
- sc->wmistat_bufptr == -1) {
+ if (sc->wmistat_bufptr == -1) {
ret = EBADF;
}
else {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 1, 8:15 AM (1 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17877360
Default Alt Text
D41621.diff (386 B)
Attached To
Mode
D41621: wmistat: don't restrict reading to the pid that opened the fd.
Attached
Detach File
Event Timeline
Log In to Comment