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]
Message-ID: <1430348859.2189.37.camel@HansenPartnership.com>
Date:	Wed, 29 Apr 2015 16:07:39 -0700
From:	James Bottomley <James.Bottomley@...senPartnership.com>
To:	linux-efi@...r.kernel.org
Cc:	"Kweh, Hock Leong" <hock.leong.kweh@...el.com>,
	LKML <linux-kernel@...r.kernel.org>,
	Andy Lutomirski <luto@...capital.net>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Peter Jones <pjones@...hat.com>
Subject: [RFC 0/3] Add capsule update using error on close semantics

This is a straw man implementation.  The three patches firstly thread
the needed ->flush() file op through sysfs and kernfs.  The next one
extracts transaction buffer handling from firmware_class.c and makes it
generic in a lib helper and the third patch adds a bare bones capsule
update (I suspect the latter needs more work, since it doesn't implement
the scatterlist).

James Bottomley (3):
  sysfs,kernfs: add flush operation
  firmware_class: split out transaction helpers
  efi: add capsule update capability via sysfs

 drivers/base/firmware_class.c      | 117 ++++---------------------------
 drivers/firmware/efi/Makefile      |   2 +-
 drivers/firmware/efi/capsule.c     |  78 +++++++++++++++++++++
 drivers/firmware/efi/capsule.h     |   2 +
 drivers/firmware/efi/efi.c         |   8 +++
 fs/kernfs/file.c                   |  16 +++++
 fs/sysfs/file.c                    |  16 +++++
 include/linux/kernfs.h             |   2 +
 include/linux/sysfs.h              |   2 +
 include/linux/transaction_helper.h |  26 +++++++
 lib/Makefile                       |   2 +-
 lib/transaction_helper.c           | 137 +++++++++++++++++++++++++++++++++++++
 12 files changed, 304 insertions(+), 104 deletions(-)
 create mode 100644 drivers/firmware/efi/capsule.c
 create mode 100644 drivers/firmware/efi/capsule.h
 create mode 100644 include/linux/transaction_helper.h
 create mode 100644 lib/transaction_helper.c

James

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ