[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Prevent unnatural use of ioctl in /proc/xen/xenbus_dev




On 9 Sep 2005, at 12:29, Rusty Russell wrote:

xenbus_dev's use of ioctl for read/write is a crime against nature.
Make it a read-write interface, but check boundaries so we can recover if userspace dies. This also simplifies libxenstore.

How can you cleanly express the request/reponse nature of interacting with xenstore, and grouping of accesses into transactions, via read/write? I would imagine you lose valuable framing information that you end up having to reconstruct.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.