tmp_suning_uos_patched/include/uapi/scsi
Matthew R. Ochs cd34af40a0 scsi: cxlflash: Transition to application close model
Caching the adapter file descriptor and performing a close on behalf of
an application is a poor design. This is due to the fact that once a
file descriptor in installed, it is free to be altered without the
knowledge of the cxlflash driver. This can lead to inconsistencies
between the application and kernel. Furthermore, the nature of the
former design is more exploitable and thus should be abandoned.

To support applications performing a close on the adapter file that is
associated with a context, a new flag is introduced to the user API to
indicate to applications that they are responsible for the close
following the cleanup (detach) of a context. The documentation is also
updated to reflect this change in behavior.

Inspired-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Acked-by: Manoj N. Kumar <manoj@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-08-23 22:23:41 -04:00
..
fc UAPI: (Scripted) Disintegrate include/scsi/fc 2013-01-07 14:58:36 -08:00
cxlflash_ioctl.h scsi: cxlflash: Transition to application close model 2016-08-23 22:23:41 -04:00
Kbuild cxlflash: Superpipe support 2015-08-26 18:04:37 -07:00
scsi_bsg_fc.h
scsi_netlink_fc.h
scsi_netlink.h