Opened 14 years ago

Closed 11 months ago

Last modified 11 months ago

#315 closed bug (fixed)

device read/writes don't lock memory

Reported by: axeld Owned by: nobody
Priority: critical Milestone: R1
Component: System/Kernel Version: R1/Development
Keywords: Cc: diver
Blocked By: Blocking:
Has a Patch: no 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 (7)

comment:1 by diver, 13 years ago

Cc: diver added

comment:2 by waddlesplash, 5 years ago

Platform: All
Version: R1/Development

Still an issue?

comment:3 by michaelvoliveira, 4 years ago

ping

comment:4 by axeld, 2 years ago

Owner: changed from axeld to nobody
Status: newassigned

comment:5 by waddlesplash, 11 months 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, 11 months ago

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

comment:7 by waddlesplash, 11 months ago

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

Note: See TracTickets for help on using tickets.