]> xenbits.xen.org Git - xenclient/kernel.git/commit
Add a new ioctl to /proc/xen/privcmd which allows domctls to be performed restricted-privcmd-dev
authort_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:06:04 +0000 (12:06 +0000)
committert_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:06:04 +0000 (12:06 +0000)
commita825f957534c40fec0e11e949c3ab2d631bd6e4c
tree2e6b9d77eb90f6da286c92c8b5e49f2d168fd986
parent1fddfc6dccb0fb435b1d9609f88ee45521dc2d03
Add a new ioctl to /proc/xen/privcmd which allows domctls to be performed
without using the generic hypercall interface, so that they are available
on restricted fds.

This requires an unfortunate amount of fiddling with headers so that
XEN_GUEST_HANDLE_64 and uint64_aligned_t are available in kernel
space.
drivers/xen/privcmd/privcmd.c
include/asm-i386/mach-xen/asm/hypercall.h
include/asm-i386/mach-xen/asm/hypervisor.h
include/asm-x86_64/mach-xen/asm/hypercall.h
include/xen/interface/arch-x86/xen-x86_32.h
include/xen/interface/arch-x86/xen-x86_64.h
include/xen/interface/domctl.h
include/xen/interface/xen.h
include/xen/public/privcmd.h