Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ v5 0/2] mesh: node dir Restructure, and keyring
@ 2019-05-09 17:57 Brian Gix
  2019-05-09 17:57 ` [PATCH BlueZ v5 1/2] mesh: Reconfigure node storage tree Brian Gix
  2019-05-09 17:57 ` [PATCH BlueZ v5 2/2] mesh: Add key storage Brian Gix
  0 siblings, 2 replies; 4+ messages in thread
From: Brian Gix @ 2019-05-09 17:57 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: inga.stotland, brian.gix

This version 5 of the keyring has been restructured to separate the
node filesystem rework for the keyring that requires it.

See the mesh/README file for the new directory layout of the node. Instead
runtime saving of full path of the node.json file, we save it's base path,
and use that to construct all the paths needed in realtime.  We also have
changed ownership of this path to node.c, and when we remove the node, we
recursively delete everything its entire tree.

Brian Gix (2):
  mesh: Reconfigure node storage tree
  mesh: Add key storage

 Makefile.mesh  |   1 +
 mesh/README    |  34 ++++++-
 mesh/keyring.c | 297 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 mesh/keyring.h |  49 ++++++++++
 mesh/node.c    |  16 ++--
 mesh/node.h    |   4 +-
 mesh/storage.c | 144 +++++++++++++++++-----------
 7 files changed, 478 insertions(+), 67 deletions(-)
 create mode 100644 mesh/keyring.c
 create mode 100644 mesh/keyring.h

-- 
2.14.5


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-05-09 19:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-09 17:57 [PATCH BlueZ v5 0/2] mesh: node dir Restructure, and keyring Brian Gix
2019-05-09 17:57 ` [PATCH BlueZ v5 1/2] mesh: Reconfigure node storage tree Brian Gix
2019-05-09 17:57 ` [PATCH BlueZ v5 2/2] mesh: Add key storage Brian Gix
2019-05-09 19:11   ` Michał Lowas-Rzechonek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox