diff options
author | David Vrabel <david.vrabel@citrix.com> | 2016-07-11 15:45:51 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2016-07-25 10:59:31 +0100 |
commit | fbc872c38c8fed31948c85683b5326ee5ab9fccc (patch) | |
tree | 6945716f9f0a670c14a9e1020a069e08e7929776 /net/core/tso.c | |
parent | aea305e11f7a7af12aa2beb7c7e053a338659c49 (diff) |
xen/evtchn: add IOCTL_EVTCHN_RESTRICT
IOCTL_EVTCHN_RESTRICT limits the file descriptor to being able to bind
to interdomain event channels from a specific domain. Event channels
that are already bound continue to work for sending and receiving
notifications.
This is useful as part of deprivileging a user space PV backend or
device model (QEMU). e.g., Once the device model as bound to the
ioreq server event channels it can restrict the file handle so an
exploited DM cannot use it to create or bind to arbitrary event
channels.
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'net/core/tso.c')
0 files changed, 0 insertions, 0 deletions