Anthony Liguori wrote:
Arjan van de Ven wrote:On Thu, 2006-01-12 at 12:53 -0600, Anthony Liguori wrote:We wish to make management hypercalls as the root user in userspace which means we have to go through the kernel. Currently, we do thisby having /proc/xen/privcmd accept an ioctl() that takes a structurethat describe the register arguments. The kernel interface allows us to control who in userspace can execute hypercalls.ioctls on proc is evil though (so is ioctl-on-sysfs). It's a device not a proc file!I full heartedly agree with you :-)
What about making hypercalls via with a read/write interface into memory mapped by a char device? Any problems with that approach?
Mike -- Mike D. Day STSM and Architect, Open Virtualization IBM Linux Technology Center [email protected] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [RFC] [PATCH] sysfs support for Xen attributes
- From: Greg KH <[email protected]>
- Re: [RFC] [PATCH] sysfs support for Xen attributes
- References:
- [RFC] [PATCH] sysfs support for Xen attributes
- From: "Mike D. Day" <[email protected]>
- Re: [RFC] [PATCH] sysfs support for Xen attributes
- From: Greg KH <[email protected]>
- Re: [RFC] [PATCH] sysfs support for Xen attributes
- From: "Mike D. Day" <[email protected]>
- Re: [RFC] [PATCH] sysfs support for Xen attributes
- From: Greg KH <[email protected]>
- Re: [RFC] [PATCH] sysfs support for Xen attributes
- From: "Mike D. Day" <[email protected]>
- Re: [RFC] [PATCH] sysfs support for Xen attributes
- From: Gerd Hoffmann <[email protected]>
- Re: [RFC] [PATCH] sysfs support for Xen attributes
- From: Arjan van de Ven <[email protected]>
- Re: [RFC] [PATCH] sysfs support for Xen attributes
- From: Gerd Hoffmann <[email protected]>
- Re: [RFC] [PATCH] sysfs support for Xen attributes
- From: Greg KH <[email protected]>
- Re: [RFC] [PATCH] sysfs support for Xen attributes
- From: Anthony Liguori <[email protected]>
- Re: [RFC] [PATCH] sysfs support for Xen attributes
- From: Arjan van de Ven <[email protected]>
- Re: [RFC] [PATCH] sysfs support for Xen attributes
- From: Anthony Liguori <[email protected]>
- [RFC] [PATCH] sysfs support for Xen attributes
- Prev by Date: Re: [RFC] [PATCH] sysfs support for Xen attributes
- Next by Date: Re: 2.6.15-$SHA1: VT <-> X sometimes odd
- Previous by thread: Re: [RFC] [PATCH] sysfs support for Xen attributes
- Next by thread: Re: [RFC] [PATCH] sysfs support for Xen attributes
- Index(es):