mbox series

[0/3] target: iscsi: control authentication per ACL

Message ID 20210914100314.492-1-d.bogdanov@yadro.com (mailing list archive)
Headers show
Series target: iscsi: control authentication per ACL | expand

Message

Dmitry Bogdanov Sept. 14, 2021, 10:03 a.m. UTC
Add acls/{ACL}/attrib/authentication attribute that controls authentication
for the particular ACL. By default, this attribute inherits a value of
authentication attribute of the target port group to keep a backward
compatibility.

authentication attribute has 3 states:
"0" - authentication is turned off for this ACL
"1" - authentication is required for this ACL
"" - authentication is inherited from TPG

This patchset is intended for scsi-queue.

Dmitry Bogdanov (3):
  scsi: target: iscsi: Add upcast helpers
  scsi: target: iscsi: extract auth functions
  target: iscsi: control authentication per ACL

 drivers/target/iscsi/iscsi_target_configfs.c  | 126 ++++++++-------
 drivers/target/iscsi/iscsi_target_nego.c      | 148 ++++++++++++------
 .../target/iscsi/iscsi_target_nodeattrib.c    |   1 +
 drivers/target/iscsi/iscsi_target_tpg.c       |   3 +-
 include/target/iscsi/iscsi_target_core.h      |  14 ++
 5 files changed, 186 insertions(+), 106 deletions(-)