diff options
author | Christopher Ferris <cferris@google.com> | 2016-12-12 14:51:18 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2016-12-12 19:08:17 -0800 |
commit | 6e3550f2a1c3909fb75be068f7ae9009f7e8622a (patch) | |
tree | 454fb552d79182e78d6903ecb389c75f8f9c9501 /original/uapi/xen | |
parent | 45f85e79e40b692d65e3df787e159d75368ca90b (diff) | |
download | kernel-headers-6e3550f2a1c3909fb75be068f7ae9009f7e8622a.tar.gz |
Update to kernel headers v4.8.14.
Test: Built mips/arm/arm64/x86/x86_64. Built and booted angler.
Change-Id: I1691a363c8d889535334a98dad93651808a15af6
Diffstat (limited to 'original/uapi/xen')
-rw-r--r-- | original/uapi/xen/evtchn.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/original/uapi/xen/evtchn.h b/original/uapi/xen/evtchn.h index 14e833e..cb4aa4b 100644 --- a/original/uapi/xen/evtchn.h +++ b/original/uapi/xen/evtchn.h @@ -85,4 +85,19 @@ struct ioctl_evtchn_notify { #define IOCTL_EVTCHN_RESET \ _IOC(_IOC_NONE, 'E', 5, 0) +/* + * Restrict this file descriptor so that it can only be used to bind + * new interdomain events from one domain. + * + * Once a file descriptor has been restricted it cannot be + * de-restricted, and must be closed and re-opened. Event channels + * which were bound before restricting remain bound afterwards, and + * can be notified as usual. + */ +#define IOCTL_EVTCHN_RESTRICT_DOMID \ + _IOC(_IOC_NONE, 'E', 6, sizeof(struct ioctl_evtchn_restrict_domid)) +struct ioctl_evtchn_restrict_domid { + domid_t domid; +}; + #endif /* __LINUX_PUBLIC_EVTCHN_H__ */ |