nvdimm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Dave Jiang <dave.jiang@intel.com>
To: vishal.l.verma@intel.com
Cc: linux-nvdimm@lists.01.org
Subject: [PATCH v2 0/6] ndctl: add security support
Date: Fri, 27 Jul 2018 15:01:58 -0700	[thread overview]
Message-ID: <153272888859.12034.12514972515977309760.stgit@djiang5-desk3.ch.intel.com> (raw)

The following series implements mechanisms that utilize the sysfs knobs
provided by the kernel in order to support the Intel DSM v1.7 spec
that provides security to NVDIMM. The following abilities are added:
1. display security state
2. update security
3. disable security
4. freeze security
5. secure erase

Also a reference helper app is provided to retrieve security information
through the keyutils and kernel key management API.

v2:
- Fixup the upcall util to match recent kernel updates for nvdimm security.

---

Dave Jiang (6):
      ndctl: add support for display security state
      ndctl: add update to security support
      ndctl: add disable security support
      ndctl: add support for freeze security
      ndctl: add support for secure erase
      ndctl: add request-key upcall reference app


 Documentation/ndctl/Makefile.am                |    7 +
 Documentation/ndctl/ndctl-disable-security.txt |   21 ++++
 Documentation/ndctl/ndctl-freeze-security.txt  |   21 ++++
 Documentation/ndctl/ndctl-list.txt             |    8 +
 Documentation/ndctl/ndctl-secure-erase.txt     |   21 ++++
 Documentation/ndctl/ndctl-update-security.txt  |   21 ++++
 Documentation/ndctl/nvdimm-upcall.txt          |   33 ++++++
 builtin.h                                      |    4 +
 configure.ac                                   |    1 
 ndctl.spec.in                                  |    2 
 ndctl/Makefile.am                              |    5 +
 ndctl/dimm.c                                   |   87 +++++++++++++++
 ndctl/lib/dimm.c                               |   51 +++++++++
 ndctl/lib/libndctl.sym                         |    5 +
 ndctl/libndctl.h                               |    5 +
 ndctl/ndctl.c                                  |    4 +
 ndctl/nvdimm-upcall.c                          |  138 ++++++++++++++++++++++++
 util/json.c                                    |    8 +
 18 files changed, 441 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/ndctl/ndctl-disable-security.txt
 create mode 100644 Documentation/ndctl/ndctl-freeze-security.txt
 create mode 100644 Documentation/ndctl/ndctl-secure-erase.txt
 create mode 100644 Documentation/ndctl/ndctl-update-security.txt
 create mode 100644 Documentation/ndctl/nvdimm-upcall.txt
 create mode 100644 ndctl/nvdimm-upcall.c

--
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

             reply	other threads:[~2018-07-27 22:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-27 22:01 Dave Jiang [this message]
2018-07-27 22:02 ` [PATCH v2 1/6] ndctl: add support for display security state Dave Jiang
2018-07-27 22:02 ` [PATCH v2 2/6] ndctl: add update to security support Dave Jiang
2018-07-27 22:02 ` [PATCH v2 3/6] ndctl: add disable " Dave Jiang
2018-07-27 22:02 ` [PATCH v2 4/6] ndctl: add support for freeze security Dave Jiang
2018-07-27 22:02 ` [PATCH v2 5/6] ndctl: add support for secure erase Dave Jiang
2018-07-27 22:02 ` [PATCH v2 6/6] ndctl: add request-key upcall reference app Dave Jiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=153272888859.12034.12514972515977309760.stgit@djiang5-desk3.ch.intel.com \
    --to=dave.jiang@intel.com \
    --cc=linux-nvdimm@lists.01.org \
    --cc=vishal.l.verma@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).