Opened 19 years ago

Closed 6 years ago

Last modified 5 years ago

#315 closed bug (fixed)

device read/writes don't lock memory

Reported by: axeld Owned by: nobody
Priority: critical Milestone: R1/beta2
Component: System/Kernel Version: R1/Development
Keywords: Cc: diver
Blocked By: Blocking:
Platform: All

Description (last modified by waddlesplash)

BeOS made sure the memory buffer passed to a device read/write was safe to be written to. Haiku currently requires the drivers to use user_memcpy() to access those buffers, which is not compatible to how the old driver interface works.

Also, the new file system interface doesn't solve this issue yet, either...

Change History (8)

comment:1 by diver, 19 years ago

Cc: diver added

comment:2 by waddlesplash, 10 years ago

Platform: All
Version: R1/Development

Still an issue?

comment:3 by michaelvoliveira, 9 years ago

ping

comment:4 by axeld, 8 years ago

Owner: changed from axeld to nobody
Status: newassigned

comment:5 by waddlesplash, 6 years ago

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

Now the use of user_memcpy is mandatory thanks to SMAP, and all drivers have been converted to use it. Closing as fixed.

comment:6 by korli, 6 years ago

I think Wacom is still pending. Probably a ticket for it.

comment:7 by waddlesplash, 6 years ago

Yes, #14589. But since that's a KDL and just one driver, that doesn't warrant leaving this ticket open.

comment:8 by nielx, 5 years ago

Milestone: R1R1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.