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: <20230327143733.14599-1-akinobu.mita@gmail.com>
Date:   Mon, 27 Mar 2023 23:37:31 +0900
From:   Akinobu Mita <akinobu.mita@...il.com>
To:     linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
        akpm@...ux-foundation.org, axboe@...nel.dk
Cc:     Akinobu Mita <akinobu.mita@...il.com>
Subject: [PATCH 0/2] block: null_blk: make fault-injection configurable via configfs

This patch set makes null_blk driver-specific fault-injection dynamically
configurable per device via configfs.

Since the null_blk driver supports configuration such as device creation
via configfs, it is natural to configure fault-injection via configfs as
well.

Currently, only the debugfs interface is provided for dynamically
configuring fault-injection, so this introduces a compatible interface via
configfs.

Akinobu Mita (2):
  fault-inject: allow configuration via configfs
  block: null_blk: make fault-injection dynamically configurable per
    device

 .../fault-injection/fault-injection.rst       |   8 +
 drivers/block/null_blk/Kconfig                |   2 +-
 drivers/block/null_blk/main.c                 |  93 +++++++--
 drivers/block/null_blk/null_blk.h             |   7 +-
 include/linux/fault-inject.h                  |  22 ++
 lib/Kconfig.debug                             |  13 +-
 lib/fault-inject.c                            | 191 ++++++++++++++++++
 7 files changed, 312 insertions(+), 24 deletions(-)

-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ