diff options
| author | Chris Leech <[email protected]> | 2021-02-24 02:00:17 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-03-05 01:09:51 +0000 |
| commit | ec98ea7070e94cc25a422ec97d1421e28d97b7ee (patch) | |
| tree | 39c3f50de2f62f1f178d0674fb33e2fa95aad521 /scripts/gcc-plugins/structleak_plugin.c | |
| parent | scsi: iscsi: Restrict sessions and handles to admin capabilities (diff) | |
| download | kernel-ec98ea7070e94cc25a422ec97d1421e28d97b7ee.tar.gz kernel-ec98ea7070e94cc25a422ec97d1421e28d97b7ee.zip | |
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: [email protected]
Reported-by: Adam Nichols <[email protected]>
Reviewed-by: Lee Duncan <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: Chris Leech <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions
