diff options
author | Chris Leech <cleech@redhat.com> | 2021-02-24 05:00:17 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-03-05 04:09:51 +0300 |
commit | ec98ea7070e94cc25a422ec97d1421e28d97b7ee (patch) | |
tree | 39c3f50de2f62f1f178d0674fb33e2fa95aad521 /drivers/scsi/sym53c8xx_2 | |
parent | 688e8128b7a92df982709a4137ea4588d16f24aa (diff) | |
download | linux-ec98ea7070e94cc25a422ec97d1421e28d97b7ee.tar.xz |
scsi: iscsi: Ensure sysfs attributes are limited to PAGE_SIZE
As the iSCSI parameters are exported back through sysfs, it should be
enforcing that they never are more than PAGE_SIZE (which should be more
than enough) before accepting updates through netlink.
Change all iSCSI sysfs attributes to use sysfs_emit().
Cc: stable@vger.kernel.org
Reported-by: Adam Nichols <adam@grimm-co.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Chris Leech <cleech@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2')
0 files changed, 0 insertions, 0 deletions