lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 21 Dec 2016 16:27:15 -0700
From:   Alex Williamson <alex.williamson@...hat.com>
To:     alex.williamson@...hat.com
Cc:     linux-kernel@...r.kernel.org, kvm@...r.kernel.org
Subject: [PATCH 0/4] vfio-mdev: Clean namespace and better define ABI

Cleanup the namespace a bit by prefixing structures with mdev_ and
also more concretely define the mdev interface.  Structs with comments
defining which fields are private vs public tempts poor behavior,
especially for an interface where we expect out of tree vendor drivers.
Thanks,

Alex

---

Alex Williamson (4):
      vfio-mdev: Remove an unused structure element
      vfio-mdev: de-polute the namespace, rename parent_device & parent_ops
      vfio-mdev: Make mdev_parent private
      vfio-mdev: Make mdev_device private and abstract interfaces


 drivers/gpu/drm/i915/gvt/kvmgt.c |   22 +++++++------
 drivers/vfio/mdev/mdev_core.c    |   64 ++++++++++++++++++++++++++++++--------
 drivers/vfio/mdev/mdev_private.h |   28 +++++++++++++++--
 drivers/vfio/mdev/mdev_sysfs.c   |    8 ++---
 drivers/vfio/mdev/vfio_mdev.c    |   12 ++++---
 include/linux/mdev.h             |   54 +++++++-------------------------
 samples/vfio-mdev/mtty.c         |   28 +++++++++--------
 7 files changed, 123 insertions(+), 93 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ