search for: vmci_datagram

Displaying 20 results from an estimated 56 matches for "vmci_datagram".

2012 Aug 30
0
[PATCH 02/11] vmci_datagram.patch: VMCI datagram entity handling.
Signed-off-by: George Zhang <georgezhang at vmware.com> --- drivers/misc/vmw_vmci/vmci_datagram.c | 583 +++++++++++++++++++++++++++++++++ drivers/misc/vmw_vmci/vmci_datagram.h | 55 +++ 2 files changed, 638 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_datagram.c create mode 100644 drivers/misc/vmw_vmci/vmci_datagram.h diff --git a/drivers/misc/vmw_vmci/vm...
2012 Aug 30
0
[PATCH 02/11] vmci_datagram.patch: VMCI datagram entity handling.
Signed-off-by: George Zhang <georgezhang at vmware.com> --- drivers/misc/vmw_vmci/vmci_datagram.c | 583 +++++++++++++++++++++++++++++++++ drivers/misc/vmw_vmci/vmci_datagram.h | 55 +++ 2 files changed, 638 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_datagram.c create mode 100644 drivers/misc/vmw_vmci/vmci_datagram.h diff --git a/drivers/misc/vmw_vmci/vm...
2015 Feb 15
1
vmci: read overrun bug in dg_dispatch_as_host() (drivers/misc/vmw_vmci/vmci_datagram.c)
Hello, Our UC-KLEE tool discovered a memcpy() read overrun bug in dg_dispatch_as_host() (drivers/misc/vmw_vmci/vmci_datagram.c). This bug may allow a malicious user to leak private kernel heap data across the VMware VMCI interface (in a nearly identical fashion to the OpenSSL Heartbleed vulnerability from 2014), but the impact is probably minimal since this interface is only used for local communication. The bug occurs...
2015 Feb 15
1
vmci: read overrun bug in dg_dispatch_as_host() (drivers/misc/vmw_vmci/vmci_datagram.c)
Hello, Our UC-KLEE tool discovered a memcpy() read overrun bug in dg_dispatch_as_host() (drivers/misc/vmw_vmci/vmci_datagram.c). This bug may allow a malicious user to leak private kernel heap data across the VMware VMCI interface (in a nearly identical fashion to the OpenSSL Heartbleed vulnerability from 2014), but the impact is probably minimal since this interface is only used for local communication. The bug occurs...
2012 Aug 30
0
[PATCH 11/11] vmci_headers.patch: VMCI kernel driver public API.
...e +# details. +# +# Maintained by: Andrew Stiegmann <pv-drivers at vmware.com> +# +################################################################################ + +# +# Makefile for the VMware VMCI +# + +obj-$(CONFIG_VMWARE_VMCI) += vmw_vmci.o + +vmw_vmci-y += vmci_context.o +vmw_vmci-y += vmci_datagram.o +vmw_vmci-y += vmci_doorbell.o +vmw_vmci-y += vmci_driver.o +vmw_vmci-y += vmci_event.o +vmw_vmci-y += vmci_handle_array.o +vmw_vmci-y += vmci_hash_table.o +vmw_vmci-y += vmci_queue_pair.o +vmw_vmci-y += vmci_resource.o +vmw_vmci-y += vmci_route.o + +vmci: + $(MAKE) -C ../../.. SUBDIRS=$$PW...
2012 Aug 30
0
[PATCH 11/11] vmci_headers.patch: VMCI kernel driver public API.
...e +# details. +# +# Maintained by: Andrew Stiegmann <pv-drivers at vmware.com> +# +################################################################################ + +# +# Makefile for the VMware VMCI +# + +obj-$(CONFIG_VMWARE_VMCI) += vmw_vmci.o + +vmw_vmci-y += vmci_context.o +vmw_vmci-y += vmci_datagram.o +vmw_vmci-y += vmci_doorbell.o +vmw_vmci-y += vmci_driver.o +vmw_vmci-y += vmci_event.o +vmw_vmci-y += vmci_handle_array.o +vmw_vmci-y += vmci_hash_table.o +vmw_vmci-y += vmci_queue_pair.o +vmw_vmci-y += vmci_resource.o +vmw_vmci-y += vmci_route.o + +vmci: + $(MAKE) -C ../../.. SUBDIRS=$$PW...
2012 Aug 30
1
[Pv-drivers] [vmw_vmci 00/11] VMCI driver for Linux
...ngle kernel module. For additional information about the use of VMCI and in particular VMCI Sockets, please refer to the VMCI Socket Programming Guide available at https://www.vmware.com/support/developer/vmci-sdk/. George Zhang (11): vmci_context.patch: VMCI context list operations. vmci_datagram.patch: VMCI datagram entity handling. vmci_doorbell.patch: VMCI doorbell notification handling. vmci_driver.patch: VMCI device driver. vmci_event.patch: VMCI kernel events handling. vmci_handle_array.patch: VMCI array of vmci_handle. vmci_hash_table.patch: VMCI hash ta...
2012 Aug 30
1
[Pv-drivers] [vmw_vmci 00/11] VMCI driver for Linux
...ngle kernel module. For additional information about the use of VMCI and in particular VMCI Sockets, please refer to the VMCI Socket Programming Guide available at https://www.vmware.com/support/developer/vmci-sdk/. George Zhang (11): vmci_context.patch: VMCI context list operations. vmci_datagram.patch: VMCI datagram entity handling. vmci_doorbell.patch: VMCI doorbell notification handling. vmci_driver.patch: VMCI device driver. vmci_event.patch: VMCI kernel events handling. vmci_handle_array.patch: VMCI array of vmci_handle. vmci_hash_table.patch: VMCI hash ta...
2012 Oct 30
29
[PATCH 00/12] VMCI for Linux upstreaming
...| 2 drivers/misc/vmw_vmci/Kconfig | 16 drivers/misc/vmw_vmci/Makefile | 43 drivers/misc/vmw_vmci/vmci_common_int.h | 34 drivers/misc/vmw_vmci/vmci_context.c | 1290 +++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 177 + drivers/misc/vmw_vmci/vmci_datagram.c | 520 ++++ drivers/misc/vmw_vmci/vmci_datagram.h | 55 drivers/misc/vmw_vmci/vmci_doorbell.c | 673 +++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 53 drivers/misc/vmw_vmci/vmci_driver.c | 159 + drivers/misc/vmw_vmci/vmci_driver.h | 50 drivers/misc/vmw_vmci/...
2012 Oct 30
29
[PATCH 00/12] VMCI for Linux upstreaming
...| 2 drivers/misc/vmw_vmci/Kconfig | 16 drivers/misc/vmw_vmci/Makefile | 43 drivers/misc/vmw_vmci/vmci_common_int.h | 34 drivers/misc/vmw_vmci/vmci_context.c | 1290 +++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 177 + drivers/misc/vmw_vmci/vmci_datagram.c | 520 ++++ drivers/misc/vmw_vmci/vmci_datagram.h | 55 drivers/misc/vmw_vmci/vmci_doorbell.c | 673 +++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 53 drivers/misc/vmw_vmci/vmci_driver.c | 159 + drivers/misc/vmw_vmci/vmci_driver.h | 50 drivers/misc/vmw_vmci/...
2012 Oct 16
11
[PATCH 00/10] VMCI for Linux upstreaming
...| 2 drivers/misc/vmw_vmci/Kconfig | 16 drivers/misc/vmw_vmci/Makefile | 41 drivers/misc/vmw_vmci/vmci_common_int.h | 34 drivers/misc/vmw_vmci/vmci_context.c | 1291 +++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 177 + drivers/misc/vmw_vmci/vmci_datagram.c | 522 ++++ drivers/misc/vmw_vmci/vmci_datagram.h | 55 drivers/misc/vmw_vmci/vmci_doorbell.c | 674 +++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 53 drivers/misc/vmw_vmci/vmci_driver.c | 2187 ++++++++++++++++++ drivers/misc/vmw_vmci/vmci_driver.h | 44 dr...
2012 Oct 16
11
[PATCH 00/10] VMCI for Linux upstreaming
...| 2 drivers/misc/vmw_vmci/Kconfig | 16 drivers/misc/vmw_vmci/Makefile | 41 drivers/misc/vmw_vmci/vmci_common_int.h | 34 drivers/misc/vmw_vmci/vmci_context.c | 1291 +++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 177 + drivers/misc/vmw_vmci/vmci_datagram.c | 522 ++++ drivers/misc/vmw_vmci/vmci_datagram.h | 55 drivers/misc/vmw_vmci/vmci_doorbell.c | 674 +++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 53 drivers/misc/vmw_vmci/vmci_driver.c | 2187 ++++++++++++++++++ drivers/misc/vmw_vmci/vmci_driver.h | 44 dr...
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
...| 1 drivers/misc/Makefile | 2 drivers/misc/vmw_vmci/Kconfig | 16 drivers/misc/vmw_vmci/Makefile | 4 drivers/misc/vmw_vmci/vmci_context.c | 1214 ++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 182 ++ drivers/misc/vmw_vmci/vmci_datagram.c | 500 ++++ drivers/misc/vmw_vmci/vmci_datagram.h | 52 drivers/misc/vmw_vmci/vmci_doorbell.c | 604 +++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 51 drivers/misc/vmw_vmci/vmci_driver.c | 117 + drivers/misc/vmw_vmci/vmci_driver.h | 50 drivers/misc/vmw_vm...
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
...| 1 drivers/misc/Makefile | 2 drivers/misc/vmw_vmci/Kconfig | 16 drivers/misc/vmw_vmci/Makefile | 4 drivers/misc/vmw_vmci/vmci_context.c | 1214 ++++++++++ drivers/misc/vmw_vmci/vmci_context.h | 182 ++ drivers/misc/vmw_vmci/vmci_datagram.c | 500 ++++ drivers/misc/vmw_vmci/vmci_datagram.h | 52 drivers/misc/vmw_vmci/vmci_doorbell.c | 604 +++++ drivers/misc/vmw_vmci/vmci_doorbell.h | 51 drivers/misc/vmw_vmci/vmci_driver.c | 117 + drivers/misc/vmw_vmci/vmci_driver.h | 50 drivers/misc/vmw_vm...
2012 Aug 30
1
[PATCH 04/11] vmci_driver.patch: VMCI device driver.
...; +#include <linux/pci.h> +#include <linux/smp.h> +#include <linux/fs.h> +#include <linux/io.h> + +#include "vmci_handle_array.h" +#include "vmci_common_int.h" +#include "vmci_hash_table.h" +#include "vmci_queue_pair.h" +#include "vmci_datagram.h" +#include "vmci_doorbell.h" +#include "vmci_resource.h" +#include "vmci_context.h" +#include "vmci_driver.h" +#include "vmci_event.h" + +#define VMCI_UTIL_NUM_RESOURCES 1 + +enum { + VMCI_NOTIFY_RESOURCE_QUEUE_PAIR = 0, + VMCI_NO...
2012 Aug 30
1
[PATCH 04/11] vmci_driver.patch: VMCI device driver.
...; +#include <linux/pci.h> +#include <linux/smp.h> +#include <linux/fs.h> +#include <linux/io.h> + +#include "vmci_handle_array.h" +#include "vmci_common_int.h" +#include "vmci_hash_table.h" +#include "vmci_queue_pair.h" +#include "vmci_datagram.h" +#include "vmci_doorbell.h" +#include "vmci_resource.h" +#include "vmci_context.h" +#include "vmci_driver.h" +#include "vmci_event.h" + +#define VMCI_UTIL_NUM_RESOURCES 1 + +enum { + VMCI_NOTIFY_RESOURCE_QUEUE_PAIR = 0, + VMCI_NO...
2012 Aug 30
0
[PATCH 03/11] vmci_doorbell.patch: VMCI doorbell notification handling.
...ense + * for more details. + */ + +#include <linux/vmw_vmci_defs.h> +#include <linux/vmw_vmci_api.h> +#include <linux/kernel.h> +#include <linux/module.h> +#include <linux/sched.h> +#include <linux/slab.h> + +#include "vmci_common_int.h" +#include "vmci_datagram.h" +#include "vmci_doorbell.h" +#include "vmci_resource.h" +#include "vmci_driver.h" +#include "vmci_route.h" + +#define VMCI_DOORBELL_INDEX_TABLE_SIZE (1 << 6) +#define VMCI_DOORBELL_HASH(_idx) \ + vmci_hash_cal...
2012 Aug 30
0
[PATCH 03/11] vmci_doorbell.patch: VMCI doorbell notification handling.
...ense + * for more details. + */ + +#include <linux/vmw_vmci_defs.h> +#include <linux/vmw_vmci_api.h> +#include <linux/kernel.h> +#include <linux/module.h> +#include <linux/sched.h> +#include <linux/slab.h> + +#include "vmci_common_int.h" +#include "vmci_datagram.h" +#include "vmci_doorbell.h" +#include "vmci_resource.h" +#include "vmci_driver.h" +#include "vmci_route.h" + +#define VMCI_DOORBELL_INDEX_TABLE_SIZE (1 << 6) +#define VMCI_DOORBELL_HASH(_idx) \ + vmci_hash_cal...
2012 Aug 30
2
[PATCH 01/11] vmci_context.patch: VMCI context list operations.
...+#include <linux/vmw_vmci_api.h> +#include <linux/highmem.h> +#include <linux/kernel.h> +#include <linux/module.h> +#include <linux/sched.h> +#include <linux/slab.h> + +#include "vmci_common_int.h" +#include "vmci_queue_pair.h" +#include "vmci_datagram.h" +#include "vmci_doorbell.h" +#include "vmci_context.h" +#include "vmci_driver.h" +#include "vmci_event.h" + +/* + * List of current VMCI contexts. + */ +static struct { + struct list_head head; + spinlock_t lock; /* Spinlock for context li...
2012 Aug 30
2
[PATCH 01/11] vmci_context.patch: VMCI context list operations.
...+#include <linux/vmw_vmci_api.h> +#include <linux/highmem.h> +#include <linux/kernel.h> +#include <linux/module.h> +#include <linux/sched.h> +#include <linux/slab.h> + +#include "vmci_common_int.h" +#include "vmci_queue_pair.h" +#include "vmci_datagram.h" +#include "vmci_doorbell.h" +#include "vmci_context.h" +#include "vmci_driver.h" +#include "vmci_event.h" + +/* + * List of current VMCI contexts. + */ +static struct { + struct list_head head; + spinlock_t lock; /* Spinlock for context li...