mbox series

[0/3] Validation for names during creation

Message ID 20221221115019.26276-1-mariusz.tkaczyk@linux.intel.com (mailing list archive)
Headers show
Series Validation for names during creation | expand

Message

Mariusz Tkaczyk Dec. 21, 2022, 11:50 a.m. UTC
Hi Jes, Coly
Mdadm has to weak names policy and it is inconsistency with udev.
From IMSM side it also causes problem with VROC UEFI driver.

There is a small risk of regression because print_escape() is removed.
I think that these cases are incidental and can be fixed by updating
array name. All test passed.

Mariusz Tkaczyk (3):
  mdadm: create ident_init()
  mdadm: refactor ident->name handling
  Limit length and set of characters allowed of devname

 Detail.c        |  8 ++---
 config.c        | 81 ++++++++++++++++++++++++++++++++++---------------
 lib.c           | 80 +++++++++++++++++++++++++++++++++++++++---------
 mdadm.8.in      | 57 +++++++++++++++++-----------------
 mdadm.c         | 32 ++++---------------
 mdadm.conf.5.in |  4 ---
 mdadm.h         | 32 +++++++++++++------
 super-intel.c   | 25 +++++----------
 super1.c        |  3 +-
 util.c          | 24 +++++++++++++++
 10 files changed, 212 insertions(+), 134 deletions(-)