Files
xen/tools/libs/devicemodel/libxendevicemodel.map
T
Paul Durrant 8ef5f344d0 tools/libxendevicemodel: add a call to restrict the handle
My recent patch [1] to the Linux privcmd module introduced a mechanism
to restrict an open file handle to subsequently only accept operations for
a specified domain.

This patch extends the libxendevicemodel API and make use of the
mechanism in the Linux-specific code to restrict operations on the
interface handle.

[1] https://git.kernel.org/cgit/linux/kernel/git/ostr/linux.git/commit/?id=4610d240

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
2017-02-23 11:57:51 +00:00

24 lines
768 B
Plaintext

VERS_1.0 {
global:
xendevicemodel_open;
xendevicemodel_create_ioreq_server;
xendevicemodel_get_ioreq_server_info;
xendevicemodel_map_io_range_to_ioreq_server;
xendevicemodel_unmap_io_range_from_ioreq_server;
xendevicemodel_map_pcidev_to_ioreq_server;
xendevicemodel_unmap_pcidev_from_ioreq_server;
xendevicemodel_destroy_ioreq_server;
xendevicemodel_set_ioreq_server_state;
xendevicemodel_set_pci_intx_level;
xendevicemodel_set_isa_irq_level;
xendevicemodel_set_pci_link_route;
xendevicemodel_inject_msi;
xendevicemodel_track_dirty_vram;
xendevicemodel_modified_memory;
xendevicemodel_set_mem_type;
xendevicemodel_inject_event;
xendevicemodel_restrict;
xendevicemodel_close;
local: *; /* Do not expose anything by default */
};